IAdvinstProjectTypes

An interface designed to access the project type. This object is intended to work with IAdvancedInstaller.CreateProject().

Overview

Iadvinstprojecttypes

Properties

  • ProjectType Architect - Returns an architect project type.
  • ProjectType Enterprise - Returns an enterprise project type.
  • ProjectType Patch - Returns a patch project type.
  • ProjectType Professional - Returns a professional project type.
  • ProjectType Simple - Returns a simple project type.
  • ProjectType Update - Returns an update project type.

Sample command lines:

# IAdvinstProjectTypes automation
$advinst = New-Object -ComObject "AdvancedInstaller"

# Show Project Types
$advinst.ProjectTypes | gm

# create new project
$projectType = $advinst.ProjectTypes.Enterprise
$project = $advinst.CreateProject($projectType)

# save project
$project.SaveAs("F:\cmdlet\output\DemoProject Enterprise.aip")

# load project
$loadedProject = $advinst.LoadProject("F:\cmdlet\output\DemoProject Enterprise.aip")

See also

IAdvancedInstaller

Installer Project Types