Page 1 of 1

Project Properties Variables

Posted: Tue Jul 04, 2006 8:53 am
by dtentori
Hi, is it possible to use variables into "Project Properties/Product Version" field?

I set some variables like:

Set Variable V1 to 2
Set Variable R1 to 1
Set Variable B1 to 15

and I'd like to use them into "Product Version" field but I get various error during install: it seems InstallAware doesn't substitute variables.
I use that variables also for other purposes and everything works fine.

bye
Davide

Posted: Tue Jul 04, 2006 9:04 am
by Ton_B
Hi Davide,

I'd had the same problem.
Unfortuanally i did not found the solution.
See these topics:

http://www.installaware.com/forum/viewtopic.php?t=521
and
http://www.installaware.com/forum/viewtopic.php?p=3002&highlight=#3002

Posted: Tue Jul 04, 2006 10:19 am
by Tinus
Hi,

you can use compiler variables for product version. Simply define a compiler variable like VERS in Project/Options
and use #VERS# to dereference it.
The IDE gives you a warning that you can only enter numbers and periods for product version. Ignore it.
In the same way you can set product name to "My product #VERS#" or assign a variable.