Okay, yes that was a very basic syntax problem!  It works perfectly now,
thanks for the help; this will also help for prompting the user for other
values.  If you don't mind I would like to ask a high level question:

For my next project I am going to have more UI functionality for selecting
web sites.  I would like to have a pulldown control that scans the target
machine for the available web sites and allows the user to select one.  The
custom functionality would then install the new web app under this site. 
Does wix already have this functionality or would I have to plug in a custom
dll that would talk to IIS?



Eitan Behar-3 wrote:
> 
> You have missing []: 
> 
>     <Property Id="WEBSITEIP" Value="*"/>
>     <Property Id="WEBSITEPORT" Value="90"/>
> 
>     <iis:WebSite Id='BuildAutomationWebSite'
> Description='BuildAutomation'>
>       <iis:WebAddress Id='AllUnassigned' Port="[WEBSITEPORT]"
> IP="[WEBSITEIP]"/>
>     </iis:WebSite>
> 
> 
> -----Original Message-----
> From: ultraplop [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 05, 2008 4:56 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Problem setting dynamic values for website
> 
> 
> Hello,
> 
> I am a new wix user and I am creating an installer for a web application. 
> One requirement is that the installer should allow the web app to be
> installed to any website specified.  In my first iteration of the
> installer
> I am just going to have text boxes that allow for the user to enter IP and
> port of their target website..  (Eventually I would like to create a UI
> dialog that allows the user to select from a pulldown similar to the VS
> web
> setup project)
> 
> In any case Wix is not accepting variables.  Sample A has hardcoded values
> and works just fine.  Sample B returns an error during install that it
> can't
> read the IISwebsite table.  Also, I have customized the UI so that those
> properties are populated as the default text in my UI text boxes.  I do in
> fact see the proper values during the install, however Wix is clearly not
> using them.  The intention is that the user could type over the values to
> input thier own and install the application anywhere they want.
> 
> This could be something very simple that I am missing, but I can't find
> any
> examples anywhere that handle websites in a dynamic fashion.  Can anyone
> let
> me know why sample A works, but sample B does not?
> 
> Thanks
> 
> 
> Sample A (Works)
> 
>     <iis:WebSite Id='BuildAutomationWebSite'
> Description='BuildAutomation'>
>       <iis:WebAddress Id='AllUnassigned' Port="90" IP="*" />
>     </iis:WebSite>
> 
> Sample B (Does not work)
> 
>     <Property Id="WEBSITEIP" Value="*"/>
>     <Property Id="WEBSITEPORT" Value="90"/>
> 
>     <iis:WebSite Id='BuildAutomationWebSite'
> Description='BuildAutomation'>
>       <iis:WebAddress Id='AllUnassigned' Port="WEBSITEPORT" IP="WEBSITEIP"
> />
>     </iis:WebSite>
> -- 
> View this message in context:
> http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p16
> 18681.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> ----------------------------------------------------------------------------
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p1619008.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to