ISWiSetupFile Object (Advanced UI and Suite/Advanced UI)

InstallShield 2020 » Automation Interface » Advanced UI and Suite/Advanced UI

Project:This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition:The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

The ISWiSetupFile object represents a support file in your project.

To add or remove support files, call ISWiProject.AddSetupFile or ISWiProject.DeleteSetupFile.

Members

ISWiSetupFile Object Members

Name

Type

Description

FileName

Read-only String Property

Gets the name of the support file (without the path).

Language

Read-Write String Property

Gets the string that identifies the language identifier for the support file; for example:

m_pFile.Language = "1033"

Path

Read-only String Property

Gets the fully qualified path (including the file name) of the support file’s source location.

Instead of hard-coding a path, you can use a path variable that is defined in the Path Variables view or part of the ISWiPathVariables collection. At build time, InstallShield replaces the path variable with the appropriate value.

Target

Read-Write String Property

Gets or sets the support file’s target directory within SETUPSUPPORTDIR. The following line specifies the support file to be stored in the MyFolder1\MyFolder2 folder under SETUPSUPPORTDIR:

m_pFile.Target = "MyFolder1\MyFolder2"

Applies To

ISWiProject