Zeenyx AscentialTest can be silently installed on a PC using the commands and option flags detailed below. These command samples assume embedding these lines in a Windows batch (.bat) file. The .exe for the AscentialTest install will, of course, change depending on release version. In addition, the samples below also assume that the command is executed in the same directory as the installer EXE. Prepending the full path to the installer, will allow the command to run from another directory.
Install with default options
ZeenyxAscentialTestInstall_8.3.0_x64.exe /s /v”/qn”
Install all options (2nd install option in the GUI installer)
set options=”AlwaysInstall,NewFeature3,NewFeature1,NewFeature2,NewFeature4″
ZeenyxAscentialTestInstall_8.3.0_x64.exe /s /v”/qn SelectedSetupType=%options%”
Install runtime only (3rd install option in the GUI installer)
set options=”AlwaysInstall,NewFeature4″
ZeenyxAscentialTestInstall_8.3.0_x64.exe /s /v”/qn SelectedSetupType=%options%”
Logging
Logging can been added by appending the following to the silent install command:
/L*V install.log
The above commands have been adapted to run from a PowerShell script. If doing so, note that the string encapsulation may need to change.
Uninstalling
The following PowerShell command should uninstall any version of AscentialTest installed on a system. PowerShell was used in this case as it facilitates the querying of the GUID of currently installed version of AscentialTest.
# Get GUID of currently installed version of Zeenxy AscentialTest
$guid = (Get-WmiObject -Class win32_product -ComputerName $hostname -Filter “Name=’Zeenyx AscentialTest'”).IdentifyingNumber
if ($quid -ne “”) {
Write-Host “Uninstalling Zeenyx AscentialTest”
& msiexec.exe /x $guid /qn
Write-Host “Uninstall complete.`n”
} else {
Write-Host “Uninstall skipped. Zeenyx AscentialTest not installed.”
}
}
Extracting MSI
With some package deployment systems, it may be necessary to extract the MSI of the AscentailTest installer. It is also useful to save of file size; the MSI is far small than the EXE installer as it does not bundle the VC++ Redistrib, MySQL ODBC drivers, and SQLite ODBC drivers. The MSI can be extracted using the following command:
ZeenyxAscentialTestInstall_8.3.0_x64.exe /s /x /b”C:DestinationDir” /v”/qn”
Note: Installing VC++ Redistrib, MySQL ODBC drivers, and SQLite ODBC drivers will need to be installed separately in order to insure AscentialTest operates properly.
Great information Pete!
I thought I would include the “raw” command line (from DOS) for illustration as well:
C:TempZeenyxAscentialTestInstall_8.3_x64.exe /s /v”/qn ADDLOCAL=AlwaysInstall,NewFeature3,NewFeature1,NewFeature2,NewFeature4 /L*V C:Tempcomputer-PSinstall.log
Where:
/s /v” /qn calls silent mode
This command line pipes the verbose output to the log file, “C:Tempcomputer-PSinstall.log”
ZeenyxAscentialTestInstall_8.3.0_x64.exe /? opens the InstallShield Wizard that lists some switch options
Contact Our Team