Product version from code

Got a problem you cannot solve? Try here.
TheNa2rat
Posts: 9
Joined: Mon Jan 23, 2017 7:34 am

Product version from code

Postby TheNa2rat » Tue Nov 23, 2021 7:49 am

Hello,

I want to set up productversion from code by reading another file version in MSICode.
Is it possible to change and set this #PRODVERSION# at compilation time?

Image

Image

I've spent many time on that, trying to set this version, but it doesn't work for me.
Thank You in advance for help.

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

Re: Product version from code

Postby FrancescoT » Wed Nov 24, 2021 4:42 am

The product version has to be resolved EXCLUSIVELY at COMPILE-TIME (see below link).
So you cannot specify it via MSI script (RUN-TIME Execution).

https://www.installaware.com/forums/viewtopic.php?f=2&t=8927&p=33199
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: Google [Bot] and 38 guests