Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-10 Thread Matt Walker
New test code. Dim iisRoot As DirectoryEntry = New DirectoryEntry("IIS://localhost/W3SVC") For Each webSite As DirectoryEntry In iisRoot.Children MsgBox("HI") Next Produces the following exception with detail. System.Runtime.InteropServices.COMException was unhandled by user c

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
Trying to code the site name grab now, but whatever I try I receive an "Unknown error (0x80005000). Here's the most recent code I've tried.. Try Dim deIIS As New DirectoryEntry("IIS://localhost/W3SVC") deIIS = New DirectoryEntry("IIS://localhost/W3SVC") For Each site As Direc

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
One more thing I noticed, session.log statements are not reflected when I generate a log from the command line. Where should I be seeing these log status messages? From: Matt Walker [mailto:mawa...@rcn.com] Sent: Tuesday, August 09, 2011 11:44 AM To: 'wix-users@lists.sourceforge.net' Subject:

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
I think I may have found some of my problem. I didn't have _ above the function I send earlier. Also, in my query I had 'ListBox' instead of `ListBox`. So, after making the above changes I can see my array element values in the list box. Now it's off to cycling through the web sites t

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-09 Thread Matt Walker
Thanks for the replies so far as they've been helpful (I think). Here's my VB.Net Code, but its blowing up with a 1723 Error. The action is schedule as Immediate Execution. Public Shared Function GetSites(ByVal session As Session) As ActionResult Dim recListBox As Record

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-08 Thread John Robbins
Message- From: Matt Walker [mailto:mawa...@rcn.com] Sent: Monday, August 08, 2011 1:07 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project... I don't know if I'm on the right path, but maybe someone can he

Re: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-08 Thread Castro, Edwin G. (Hillsboro)
ists.sourceforge.net > Subject: [WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action > Project... > > I don't know if I'm on the right path, but maybe someone can help me. > I'm > > currently using InstallShield, but have dabbled in WiX a

[WiX-users] Populating a ListBox At Runtime - VB.NET Custom Action Project...

2011-08-08 Thread Matt Walker
I don't know if I'm on the right path, but maybe someone can help me. I'm currently using InstallShield, but have dabbled in WiX a bit. I'm trying to creat a custom action using the WiX VB.NET custom action project type in VS 2010. Eventually this custom action will query the tar