Product version from code

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

Product version from code

Post 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.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Product version from code

Post 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).

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
Post Reply