CreateProject Method (Advanced UI and Suite/Advanced UI)

InstallShield 2019 » 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 CreateProject method creates a new InstallShield project file (.issuite) for Advanced UI and Suite/Advanced UI projects.

Syntax

CreateProject (strISWiProjectFile As String, ByVal ProjectType As ISWiProjectType)

Parameters

CreateProject Method Parameters

Parameter

Description

strISWiProjectFile

Enter the fully qualified path to the .issuite file that you want to create. Include the full file name.

ProjectType

Specify the type of project that you want to create. The valid value is:

eptSuite (16)—Creates an Advanced UI or Suite/Advanced UI project.

Example

The following sample code creates an Advanced UI or Suite/Advanced UI project and sets its product version to 2.00.0000.

dim proj

set proj = CreateObject("ISWiAutoSuite22.ISWiProject")

 

proj.CreateProject "d:\scratch\packagetest.issuite", 16 '16: ISWiProjectType.eptSuite

proj.OpenProject "d:\scratch\packagetest.issuite", false

 

proj.ProductVersion = "2.00.0000"

 

proj.SaveProject

proj.CloseProject

Applies To

ISWiProject