ImportProject Method

InstallShield 2022 » Automation Interface

Note:This method has been deprecated to version 2.x of InstallShield for Windows Installer and versions of InstallShield Developer prior to 8.x.

Call ImportProject to convert an .isv file to an .ism file. If you access your project from a source code control program, InstallShield saves it as a text (.isv) file. However, OpenProject and ISCmdBld.exe both require a standard InstallShield project (.ism) file.

Later, you can call ExportProject to convert the .ism file back to an .isv file before checking it in to your source control program.

ImportProject fails if the project is already open in the automation interface or in InstallShield.

Syntax

ImportProject (strISWiProjectFile As String, strISWiTextProjectFile As String) As Long

Parameters

ImportProject Method Parameters

Parameter

Description

strISWiProjectFile

Enter the fully qualified path to the resulting .ism file.

strISWiTextProjectFile

Enter the fully qualified path to the .isv file.

Error Codes

ImportProject Method Error Codes

Code

Description

1007

The project file is already open.

1009

Could not import the project.

1012

The .isv file is missing.

Applies To

ISWiProject