I do use a custom dialog to present the Web Site, IP address and TCP
Port and then use a custom action to validate what the user provides. If
it is all correct then the install proceeds and I use the Port Number
just as you describe in your reply. I default the TCP Port to 80, but
they are welcome to override it on a clean install and I store the value
so on an upgrade I can present them with what they used during the clean
install. Of course, if they changed it they can override what I display
and type in the correct value. If they aren't sure of the value it's
simple enough to pop open IIS Manager and gather what they need to
complete the install.

-----Original Message-----
From: pmdarrow [mailto:pdar...@metaworks.com] 
Sent: Tuesday, January 26, 2010 12:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get full URL to IIS virtual directory


I considering going that route but what if the user selects a website
that is
set to run on port 81 for instance? Then http://[ComputerName]/[Vdir]
won't
work. I need to get the port number and do something like
http://[ComputerName]:[PortNum]/[Vdir] but I don't know how to get it
(unless of course I write a custom action.)
-- 
View this message in context:
http://n2.nabble.com/Get-full-URL-to-IIS-virtual-directory-tp4462298p446
3238.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term
contracts
Personal 24x7 support from experience hosting pros just a phone call
away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to