Nov 252013
 

I had some weird problems with Chrome 31.0.1650.57 as an App-V 5 Sequence. The program wouldn’t start. Sometimes it would work as an administrator after some tries. After that It would start as a normal user.

After a lot of troubleshooting and searching a lot in Google, I’ve made an Appv with the following settings.

I’ve used Chrome For Business, as this installs in Program Files and not in the user profile.
You can download it here

Use the following primairy virtual directory for the installation. Do not put Chrome at the end as there will be 2 more directories.
C:\Program Files (x86)\Google

Use the following command line to install Chrome.
Msiexec /i GoogleChromeStandaloneEnterprise.MSI ALLUSERS=TRUE /QB-

After the installation, remove the directory %ProgramFiles(X86)%\Google\Chrome\Application\VERSION\Installer
Copy an empty file named First Run in your application directory to disable the first run wizard.

I’ve made a file named master_preferences with the default settings. this will be copied into the user profile when they start Chrome for the first time. Most of these settings can be managed with a GPO. My master_preferences contain the following.

{
"homepage": "about:blank",
"homepage_is_newtabpage": false,
"browser": {
"show_home_button": true,
"check_default_browser": false
},
"sync_promo": {
"startup_count": 7,
"user_skipped": true,
"view_count": 7
},
"distribution": {
"do_not_create_desktop_shortcut": true,
"do_not_create_quick_launch_shortcut": true,
"skip_first_run_ui": true,
"show_welcome_page": false,
"import_search_engine": false,
"import_history": false,
"make_chrome_default": false,
"suppress_first_run_default_browser_prompt": true,
"require_eula": false
}
}

You can make your own, the documentation can be found here Make sure there are no errors in the file or Chrome will ignore it. You can validate the content on the JsonLint site.

Start the following to disable updates or you can use a GPO. You can download it here
REG ADD HKLM\SOFTWARE\Wow6432Node\Google\Update /v AutoUpdateCheckPeriodMinutes /d 0 /t REG_SZ /f

Normally Chrome needs a reboot, but this can be removed and this is not necessary.
REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /d "" /t REG_MULTI_SZ /f
This solution will wreck the the embedded Flash. If you have Flash installed on your server/desktop this can ben changed to the normal Flash with the following argument chrome.exe --disable-bundled-ppapi-flash

When the Sequence is finished. Remove every registry key except the following:

[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Classes]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Clients]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GoogleUpdate.exe]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\RegisteredApplications]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Google]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Active Setup]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer]
[HKEY_LOCAL_MACHINE\Chrome\REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall]

Save the package. The package is finished.

  2 Responses to “Google Chrome in App-V 5”

  1. Nice one mate!

  2. Could you check what About Google Chrome says about the AutoUpdates. Are they disabled by the administrator or are they failing with error 1?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)