TestimoX

API Reference

Class

SoftwareInstallationPackage

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers sealed

Typed representation of a GPSI package registration.

Inheritance

  • Object
  • SoftwareInstallationPackage

Constructors

public SoftwareInstallationPackage() #

Properties

public String DomainName { get; set; } #

Owning DNS domain for the GPO.

public Guid GpoId { get; set; } #

GPO identifier.

public SoftwareInstallationScope Scope { get; set; } #

Applies to Computer or User configuration.

public String DisplayName { get; set; } #

Package display name.

public Nullable<Guid> ProductCode { get; set; } #

MSI ProductCode GUID when present.

public Guid PackageId { get; set; } #

AD object GUID of the packageRegistration entry.

public String MsiScriptName { get; set; } #

Script name code used by GPSI (e.g., 'R' when removal).

public Nullable<Int32> PackageFlags { get; set; } #

Raw packageFlags value as stored on the object.

public Nullable<Int32> Revision { get; set; } #

Package revision number.

public Nullable<Int32> PackageType { get; set; } #

Raw packageType integer (implementation specific).

public IReadOnlyList<String> MsiFileList { get; set; } #

List of referenced MSI paths (UNC), when present.

public IReadOnlyList<String> Categories { get; set; } #

Category GUIDs associated with this package.

public IReadOnlyList<String> CanUpgradeScript { get; set; } #

Upgrade relationship entries, when present.

public String Action { get; } #

Returns a friendly action derived from msiScriptName: "Remove" when "R", otherwise "Deploy".

public String FlagsHex { get; } #

Raw flags in hexadecimal (diagnostic).

public String Type { get; } #

Inferred package type based on file list (MSI/ZAP/Package).

public String Deployment { get; } #

Deployment style. Computer scope is always Assigned; user scope may be Assigned or Published depending on flags (not always readable here), so labeled conservatively.