Define your directory like this: <Directory Id="WEBSITEDIRNAME">
And don't create a property for WEBSITEDIRNAME. Essentially all directory ids behave like properties. Since you need to change the directory with a control that requires a public property so the directory id must be all uppercase. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: b.p.fal...@accenture.com [mailto:b.p.fal...@accenture.com] > Sent: Tuesday, April 24, 2012 9:28 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Using property when creating directory > > I have a property bound to control, named WEBSITEDIRNAME, and I would like > to use the value when creating a <Directory Id="WebSiteDirNameId"> instead > of static Name value. > > Regards, > > Benjamin Fallar III | Microsoft Developer Lead Avanade Software & Cloud > Services (ASCS) Accenture | Manila > > > "Plan Ahead. Be Ahead. Plan BCM." > > www.accenture.com > > > ________________________________ > Subject to local law, communications with Accenture and its affiliates > including > telephone calls and emails (including content), may be monitored by our > systems for the purposes of security and the assessment of internal compliance > with Accenture policy. > ________________________________________________________________ > ______________________ > > www.accenture.com > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users