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

?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 install

Symptoms

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

  1. Create pure InstallScript sample project
  2. Install setup to target machine.
  3. Create an upgrade to the setup in the latest version of InstallShield
  4. Attempt to run upgrade on the target machine

Resolution

  1. In the Setup.Rul view, navigate to Initialization > OnSetUpdateMode.
  2. Find and uncomment the code below.
  3. 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;
Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Jul 18, 2018 08:30 PM
Updated by: