Hi Sandun, You can use preprocessor defines: <?define MyVariable="value" ?>
To place that value somewhere type "$(var.MyVariable)". Robert > -----Original Message----- > From: sandun css [mailto:sandun...@gmail.com] > Sent: Wednesday, February 25, 2009 9:59 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Define constants > > Hi, > > I need to use a certain value in multiple places of the WiX code. > Therefore, > when that value gets changed, I have to do that change in many places. > > Is there a way that I can define constant variables kind of thing? > > I think using the 'Property' element is not suitable here, since > Property > values can be set from the commanline installation as well. (i.e. > msiexec /i > setup.msi MyProperty=some value) > > Please advice. > > Thanks, > Sandun > ----------------------------------------------------------------------- > ------- > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users