Modified/Deleted File Settings

InstallShield 2020 » QuickPatch Project » Files View

Project:This information applies to QuickPatch projects.

When you click a file that you have added from your original installation to the Files To Patch explorer within the Files view, you can configure the following settings:

Updated File

Settings in the Updated File Area

Setting

Description

Specify the latest version of your file

If you are modifying a file in the original installation, specify the latest version of the file that you want to be installed on the target system when the patch is applied.

Include Whole File

If you want to include the selected file in your patch as a whole file, rather than only the byte-level file differences of the file, you may want to consider selecting this check box. If you do so, InstallShield configures your patch so that Windows Installer ignores any actual version number of the selected file, and instead considers it be version 1.0.0.0 when it is determining whether to update the target system’s file with the version in your QuickPatch package, or to leave the file as is.

Selecting this check box for an unversioned file may be helpful to ensure that the file on the target system is always overwritten with the newer equivalent unversioned file in your QuickPatch package. According to Windows Installer file overwrite rules, a file of any version is maintained over an unversioned file. Therefore, if you select this check box, Windows Installer updates the unversioned file with the one in the QuickPatch package because it considers the file in the QuickPatch to be a versioned file.

Important:According to Windows Installer file overwrite rules, the file with the highest version is maintained, even if the file already on the target system has a higher version than the one being installed. Therefore, if the file on the target system is a versioned file, you may want to avoid selecting this check box, since in some scenarios it could lead to the file on the target system not being updated. For example, if the file on the target system is version 1.1.0.0, the file in your QuickPatch project is version 2.0.0.0, and you select this check box, the file on the target system is not updated at run time. This occurs because even though the actual version number of the file in the QuickPatch package is newer than the one on the target system, Windows Installer considers the file in the QuickPatch to be 1.0.0.0, which would make it older than the file on the target system.

Extract COM Information

If the file is a COM server and you want InstallShield to extract COM information from the file when the patch is built, select this check box. This check box is selected by default for patch files that contain COM information in the Class or TypeLib tables in the base .msi package.

Note:When you specify an existing file that you want to patch, InstallShield automatically detects if the file is self-registering. If the original file was self-registering, the file in the patch is also set to self-register.

Original File Information

The Original File Information area provides information about the original file in the original installation.

Component Information

The Component Information area provides file component information such as the component name and key file.

Check this box to have the patch delete this file from the setup

Select this check box to remove the file from the target machine when the patch is applied.

See Also