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 Knowledge Base
- :
- ?The installed version of the application could not be determined. The setup will now terminate.? Me...
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
?The installed version of the application could not be determined. The setup will now terminate.? Message During Upgrade
?The installed version of the application could not be determined. The setup will now terminate.? Message During Upgrade
Summary
The message occurs during an upgrade of InstallScript installSymptoms
The message, ?The installed version of the application could not be determined. The setup will now terminate.?, occurs during an upgrade. This usually occurs if the InstallScript install being targeted was built by an old version of InstallShield.Cause
The IFX_INSTALLED_VERSION variable is empty.Steps To Reproduce
- Create pure InstallScript sample project
- Install setup to target machine.
- Create an upgrade to the setup in the latest version of InstallShield
- Attempt to run upgrade on the target machine
Resolution
- In the Setup.Rul view, navigate to Initialization > OnSetUpdateMode.
- Find and uncomment the code below.
- Provide a value to IFX_INSTALLED_VERSION
//if ( !StrLengthChars( IFX_INSTALLED_VERSION ) && MAINTENANCE ) then
// IFX_INSTALLED_VERSION = "X.XX.XXX";
// IFX_INSTALLED_DISPLAY_VERSION = IFX_INSTALLED_VERSION;
//endif;
No ratings