Val0004

InstallShield 2026

Project: This information applies to the following project types:

Basic MSI
InstallScript MSI
QuickPatch

Message (Error)

The key file [1] in component [2] is versioned in the previous package and has a lower version or is unversioned in the upgraded package (old file version [3], new file version [4]). This will prevent the component from reinstalling in an upgrade scenario.

[1] is the name of the key file , [2] is the name of the component that contains the key file, [3] is the version number of the file in the earlier package, and [4] is the version number of the file in the upgrade.

Description

This validator verifies that when the upgrade is applied, all files that have changed in the upgrade will be updated properly on the target system.

At run time during a minor upgrade or small update, Windows Installer does not reinstall a component if its key file would be downgraded in the process. Therefore, the key file in the upgrade needs to have a version number that is equal to or greater than that of the key file in the old package.

The exception is when the end user sets the REINSTALLMODE property to a, which forces the installation of all files, regardless of version.

Note:This validator does not apply to major upgrades because the uninstall-and-then-reinstall nature of major upgrades does not lend itself to this type of consideration.

To perform this validation test, the validation engine compares the latest installation to an earlier version of that installation.

Corrective Action

To resolve the error, ensure that the version number of the key file in the upgrade has a version number that is equal to or greater than that of the key file in the old package. As an alternative, you can create a major upgrade.

See Also