cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
denw304
Level 2

Access ProductVersion from Install Script

:confused: Hi,
I want to read the ProductVersion number that is passed via the runtime switch –y xx.xx.xxxxx from ISCmdBld.exe to InstallShield 2009. I want to concatenate the ProductVersion with the installation directory in my ISM creating a folder that contains something along the lines of C:\D\C\A_1.1.1 where C:\D\C\A_ is the original destination entered via product. Is there a way to read the ProductVersion number using 2009 Install Script similar to INSTALLDIR, or is there a better way to handle this? Thank you in advance for your assistance.
Regards,
Dennis
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

You can use MsiGetProperty to read the value of any property, including ProductVersion...
0 Kudos
J_anitha
Level 8

use IFX_PRODUCT_VERSION
0 Kudos
luckystar09
Level 2

Interesting thought, i completely agree with your perspective...
0 Kudos