Install Chrome with SCCM

In my last post, I explained how to install Firefox with Configuration Manager. In this post, I will be going over the steps for configuring, packaging, and deploying the latest version of Google Chrome. You will learn how to install Chrome with preconfigured settings and extensions, suppressing all unnecessary prompts and welcome pages.

Step 1 – Download the latest version of Chrome.

The installer is available as an MSI package, so it can be deployed with various systems and application management tools, such as Group Policy and System Center Configuration Manager.

Step 2 – Create a new folder for the installer and scripts.

For this guide, I will be saving all the required files to the following location:

\\SCS-CFGMGR-MP\SWSTORE\Software\Installed\Google Chrome\V54

Step 3 – Download and install Google Chrome Enterprise on a reference computer.

Navigate to the Chrome Web Store and download the extension you wish to include with your Chrome deployment. I will be using OneNote Web Clipper 3.2.14 for my test environment.

OneNote extension

OneNote extension

Navigate to C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Extensions\gojbdfnpnhogfdgjbigejoaolejmgdhk\3.2.14_0 and copy the file "manifest.json" to the source folder you created. Open this file with Notepad and make note of the following information:

Also make note of the extension string: gojbdfnpnhogfdgjbigejoaolejmgdhk

Again, navigate to C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\ and copy the file "preferences" to the source folder you just created. Unlike the manifest.json file you viewed earlier, this file has a lot more information to digest.

Preferences file

Preferences file

Run a search for the extension string (gojbdfnpnhogfdgjbigejoaolejmgdhk) until you find the entry {"active_permissions": and make a note of the following:

Though the extension you wish to include with your deployment may be different to the one used in this guide, the information extraction process is mostly the same for all extensions. The only differences will be the permissions and the extension string. If you created another user profile in Chrome, both the manifest.json file and the preferences file may be located under a different folder than Default (Profile 1, Profile 2, Profile 3, etc.)

Step 4 – Navigate to C:\Program Files (x86)\Google\Chrome\Application and copy the file "master_preferences" to the source folder you just created.

Open the master_preferences file with Notepad and copy and replace the following information:

You may also change the "true" and "false" strings to meet the needs of your environment, however, be careful when doing so because Chrome will launch using the default settings without your configuration if the master_preferences file is corrupt or invalid. You can run your code through a website such as JSONLint (jsonlint.com) to verify that your syntaxes are correct.

Master Preferences file

Master Preferences file

Step 7 – Open Notepad and create a text file called "install.bat".

Copy and paste the following information:

When you are done, save the file to the source folder you just created. We are now ready to deploy the application with SCCM.

Step 8 –Start the Create Application wizard in SCCM

Click on the "Software Library" tab to expand Application Management, and click on the "Applications" applet. Find and open the "Create Application Wizard" in the Ribbon above. When the wizard launches, choose "Manually specify the application information" and click "Next." Enter any information you think is necessary and click "Next" again.

Create Application wizard

Create Application wizard

Configure application information

Configure application information

Configure application catalog information

Configure application catalog information

Step 9 – Configure general information and content

When asked to specify settings for this deployment type, choose "Script Installer" and click "Next." Enter a name for the deployment type (I usually just put Install) and choose a language; I will select English (United States).

Specify deployment type

Specify deployment type

Click "Next," and on the next screen, specify the content location, installation program, and uninstallation program (optional). I will not be specifying an uninstall program as with my environment this application should not be uninstalled and will be advertised to workstations as a required application. Note that for the installation program, I selected "install.bat" instead of "googlechromestandaloneenterprise64.msi".

Specify content delivery

Specify content delivery

On the next page, we are going to specify how Configuration Manager will detect whether the workstation needs Google Chrome installed. Click "Add Clause," and leave the settings at their default values. Configure the other settings as follows:

Type: Folder

Path:  C:\Program Files (x86)\Google\

File or Folder Name: Chrome

Click OK and click Next.

Create application detection rule

Create application detection rule

Step 10 –Specify the user experience settings

Essentially, we will configure how the application will install on the computer. Configure the settings as follows:

Installation behavior: Install for System

Logon requirement:  Whether or not a user is logged on

Installation program visibility: Hidden

You can leave the maximum allowed run time and estimated installation time alone if you wish, however I am going to set both the maximum allowed run time and the estimated installation time to 15 minutes.

There’s no reason why this application should take longer than 15 minutes to install. For now, I am not going to specify any requirements, and Google Chrome has no dependencies, so I am going to click "Next" for the last few screens, and at the end I will be shown a summary of my configuration. Click "Next" to finish creating the application and exit the Create Application wizard.

Summary page

Summary page

Step 11 – Distribute and deploy Google Chrome.

Right-click on the Google Chrome application and select "Deploy."

Deploy application

Deploy application

Choose the Device Collection you would like to deploy the application to and click "Next."

Push to collection

Push to collection

Step 12 – Specify the distribution point(s) or distribution point group.

After you have configured the distribution point (s) you would like to distribute the application to, click "Next."

Step 13 – Specify the type of deployment you would like to advertise.

In this example, we will set the deployment type to be a Required application.

Specify type of application

Specify type of application

Step 13 – Leave the scheduled deployment deadline as-is.

You don't have to change the scheduled deployment deadline, so you can just click "Next."

Step 14 – Specify the user experience.

You have to decide here whether you would like the end user to be notified that the application has been made available. In this example, I am going to opt to "Hide notifications in Software Center." Leave the option under handling Windows embedded devices as-is and click "Next."

Hide in software center

Hide in software center

Step 15 –Leave the alert settings alone.

Click "Next," and on the confirmation page, click "Next" one more time to finish and close the Deployment Wizard.

Step 16 – Wait a few minutes until SCCM starts installing Chrome.

Logon to one of the workstations in the Device Collection you deployed Chrome to earlier. Google Chrome should now be installed. When you launch Chrome for the first time, the browser will start without any unnecessary prompts or welcome pages, and will automatically enable the OneNote Web Clipper extension.

Chrome has been installed

Chrome has been installed

Want to write for 4sysops? We are looking for new authors.

Read 4sysops without ads and for free by becoming a member!

1+
Share
4 Comments
  1. David Feldt 3 years ago

    Just a little thing I had trouble with this guide:

    It was the 1st line in install.bat:
    msiexec /i " %~dp0googlechromestandaloneenterprise64.msi" /qb

    Eventually I solved it and the 1st line, it should read like this instead:
    msiexec /i %~dp0googlechromestandaloneenterprise64.msi /qb

    Thanks for a good guide!

    //David

    1+

  2. Jon 2 years ago

    This guide doesn't explain how to do this with other extensions.  You instruct to take note of things, but don't explain for what reason, and then you have a copy/paste instruction, which looks to have information for your specific extension without explanation of where that came from, or how to do this with different extensions.

    You can do a better job than this, as this is, this is absolutely useless for figuring out how to do this process with other extensions!

    0

  3. Josh 2 years ago

    This command worked for us when deploying with a master preference file.

    msiexec /i %~dp0googlechromestandaloneenterprise64.msi /qn
    XCOPY "%~dp0master_preferences" "%ProgramFiles(x86)%\Google\Chrome\Application"/E /V /H /Y

    0

Leave a reply

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2020

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account