Skip to main content

Invoke-ASConvertPackageEx

AdminStudio 2025 | 29.0 | AdminStudio PowerShell Cmdlets

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

note

In future releases, the Invoke-ASConvertPackageEx cmdlet will be renamed to Invoke-ASConvertPackage.

The Invoke-ASConvertPackageEx cmdlet invokes the Application Catalog Conversion Wizard process to convert a package from one package type to another. You can use the Invoke-ASConvertPackageEx cmdlet to:

  • Convert an App-V 4.x package to App-V 5.0 format.
  • Convert one or multiple Windows Installer packages or legacy installers to virtual packages using default Automated Application Converter settings.

You are required to specify a target type and an Automated Application Converter settings file.

Example

Invoke-ASConvertPackageEx -PackageID n -TargetType type -AACSettings PathToSettingsFile

For example:

Invoke-ASConvertPackageEx -PackageID 5 -TargetType AppV5 -AACSettings C:\MyProjectFile\MySettings.aacx

Parameters

The Invoke-ASConvertPackageEx cmdlet has the following parameters:

ParameterDescription
PackageIdThe ID of the source package to be converted.
TargetTypeFollow the \-TargetType parameter with one of the following to identify the deployment type of the converted package: AppV4 AppV5 Profile ThinApp Msi MSIX
AACSettingsEnter the fully qualified path to the \.accx project file that will be used for the conversion, which contains virtual machine login information and conversion defaults. For more information, see Creating an Automated Application Converter Settings File.
CommandLineThis parameter is used to pass command line switches to the installer during an unattended installation, such as when Automated Application Converter automatically launches a virtual machine to perform repackaging. If this parameter is set, it takes precedence. If this parameter is not set, then any specified command line in the Automated Application Converter plugin options takes precedence. If neither are specified, then Automatic Application Converter automatically uses a basic UI mode for MSI packages.

Return Values

Success or failure messages are returned.