Page 1 of 1

Product version from code

Posted: Tue Nov 23, 2021 7:49 am
by TheNa2rat
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.

Re: Product version from code

Posted: Wed Nov 24, 2021 4:42 am
by FrancescoT
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