Note
You are not reading the most recent version of this documentation. See the latest version available.
Quality Approver CLI¶
Command line options of Quality Approver allows to automate testing of MSI, MSIX and APPX packages.
Warning
Ensure that you have configured at least one virtual machine for the testing purposes. To configure a VM, see Testing environment configuration.
Syntax:
"QualityApprover.exe" <command> [--parameter "value"]
Usage:
"QualityApprover.exe" test-msi --vm "172.16.1.100;WIN10_1809_EN" --package "C:\Packages\package.msi" --output-report "C:\Reports\report.html"
The default installation path of QualityApprover.exe
is:
x64 OS:
C:\Program Files (x86)\PACE Suite\Quality Approver\App\
x86 OS:
C:\Program Files\PACE Suite\Quality Approver\App\
Commands:
Command |
Description |
---|---|
|
Test a batch of Windows Installer (MSI, MST) packages and their apps for compliance with the Desktop App Certification Program automatically in an unattended mode. For more information, see Windows Desktop app tests. See parameters of the Test MSI command. |
|
Test a batch of MSIX packages (or bundles) and their apps against the Microsoft Store requirements automatically in an unattended mode. For more information on the tests, see Windows Store App tests and Windows Desktop Bridge app tests. See parameters of the Test MSIX/APPX command. |
|
Test a batch of APPX packages (or bundles) and their apps against the Microsoft Store requirements automatically in an unattended mode. For more information on the tests, see Windows Store App tests and Windows Desktop Bridge app tests. See parameters of the Test MSIX/APPX command. |
Test MSI¶
Parameters of the test-msi
command:
Parameter |
Obligatoriness |
Description |
---|---|---|
|
Mandatory |
Defines a virtual machine on which the package will be tested. Supported value: "localhost" - run testing on the local host"<host_addres>;<vm_name>" - run testing on the remote virtual machine
where <host_addres> is a host or IP address of the virtualization
solution (for VirtualBox <host_addres> is virtualbox ); and
<vm_name> is a name of a virtual machine, configured for testing.Example: |
|
Mandatory |
Defines a path to the package that will be tested. Example: |
|
Optional |
Defines a path to the MST file that will be applied to the specified MSI during testing. If not defined, no additional MST is applied. Example: |
|
Optional |
Defines a usage type of the application that will be installed by the MSI
package. If not specified, the Supported values: "per-machine" "per-user" Example: |
|
Optional |
Defines what package-related files that are located in the same folder with MSI should be copied to the remote virtual machine for testing. If not specified, none of additional files will be copied. Supported values: "*" - copy all files/subfolders located in the folder with MSI"<file-path-1;file-path-2>" - copy the specified files only. A path
could be absolute or relative.Example: |
|
Mandatory |
Defines a path and a name of the testing report. Example: |
|
Optional |
Defines if the virtual machine will be restored to the previous state after the testing completion. If not specified, the virtual machine will be restored. Supported values: "yes" - restore"no" - do not restoreExample: |
Test MSIX/APPX¶
Parameters of the test-msix
and test-appx
commands:
Parameter |
Obligatoriness |
Description |
---|---|---|
|
Mandatory |
Defines a virtual machine on which the package will be tested. Supported value: "localhost" - run testing on the local host"<host_addres>;<vm_name>" - run testing on the remote virtual machine
where <host_addres> is a host or IP address of the virtualization
solution (for VirtualBox <host_addres> is virtualbox ); and
<vm_name> is a name of a virtual machine, configured for testing.Example: |
|
Mandatory |
Defines a path to the package that will be tested. Example: |
|
Mandatory |
Defines a path and a name of the testing report. Example: |
|
Optional |
Defines if the virtual machine will be restored to the previous state after the testing completion. If not specified, the virtual machine will be restored. Supported values: "yes" - restore"no" - do not restoreExample: |
Note
PACE Suite covers the whole range of application packaging tasks - learn more.
Try PACE Suite for free - 30 days no obligations unlimited trial with all functions unlocked.