Hi Matt, Thanks for the answer. If I am seeing it right, I have to use first the ENUM Parameter to find out how many Sites are hosted on this IIS and after that I have to parse for each Site the Server Comment parameter. But even if I can realize this I am not able to use Custom Action vbscript because I do not knot how it works :( I think it could be a solution but i do not think that I can get it work. Perhaps you can show me what I have to do.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:58 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory I recalled what the script was - adsutil.vbs - see this for more info http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true Matt Thompson PERSHING Tel: 020 7864 8000 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] shing.co.uk Sent by: To wix-users-bounces "[EMAIL PROTECTED]" @lists.sourceforg <[EMAIL PROTECTED]> e.net cc [EMAIL PROTECTED] .net, 25/09/2007 12:18 "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> Subject Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory Off the top of my head I'm not sure exactly how you'd do this but I've got some experience scripting IIS so thought I'd reply. There's a VBScript with the IIS resource kit that can be used to query the Metabase - maybe you could borrow the code from that, for a custom action, to enumerate the websites available and put them in a drop down? Matt Thompson PERSHING Tel: 020 7864 8000 Email: [EMAIL PROTECTED] "[EMAIL PROTECTED] .cz" <[EMAIL PROTECTED] To .cz> "wix-users@lists.sourceforge.net" Sent by: <wix-users@lists.sourceforge.net> wix-users-bounces cc @lists.sourceforg e.net Subject Re: [WiX-users] choosing Website (not Webserver) and changing 25/09/2007 12:02 Virtual Directory I feel so sorry for this post. On Czech Windows you can create so called „webovy server“ and it seems to be the wrong translation because I have seen an English system now and there you create Website. Thats what I wanted to know, how I could choose from the installed Websites on the system, where it has to deploy the webapplication. I can not find an action or something else to read this out. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, September 24, 2007 1:50 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] choosing Webserver and changing Virtual Directory Hi all, I am searching a posibility how I could let the customer choose the webserver (like in the Visual Studio WebSetup) and to change the Virtual Directory. I think changing the Virtual Directory should not be a big problem, just adding a Textbox and triggering a custom action setting the property of the Virtual directory new. But how can I gain access to the webserver list so that I can choose one and how can I tell Wix that it should use this Webserver? Greets Peter ------------------------------------------------------------------------- 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 ************************************************************************ ************************************************************************ Pershing Email Disclaimer: Pershing Securities Limited, registered in England number 2474912, is authorised and regulated by the Financial Services Authority and is a member of the London Stock Exchange. Registered address: Capstan House, One Clove Crescent, East India Dock, London E14 2BH. Pershing Limited, registered in England number 2072264, is authorised and regulated by the Financial Services Authority and is a member of the London Stock Exchange. Registered address: Capstan House, One Clove Crescent, East India Dock, London E14 2BH. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mis-transmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Both Pershing Limited and Pershing Securities Limited reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. E-mail will be archived for at least three years and may be produced to regulatory agencies or others with a legal right to access such information ************************************************************************ ************************************************************************ ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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