Windows Installer Editor Reference
120
Assembling an Installation
6. To configure a particular source directory, select it in the Source Directory list and
complete the Wildcard Details dialog box:
Include Wildcards, Exclude Wildcards
To include or exclude files based on specific criteria, enter a semicolon-delimited
list of wildcards. (Example: Enter *.EXE for all EXE files or *.DLL for .DLL files.)
If you leave the wildcard fields blank, all files in the directory are added. Groups
of wildcards appear in Include Wildcards.
To edit groups, use the Wildcards tab in Options.
See
Setting Wildcard Groups
on page 47.
Include Subdirectories
Mark this to add all the subdirectories within the directory you’re adding. The
wildcard settings and update installation settings apply to the subdirectories
also.
Change existing components’ attributes
When files are added because of changes in the source directory, new
components are created to hold them. Mark this to reset the attributes of any
pre-existing components to the settings that are specified on this dialog box. If
you do not mark this check box, the files currently in the source directory do not
have the component attributes you set below.
Run location
Specify whether new components are installed on the local hard drive (Run
Locally), not installed on the local hard drive (Run From Source), or either.
Change this option only if you plan to integrate Windows Installer function calls
into your application to determine the installed location.
Always increment shared DLL count
Mark this to always increment the count of applications using .DLLs in this
component when it is installed, even if the file is not already installed. Normally,
Windows Installer only increments the shared DLL count on a file if the file is
installed and has an existing shared DLL count.
If a component is installed to the Global Assembly Cache, you cannot increment
the shared DLL count.
Leave installed on uninstall
Mark this to leave the component installed when its parent feature is
uninstalled.
Check condition during reinstall
Mark this to check conditions attached to the component when the application is
reinstalled. If this is not marked, the conditions are checked only during the
original installation.
Never overwrite if key path exists
Mark this to prevent the installation of this component if the file, registry entry,
or ODBC data source specified as the key path is already present.
7. Click OK.
8. If a change in the wildcards causes files to be deleted, the Wildcard Deleted Files
dialog box appears. Click Yes to remove the listed files from the installation.
The files in the installation directory are updated immediately according to the changes
you made on the Wildcard Details dialog box.