Invoke-ASConvertPackageEx
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
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:
Parameter |
Description |
||||||||||||||||||
PackageId |
The ID of the source package to be converted. |
||||||||||||||||||
TargetType |
Follow the -TargetType parameter with one of the following to identify the deployment type of the converted package:
|
||||||||||||||||||
AACSettings |
Enter 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. Note:For more information, see Creating an Automated Application Converter Settings File. |
||||||||||||||||||
CommandLine |
This 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.