Well, I was able to get it to work by linking in the Wix utility library and
using the MetaFindWebBase function to find the website in my custom DLL, but
I'd be happy to try to implement an enhancement to the Website element and
custom action code. Since I'm not a member developer, what's the best way for
me to submit a code change?
John
From: Rob Mensching
Sent: Tuesday, September 11, 2007 12:27 PM
To: John Hancock (HSG); wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: RE: IIS Metabase locator for installed website?
Two options:
1. Enhance the existing custom actions to support this scenario. (the ideal,
especially if you are willing to sign the assignment agreement and send your
code in).
2. Reimplement the code to find a web site that is found in the custom
actions, deferred, after the ConfigureIIs custom action has completed.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hancock
(HSG)
Sent: Friday, September 07, 2007 11:31
To: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: [WiX-devs] IIS Metabase locator for installed website?
When a website is installed through Wix, is there a way to get the metabase
ID/location string if I need to write additional properties to the metabase for
the installed website through a custom action at the end of the install?
For example, let's say my new website is the 2nd website on the server, and so
gets written to location /W3SVC/2
Is there a way for me to find out that the website was put in slot "2" (other
than running a search for the name of the site or its connection parameters or
something like that)? If not, could that functionality be added, perhaps via
writing to a property specified in the WebSite Element?
The reason I'm looking for this is that I'm trying to have an installer allow
the user to select a SSL certificate for a website from a certificate store UI
rather than installing it from a file...
Thanks for any info!
John
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users