Hi,
I have my version number hardcoded in multiple locations throughout my
wxs file eg
<Product Name='Matador 2.1.1' Version='2.1.1.0' Manufacturer='FBBT
Limited' Id='F5E0DFC0-7086-49a7-B068-DAB66E84A0BC' Language='1033'
UpgradeCode='080075AA-7BEA-46f6-A4A9-96C7279C4F92' Codepage='1252'>
<Package Comments='Matador is a registered trademark of FBBT Ltd.'
Compressed='yes' Description='Matador 2.1.1 installer'
InstallerVersion='211' Keywords='Matador 2.1.1 installer'
Languages='1033' Manufacturer='FBBT Limited' SummaryCodepage='1252' />
Is it possible for me to parameterise this, something along the lines of
eg
<Property Id='MatadorVersionNumber' Value='2.3'/>
<Feature Id='CompleteFeature' Title='Matador [MatadorVersionNumber]'
Description='Matador [MatadorVersionNumber]' Display='expand' Level='1'
ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
InstallDefault='local' Absent='disallow'>
<Feature Id='MainProgram' Title='Matador [MatadorVersionNumber] Runtime'
Description='Setup files necessary for Matador [MatadorVersionNumber]'
Level='1' AllowAdvertise='no' InstallDefault='local' Absent='disallow'>
By the way, the code above works for the Description fields but NOT for
the Title fields :(
Or is there a better way that people do this?
Thanks for any help,
Patrick
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users