Uninstalling Google chrome
Hello, i need help in uninstalling Google chrome 31.0 silently. I have installed the application using Google Chrome standalone setup.exe /silent. Now i am running C:\Program Files\Google\Chrome\Application\31.0.1650.59\Installer>setup.exe --uninstall --multi-install --chrome --system-level from command prompt, this gives me a pop up to select if i want to delete browser history / set default browser to IE, and IE launches for feeback. I want to skip these steps and silently uninstall google chrome, any help is appreciated.
Thanks
Shree
5 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
fantomasss
10 years ago
There is a vbs too :
'============================================================== 'Lines to get the computer Name Const HKEY_LOCAL_MACHINE = &H80000002 Set wshShell = WScript.CreateObject( "WScript.Shell" ) strComputerName = wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" ) dim folder, MyProperties, arrMyProperties, Exe, Param, oReg, strKeyPath, strValueName '============================================================== 'To check whether the OS is 32 bit or 64 bit of Windows 7 '============================================================== 'Lines to detect whether the OS is 32 bit or 64 bit of Windows 7 Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputerName & "\root\default:StdRegProv") strKeyPath = "HARDWARE\DESCRIPTION\System\CentralProcessor\0" strValueName = "Identifier" oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue '============================================================== 'Checking Condition whether the build is 64bit or 32 bit if (instr(strValue,"64")) then folder = "C:\Program Files (x86)\Google\Chrome" RegVal = ReadReg ("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome\UninstallString") End If if (instr(strValue,"x86")) then folder = "C:\Program Files\Google\Chrome" RegVal = ReadReg ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome\UninstallString") End If '============================================================== MyProperties = RegVal arrMyProperties = Split(MyProperties, "-") Exe = arrMyProperties(0) Param = "--uninstall --multi-install --chrome --system-level --force-uninstall" 'Uninstall Previous version Chrome '============================================================== wshShell.run Exe & Param, 1, True 'Delete leftover folder and files from Previous version Chrome '============================================================== dim filesys Set filesys = CreateObject("Scripting.FileSystemObject") If filesys.FolderExists(folder & "\") Then filesys.DeleteFolder folder End If Function ReadReg(RegPath) Dim objRegistry, Key Set objRegistry = CreateObject("Wscript.shell") Key = objRegistry.RegRead(RegPath) ReadReg = Key End Function
http://www.google.co.uk/intl/en-GB/chrome/business/browser/admin/
Using this obviously means that can you use standard MSI uninstall commands. - dunnpy 10 years ago
https://support.google.com/chrome/answer/111899?hl=en - SMal.tmcc 10 years ago
Faulting application name: chrome.exe, version: 31.0.1650.63, time stamp: 0x529e8b45
Faulting module name: chrome.dll, version: 31.0.1650.63, time stamp: 0x529e84ac
Exception code: 0xc0000409
Fault offset: 0x001001c9
Faulting process id: 0x12a0
Faulting application start time: 0x01cefbebb7440dad
Faulting application path: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Faulting module path: C:\Program Files (x86)\Google\Chrome\Application\31.0.1650.63\chrome.dll
Report Id: f530f905-67de-11e3-baeb-005056a13d34 - shreeitninja 10 years ago