IAdvinstLicenseInfo

Information about the Advanced Installer license is stored in this object.

Overview

Iadvinstlicenseinfo

Properties

  • String EndMaintenance - Gets the end date of the maintenance plan as a string.
  • String Owner - Gets the owner of the license as a string.
  • String RegisterDate - Gets the date when the license was registered as a string.
  • String Type - Gets the type of the license as a string.

Sample command lines:

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

# Show License Info
$advinst.LicenseInfo

# access info property
Write-Output "`nLicense info end maintenance date:"
$advinst.LicenseInfo.EndMaintenance

# show available methods
$advinst.LicenseInfo | gm

$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