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

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
Please log in to comment

Community Chosen Answer

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

HKLM\software\wow6432node\google\update

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
Please log in to comment

Answers

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

HKLM\software\wow6432node\google\update

HKLM\software\wow6432node\google\update
HKLM\software\wow6432node\google\update

# 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
}

Answered 09/08/2014 by: bibingeorge
White Belt

Please log in to comment
0
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
Third Degree Brown Belt

Please log in to comment
0
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
Orange Senior Belt

Please log in to comment
0
See if this works.

:: ***** Set varilables *****
:: Environment Variables for x86/x64
IF %PROCESSOR_ARCHITECTURE%==AMD64 SET HKPATH=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
IF %PROCESSOR_ARCHITECTURE%==x86 SET HKPATH=HKEY_LOCAL_MACHINE\SOFTWARE
ECHO %HKPATH%

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

:: ***** 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 *****
IF %ERRORLEVEL%==1 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

:: ***** 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

Please log in to comment
Answer this question or Comment on this question for clarity