Can I set version number become variable during runtime

Got a problem you cannot solve? Try here.
danieltan
Posts: 26
Joined: Tue Jul 07, 2015 9:17 pm

Can I set version number become variable during runtime

Postby danieltan » Wed Jul 29, 2015 2:43 am

Refer on the http://www.installaware.com/forum/viewtopic.php?f=2&t=8927

Let say, we have over 1000 client and each client using different windows installer version number.
Their window installer v1.0.1 previously installed in client local machine. (using other windows installer not the installaware)
Now we wanted based on previous installer version number is v1.0.1 and set Installaware version number becoming v1.0.1

Can I set dynamic version number become as variable #MYVersion# due of different customer might have different version. Properly read from batch file or text file.
Based on last post on above url. [Quite urgent due of left this part only]

I try to do:
Run Program $SUPPORTDIR$\MyVersion.bat (WAIT, get result into variable BATCHTEST)
Read from Text File $SUPPORTDIR$\version.txt into Variable TESTTEST
but failed to set #MYVERSION# compiler variable.

if refer on "Title & version with a compiler variables.rar " sample. it set fixed in complier variable. Its not the result I want due it does not support dynamic product version.

Image
Last edited by danieltan on Wed Jul 29, 2015 7:42 pm, edited 1 time in total.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can I set version number become variable during runtime

Postby FrancescoT » Wed Jul 29, 2015 11:18 am

Dear Daniel,

as described by the links you provided, the "ProductVersion" can be ONLY defined at Build time.

Regards
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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 92 guests