IAdvinstProjectTypesCopy link to this sectionLink to this section copied!

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

OverviewCopy link to this sectionLink to this section copied!

Iadvinstprojecttypes

PropertiesCopy link to this sectionLink to this section copied!

  • 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:Copy link to this sectionLink to this section copied!

# 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")