Problem with (unwanted) localized Set Variable statements
Posted: Wed Jan 11, 2006 8:05 am
Hi! I have a problem with localized Set Variable statements that assign compiler variables to script variables, like...
Set Variable VERSION to #VERSION#
Set Variable PRODUCTSTATE to #PRODUCTSTATE#
We set these compiler variables (#VERSION# and #PRODUCTSTATE#) from command line when building the setup on our build machine. This enables us to change the product version with each build automatically.
This worked fine until I have started to translate the project. After enabling multi-language support for my project the script variables no longer contains the values provided by command line, instead they contain "#VERSION#" and "#PRODUCTSTATE#". I suggest that's because the Set Variable statements were localized, too.
And here are my questions: Is there a way to tell InstallAware to do not localize these Set Variable statements? Or, What can I do else? Is there another trick to change product version from command line at build time?
Thanks,
A happy InstallShield-to-InstallAware-Switched User
Set Variable VERSION to #VERSION#
Set Variable PRODUCTSTATE to #PRODUCTSTATE#
We set these compiler variables (#VERSION# and #PRODUCTSTATE#) from command line when building the setup on our build machine. This enables us to change the product version with each build automatically.
This worked fine until I have started to translate the project. After enabling multi-language support for my project the script variables no longer contains the values provided by command line, instead they contain "#VERSION#" and "#PRODUCTSTATE#". I suggest that's because the Set Variable statements were localized, too.
And here are my questions: Is there a way to tell InstallAware to do not localize these Set Variable statements? Or, What can I do else? Is there another trick to change product version from command line at build time?
Thanks,
A happy InstallShield-to-InstallAware-Switched User
