Val0001
InstallShield 2026
Project:
| • | Basic MSI |
| • | InstallScript MSI |
| • | QuickPatch |
Message (Error)
The file [1] with a target of [2] appears to have been removed from the setup, but does not appear in the RemoveFile table. This file will not be removed from the target machine when an upgrade is run unless the RemoveFile table has been authored.
[1] is the name of the file that has been removed, while [2] is the target path of this file.
Description
When a small update or minor upgrade is applied, any file or files that have been removed from the latest setup will not automatically be uninstalled from the target machine because a minor upgrade will recache the local .msi database. This recached copy no longer contains any reference to the file, since it has been removed from the setup.
To remove this file when the upgrade is run, you must add entries to the RemoveFile table. When the upgrade is run, these RemoveFile table entries will be executed, and the file will be deleted.
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
Using the file name and file destination from the previous version setup package, create an entry in the RemoveFile table using the Direct Editor. The file name can contain wildcard characters.
Note:When authoring the RemoveFile table, you must specify a component. This component’s install state is used to determine if a file matching the RemoveFile signature should be removed or not. Be sure to specify a component that you are certain will reinstall when the upgrade is applied.