ConfigMgr: 7Zip 16.02 verteilen

Scheinbar habe ich mein Script für 7-Zip 16.02 übersehen zu veröffentlichen:

<appdefinition>
<file>7z1602-x64.exe</file>
<hash type="SHA256">F1601B09CD0C9627B1AAB7299B83529E8FBC6B5078E43DFD81A1B0BFCDF4A308</hash>
<info>
    <company>Igor Pavlov</company>
    <setupType>NSIS</setupType>
    <isX86>false</isX86>
    <hasUninstall>true</hasUninstall>
</info>
<install/>
<uninstall>
Show-InstallationProgress -StatusMessage "Uninstalling 7-Zip 16.02. This may take some time. Please wait..."
$regPath="HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"
$uninstallApp=(Get-ItemProperty $regPath | where {$_.DisplayName -like "*7-Zip 16.02*"}).UninstallString.replace("`"","")
Execute-Process -Path "$uninstallApp" -Parameters "/S" -WindowStyle Hidden
</uninstall>
<detection>
$regPath="HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"
Get-ItemProperty $regPath | where {$_.DisplayName -like "*7-Zip 16.02*"}
</detection>
<supersedence>
<deploymentType uninstall="false" type="SHA256">80BAA787724BF9BE9F6D2C3B42CBC2124CFA662DB081E2A5F885BFA60389D6FF</deploymentType><!--15.14-->
</supersedence>
</appdefinition>
This entry was posted in automateAppDeployment, Configuration Manager, Deutsch, System Center and tagged , . Bookmark the permalink.

1 Response to ConfigMgr: 7Zip 16.02 verteilen

  1. Pingback: ConfigMgr: Softwarepaketierung Übersicht | Markus Bäker

Leave a Reply