Static Scanning

InstallShield 2015

Project: This information applies to the following project types:

Basic MSI
InstallScript
InstallScript MSI

The Static Scanning Wizard enables you to scan the files already added to your project for any dependencies that they may require. This wizard scans all portable executable files (.exe, .dll, .ocx, .sys, .com, .drv, .scr, and .cpl files) in your project and checks for dependencies that they may require. The wizard displays a list of the dependencies that it finds, and it lets you specify whether you want to include each one in your project.

The new files added to your project are added to the same feature as the file that depends upon them, thereby ensuring that they are installed when needed.

How the .NET Scan at Build Setting Affects Static Scanning

In Basic MSI, InstallScript MSI, and Merge Module projects, the value that is selected for a component’s .NET Scan at Build setting affects how the Static Scanning Wizard scans the files in that component:

Determining How the Static Scanning Wizard Scans Files in a Component

Value of a Component’s .NET Scan at Build Setting

Description

None

The Static Scanning Wizard does not scan the .NET portion of the component for dependencies or properties. For example, if your component contains Notepad.exe and a .NET assembly file, the Static Scanning Wizard scans Notepad.exe for dependencies and does not scan the .NET assembly file for dependencies or properties.

Properties Only

The Static Scanning Wizard scans the entire component—all files in the component, including .NET assemblies—for properties, but it does not identify dependencies for the .NET portion of the component. For example, if your component contains Notepad.exe and a .NET assembly file, the Static Scanning Wizard scans both files for properties, but it does not identify dependencies for the .NET assembly file.

Dependencies and Properties

The Static Scanning Wizard scans the entire component—all files in the component, including .NET assemblies—for dependencies and properties. Any dependencies that are found during the scan are presented in the File Selection panel. If any properties are found for .NET files, InstallShield adds the properties to the .NET Assembly subnode under the Assembly node in the Advanced Settings area of a component.

See Also