Hi!
I have a problem that I was hoping someone could help me with. We have a piece of software that install with some small variations (different database and such) that we now would like to be able to install side by side. I'm assuming this means we need different product codes for each variation. I would like to set it on the command line, we do this with the version already. So, I tried setting the code to #PRODUCTCODE# in the designer and then set it on the command line but it doesn't work. The installation start but is ended before finished. Am I on the right track here or how would I go about to do this or something to this effect?
TIA,
Martin
Change Product code on command line
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Change Product code on command line
PRODUCTCODE cannot be assigned at setup runtime. This must be defined at COMPILE-TIME.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10734
https://www.installaware.com/forums/viewtopic.php?f=2&t=9883
It's not reccomended, but you may eventually define a CUSTOM COMPILER VARIABLE (Ex #MY_PRODUCT_CODE#) in the designer. Then you may pass such variable as optional parameter with the "command line build tool" (https://www.installaware.com/mh52/desktop/buildingfromthecommandline.htm).
Here you will find a sample whic uses the above approach to set "TITLE & VERSION" using a compiler variable.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8927
Hope this helps you.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10734
https://www.installaware.com/forums/viewtopic.php?f=2&t=9883
It's not reccomended, but you may eventually define a CUSTOM COMPILER VARIABLE (Ex #MY_PRODUCT_CODE#) in the designer. Then you may pass such variable as optional parameter with the "command line build tool" (https://www.installaware.com/mh52/desktop/buildingfromthecommandline.htm).
Here you will find a sample whic uses the above approach to set "TITLE & VERSION" using a compiler variable.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8927
Hope this helps you.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Google [Bot] and 107 guests