Invoke-ASUpdatePackage

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.

Starting with AdminStudio 2016, when you import suite executables (.exe) that contain child packages, the child packages are automatically extracted during import and are available for testing.

However, if you are upgrading an existing Application Catalog (from releases prior to AdminStudio 2016) that already contains installers with bundled child packages, you will need to run the Invoke-ASUpdatePackage cmdlet on each of those existing installers to extract details on the child packages bundled with those installers.

The Invoke-ASUpdatePackage cmdlet is run on an existing .exe package to extract the bundled .msi details. Along with child package extraction, the Invoke-ASUpdatePackage also extracts Java dependency information and identifies the type of suite .exe.

Example

The following is an example of the Invoke-ASUpdatePackage cmdlet:

Invoke-ASUpdatePackage-PackageId 2

Parameters

The Invoke-ASUpdatePackage cmdlet has the following parameters:

Invoke-ASUpdatePackage Parameters

Parameter

Description

PackageID

ID of the package from cstblPackage table.

Procedure

To use the Invoke-ASUpdatePackage cmdlet to extract bundled .msi details from an .exe package, perform the following steps.

To extract bundled .msi details from an .exe package:

1. Select an .exe package from cstblpackage table.
2. Open a PowerShell cmdlet and set a connection to an existing Application Catalog database.
3. Import the necessary PowerShell assemblies.
4. Enter the following:

Invoke-ASUpdatePackage -PackageId 2

Information about the bundled .msi packages is extracted. The extracted .msi packages will be listed in the AdminStudio user interface.