This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Access ProductVersion from Install Script
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 31, 2009
01:39 PM
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
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
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 02, 2009
06:31 PM
You can use MsiGetProperty to read the value of any property, including ProductVersion...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 05, 2009
02:35 AM
use IFX_PRODUCT_VERSION
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2009
04:14 AM
Interesting thought, i completely agree with your perspective...
