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
Matt:
I just posted some code to do what you currently want to do. It also
has code to do what you are wanting to do next. :-)
I have just posted the custom action code (C# - not VB sorry). I also
have dialogs and a complete WiX based UI to go with it, should you want
to use it.
This code chec
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
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:
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
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
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
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
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
9 matches
Mail list logo