Thanks for that! I defined some variables at the top of my file like so:
 
<?define MatadorVersionNumberExternal=2.3 ?>
<?define MatadorVersionNumberInstaller=230 ?>

...

<Package Comments='Matador is a registered trademark of FBBT Limited'
Compressed='yes' Description='Matador
$(var.MatadorVersionNumberExternal) installer'
InstallerVersion='$(var.MatadorVersionNumberInstaller)'
Keywords='Matador $(var.MatadorVersionNumberExternal) installer'
Languages='1033' Manufacturer='FBBT Limited' SummaryCodepage='1252' />

 

This works fine in all but one location. The Package InstallerVersion
variable will complain that the attribute is invalid, as it expects a
valid integer value. Any sugestions please short of hardcoding it?

Thanks,

Patrick


________________________________

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 02 July 2007 16:30
To: John Vottero
Cc: Patrick Steele; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] version numbering


John Vottero wrote: 

        We use environment variables, like this:

        

        ...Name="JAMS Version $(env.Version)" Version="$(env.Version)"


You can also use preprocessor variables passed in on the command line
using $(var.name) syntax.

-- 
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
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

Reply via email to