Scripting Question

Trouble Installing Google Chrome MSI Package

09/08/2014 45018 views
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!

2 Comments   [ + ] Show comments


  • 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
  • Windows 7

Community Chosen Answer

This happens to me from time to time. I have to delete this registry key and then the install will work:


Did you try that?
Answered 09/08/2014 by: jegolf
Red Belt

  • 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. -
  • most of this error comes in 32 bit
  • helped me to reinstall chrome msi
  • Worked for me! Thanks for this Information.

All Answers

See if this works.

:: ***** Set varilables *****
:: Environment Variables for x86/x64

:: ::::::::::::::::::::::::::::::::::::::::::

:: ***** Check if Chrome installation exists *****

REG QUERY "%HKPATH%\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96}"
REM ***** If registry exist continue to uninstall script. If registry key does not exist goto :INSTALL *****

:: ::::::::::::::::::::::::::::::::::::::::::

:: ***** Setup.exe uninstall script *****
:: ****** Query for setup.exe path *****
FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "%HKPATH%\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96}" /v UninstallString`) DO (
    set appdir=%%A %%B
ECHO %appdir%
:: ***** Setup.exe uninstall *****
"%appdir%" --uninstall --multi-install --chrome --system-level --force-uninstall

:: ::::::::::::::::::::::::::::::::::::::::::

REM ***** taskkill GoogleUpdate.exe *****
taskkill.exe /F /IM GoogleUpdate.exe /T

:: ::::::::::::::::::::::::::::::::::::::::::


:: ***** Install *****
MsiExec.exe /i "%~dp0GoogleChromeStandaloneEnterprise.msi" NOGOOGLEUPDATING=1 /l*v "%TEMP%\SCCM Google Chrome.log" /qn

Thanks to Piyush's concept with his vbscript
Answered 04/01/2015 by: freewill0078
Senior Yellow Belt

Hi Jegolf,

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 (
    (Get-ItemProperty -Path $key -Name $value).$value

Answered 09/08/2014 by: bibingeorge
White Belt

When you used the Microsoft Fixit tool, were you using the uninstall or install option? I'd used it numerous times before to uninstall and its never failed for me yet. Try Microsoft Fixit to uninstall Chrome and then try a reinstall. Also did you link the MSI straight into Group Policy or did you edit it? 

As a side thought are the ones giving problems up to date with Windows Updates, etc? Don't think that should be an issue but may be worth a try.
Answered 09/09/2014 by: alphabeta
Black Belt

I don't like using Custom Actions inside of MSI's, but sometimes (wince) you have to.
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
Answered 03/13/2016 by: Tempril
Purple Belt


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.

Answered 10/06/2020 by: jszabo
Senior White Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ