That should work.  However, only upper-case Properties can be specified from 
the command-line.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
Gopinath
Sent: Sunday, January 14, 2007 11:11 AM
To: [email protected]
Subject: [WiX-users] Setting Port value through property...

I need to set the "Port" and "description" value of a website based on user's 
input. I am trying to use a property, but the install fails. If I was using a 
CustomTable, I could have used "session.FormatString" method. However, since 
this is a wix defined table, I am not sure how to tell it to format it. Is 
there any other way of achieving the same result?

    <iis:WebSite
        Id="MyWebServer"
        Directory="C:\MyApp"
        Description="[SITENAMEPROPERTY]">
        <iis:WebAddress Id="SitePort" Port="[WebSitePort]" />
    </iis:WebSite>

Thanks
Ravi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to