Advanced Tab

InstallShield 2019 Express Edition » File Properties Dialog Box

On the Advanced tab of the File Properties dialog box, you can specify how a file will be registered and which operating systems you want the file installed on.

Note that these settings cannot be configured for dynamically linked files. For more information, see Limitations of Dynamic File Linking.

Settings for the Advanced Tab on the File Properties Dialog Box

Setting

Description

Target operating system

There may be cases where you need to install a different version of a file depending on the operating system of the target system. With the Target operating system setting, you can specify for which operating systems your file is intended. For more information, see Specifying Operating System Requirements for Your Product.

To install your file under any supported platform, select the All operating systems check box. This option is selected by default. To select the specific operating systems your file targets, clear this box.

Installation/Uninstallation Properties

In the Installation/Uninstallation Properties area, you can indicate how you want the installer to handle this file with regard to installation and uninstallation. Valid options are:

Permanent—Select this option if you want this file to permanently remain on the target system. The installer does not remove this file during an uninstallation.
Shared—Select the Shared check box to instruct the installer to reference count, or "refcount" this file.

When a file is marked as shared, Windows Installer creates a refcount if one does not exist or increments it if it does. While Windows Installer maintains a separate tally of all shared files, the standard refcount is stored under the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs

This count is decremented when the file is uninstalled.

File overwrite properties

In the File overwrite properties area, you can indicate how you want the installer to handle this file if it already exists on the target system.

Windows Installer Versioning Rules (Recommended)—If you select this option, Windows Installer versioning rules are used to determine whether a file that already exists on the target system should be replaced. Windows Installer enforces the following rules:

Versioned files—In all cases, the file with the highest version is maintained, even if the file already on the target machine has a higher version than the one being installed. Additionally, a file of any version is maintained over unversioned files.
File language—All other things being equal, the file that is the same language as the installation is maintained over different language versions of the file. The only exception to this rule applies to multiple language files. Files with multiple languages are maintained over single language versions of a file.
Date—If the modified date of a file already present on the target machine is later than the creation date of that file, the file is not overwritten. This rule protects user preference files from being wiped out during an upgrade or reinstallation.

Never Overwrite—If you select this option, the file—if it exists on the target system—is never overwritten, regardless of the file version.

Always Overwrite—If you select this option, the file—if it exists on the target system—is always overwritten, regardless of the file version.

See Also