HipChat 1.2.103402 (really 1.20120926103402)

This commit is contained in:
Iristyle
2012-10-24 09:01:05 -04:00
parent 903db12902
commit eebee0a022
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
$package = 'HipChat'
try {
$hipChatGuid = Get-ChildItem HKLM:\SOFTWARE\Classes\Installer\Products |
Get-ItemProperty -Name 'ProductName' |
? { $_.ProductName -eq 'HipChat' } |
Select -ExpandProperty PSChildName -First 1
$properties = Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\$hipChatGuid\InstallProperties
$pkg = $properties.LocalPackage
# http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html#WS485a42d56cd19641-70d979a8124ef20a34b-7ffa
msiexec.exe /x $pkg /qb-! REBOOT=ReallySuppress
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}