InstallShield 2015
Project: This information applies to the following project types:
• | Basic MSI |
• | InstallScript MSI |
• | QuickPatch |
Message (Note)
The RemoveFile table entry [1] has an InstallMode of 1. In an upgrade scenario, if the component [2] does not have to reinstall, the files attributed to this table entry will not be removed. You can change the InstallMode value to 3 so that the files will at least get removed on uninstall, or make sure that this RemoveFile table entry is associated with a component that will get reinstalled.
[1] is the name of the entry in the first column of the RemoveFile table that is causing this message. [2] is the name of the component with which this RemoveFile table entry is associated.
Description
When you author an entry in the RemoveFile table, you must specify a value in the InstallMode column. If this value is set to 1, this tells the installer that the specified file should only be removed upon installation of the associated component. In an upgrade scenario, if the associated component does not need to be reinstalled, then the RemoveFile table entry will not be executed, and the file will not be removed from the target machine.
In a subsequent uninstallation, you will need to manually remove this file and the directory that contains it since the file still exists on the target machine.
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 will need to compare the latest setup to a previous version of that setup.
Corrective Action
This validator is only a note. It is designed to make you aware of a potential issue with your setup when you are creating an upgrade. If you do not intend on performing an upgrade or you are certain that the component associated with this RemoveFile entry will be reinstalled in an upgrade, you can choose to disregard this note.
You can also choose to change the InstallMode value to 3. In this case, a file will not be removed during installation, but it will always be removed during an uninstallation.
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |