User Guide
47
Setting Options
The different scan options let you determine whether the advertising information is
added to the advertising tables (AppId, Class, Extension, Mime, ProgId, TypeLib,
Verb), to the registry, or both. The scan options also cause AppPath registry
information to be added to the installation automatically, although it is not related to
advertising. Only AppPath information at
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\ is
added.
This system of registration is more robust than letting the file self-register at
installation time because it does not depend on the presence of other files on the
destination computer, nor does it depend on how well the .OCX or .DLL file adheres
to self-registration conventions. However, the .OCX or .DLL files must already be
registered correctly on your computer. If you prefer not to register installation files
on your computer, you can run the scan routine as a stand-alone utility on a different
computer. See Using WiseComCapture.exe on page 143.
• Do not scan advertising information
Use self-registration for components that support it. Wise for Windows Installer
will not scan files or the registry.
• Scan advertising information into registry keys
Add advertising information to the installation as registry keys only; do not
create entries in advertising tables. This results in an installation that does not
support advertising through COM.
• Scan advertising information into advertising tables
Place registry entries that are considered to be advertising information into
advertising tables. Create registry entries for any information that cannot be
placed in the advertising tables. This results in an installation that supports
advertising.
• Scan advertising into both advertising tables and registry
Place registry entries that are considered to be advertising information into
advertising tables AND into registry keys. This way, all advertising information is
included in the installation; none is lost.
Caution
When registry entries are created for any information that cannot be placed in the
advertising tables, the installation is more accurate because no information is lost.
However, this might cause an error or warning when you run the Application Specification
Logo test in Package Validation.
! Automatically add self-registration
Mark this to add self-registration information to the installation whenever you add an
.OCX or .DLL file that supports self-registration. Typically, .OCX and .DLL files are
self-registered dynamically on the destination computer by calling self-registration
functions. If you mark this checkbox, Windows Installer registers your .OCX and .DLL
files. The .DLL or .OCX may require certain files to be installed already in order to
self-register properly.
! Default to rescan advertising for new components
If the advertising information contained in your files might change during the
development process, mark this to scan the advertising information and update the
installation every time you compile. The scan options in the Advertising Setting
field above only read the advertising information that’s present in the file when you
first add it to the installation.