Trouble Installing Google Chrome MSI Package
Hello, we are trying to install the MSI package of Google Chrome via GPO at our school. In most cases it is working perfectly. However, on some computers it will not install, even though we have went ahead and uninstalled it using the uninstall/remove programs feature in the Control Panel. For those computers that it will not install properly on, the error messages are similar to this: Product: Google Chrome -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action DoInstall, location: C:\Windows\Installer\MSID933.tmp, command: /silent /install "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi /appargs "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D" I've tried manually uninstalling again from the MSI but no luck. I've tried manually installing with the /i feature when executing the installer but no luck. I've removed registry settings and even tried the Microsoft Fix It that deals with problems with installing and uninstalling software but no luck. Why it is not working on a few machines I'm just not understanding, especially when we removed them all in the same fashion. There is one Windows 7 machine . Re-imaging is not really a solution as some computers being affected are office and administrative computers. Any assistance would be greatly appreciated! Thanks very much!
-
Please mention Windows Flavour, there is a problem in Windows 8, If u uninstall still registry will be there, need to delete from the registry also - anonymous_102124 10 years ago
-
Windows 7 - bibingeorge 10 years ago
Answers (6)
HKLM\software\wow6432node\google\update
Did you try that?
Comments:
-
Hi Jegolf,
This is the powershell script am ruuninng to install the chrome. on both 32 and 63 bit machine. still its fails.
This script will automatically delete the above said registry when its uninstalll old version of Chorme. - - bibingeorge 10 years ago -
most of this error comes in 32 bit - bibingeorge 10 years ago
-
helped me to reinstall chrome msi - comicsserg 8 years ago
-
Worked for me! Thanks for this Information. - robwieser 6 years ago
:: ***** Set varilables ***** :: :::::::::::::::::::::::::::::::::::::::::: :: ***** Check if Chrome installation exists ***** REG QUERY "%HKPATH%\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96}" :: :::::::::::::::::::::::::::::::::::::::::: :: ***** Setup.exe uninstall script ***** :: :::::::::::::::::::::::::::::::::::::::::: REM ***** taskkill GoogleUpdate.exe ***** :: :::::::::::::::::::::::::::::::::::::::::: :INSTALL :: ***** Install ***** |
This is the powershell script am ruuninng to install the chrome. on both 32 and 63 bit machine. still its fails.
This will automatically delete when its uninstalll old version of Chorme.
# check if Chrome is running.
if (Get-Process Chrome -ErrorAction silentlycontinue) {exit 4}
#if (Get-Process GoogleUpdate -ErrorAction silentlycontinue) {exit 4}
# Uninstall old versions of Chrome here - the install should deal with most of them.
$RegistryExists = (Test-Path HKLM:"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall")
if (($RegistryExists))
{
# Write-host "Old version exists V37, trying to uninstall" -foregroundcolor Green
msiexec.exe /x "{B3DE583C-ADB7-3B8D-9A8E-EAF9805BA608}" /qn | Out-Null
}
$RegistryExists = (Test-Path HKLM:"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall")
if (($RegistryExists))
{
# Write-host "Old version exists V37, trying to uninstall" -foregroundcolor Green
msiexec.exe /x "{B3DE583C-ADB7-3B8D-9A8E-EAF9805BA608}" /qn | Out-Null
}
$Arch = (Get-Process -Id $PID).StartInfo.EnvironmentVariables["PROCESSOR_ARCHITECTURE"];
if($Arch -eq "x86")
{
# Install 32-bit Customizations
msiexec /i $scriptPath\googlechromestandaloneenterprise_x32.msi NOGOOGLEUPDATE=1 /qb | Out-Null
copy-item $scriptPath\master_preferences_gpo 'C:\Program Files\Google\Chrome\Application\master_preferences'
#& $scriptPath\streams -s -d 'C:\Program Files (x86)\Google\Chrome' /accepteula | out-null
}
elseif($Arch -eq "amd64")
{
# Install 64-bit Customizations
msiexec /i $scriptPath\googlechromestandaloneenterprise64.msi NOGOOGLEUPDATE=1 /qb | Out-Null
copy-item $scriptPath\master_preferences_gpo 'C:\Program Files (x86)\Google\Chrome\Application\master_preferences'
#& $scriptPath\streams -s -d 'C:\Program Files (x86)\Google\Chrome' /accepteula | out-null
}
# Tidy up install and icons etc
$ChkFile = 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk'
$FileExists = (Test-Path $ChkFile -PathType Leaf)
if (($FileExists))
{
Copy-item 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk' 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk' | Out-Null
# Remove-Item 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome\*' -Recurse | Out-Null
Remove-Item 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome' -Recurse | Out-Null
}
$ChkFile = 'C:\Users\Public\Desktop\Google Chrome.lnk'
$FileExists = (Test-Path $ChkFile -PathType Leaf)
if (($FileExists))
{
Remove-Item 'C:\Users\Public\Desktop\Google Chrome.lnk' -Recurse | Out-Null
}
# Check if Active Setup for Google Chrome exists. We dont want the Quick Lanch icon added so we will remove it.
$RegistryExists = (Test-Path HKLM:"SOFTWARE\Microsoft\Active Setup\Installed Components\{8A69D345-D564-463c-AFF1-A69D9E530F96}")
if (($RegistryExists))
{
Remove-Item HKLM:"SOFTWARE\Microsoft\Active Setup\Installed Components\{8A69D345-D564-463c-AFF1-A69D9E530F96}" -Recurse | Out-Null
}
if ($LastExitCode) {exit $LastExitCode}
Function Get-RegistryValue {
param (
$key,
$value
)
(Get-ItemProperty -Path $key -Name $value).$value
}
I have a CA called KillGoogleUpdateExe and it runs this command
Dim oShell : Set oShell = CreateObject("WScript.Shell")
oShell.Run "taskkill /f /im googleupdate.exe", , True
Also if your having trouble installing the MSI, read my posting on where to get the unmolested MSI http://www.itninja.com/question/google-chrome-enterprise-silent-install
change the BuildInstallCommand to look like this -
/silent /install "[ProductTag]" /installsource enterprisemsi[OptOmahaArgs] /appargs "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=[MASTER_PREFERENCES]"
then add a Property called MASTER_PREFERENCES and put in the preferences you need for install and first run. GPO's take over with the things missed in the MASTER_PREFERENCES.
I hope that helps
I've had problems with google update interfering with the msi install of chrome, even today.
Google Update:
-does not register in add/remove programs
-is always 32-bit, even with the 64-bit chrome
-never gets uninstalled
You can uninstall google update with this command line option, but google products like Earth and Chrome have to be uninstalled first:
"c:\program files (x86)\google\update\googleupdate.exe" -uninstall
Or you can simply try deleting the folder it's in.