AppDeployToolkitMain - Execute-MSI function

Topics: Archive - General
Jun 13, 2014 at 2:06 AM
Hi

Just noticed that there may be an a problem with the Execute-MSI function as all the uninstalls run silently.

The script is

Set the installation Parameters

$msiUninstallDefaultParams = $configMSISilentParams
If ($deployModeSilent -eq $true) {
    $msiInstallDefaultParams = $configMSISilentParams
}
Else {
    $msiInstallDefaultParams = $configMSIInstallParams
}
But think it should be

If ($deployModeSilent -eq $true) {
$msiInstallDefaultParams = $configMSISilentParams
    $msiUninstallDefaultParams = $configMSISilentParams
}
Else {
$msiInstallDefaultParams = $configMSIInstallParams
    $msiUninstallDefaultParams = $configMSIUninstallParams 
}

Unless it is set somewhere else that I can't see.

Thanks
Sue
Coordinator
Jun 13, 2014 at 9:20 PM
Hi Sue,

Thanks for the feedback and good catch. In fact, the MSI Uninstall Params in the XML file were not being used at all. This will be fixed in the next release or alternatively you can download the latest source now.

Cheers,
Sean