Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: AppDeployToolkitMain - Execute-MSI function

$
0
0
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

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images