Wednesday, February 13, 2013

Google Earth Pro Repackaged for SCCM with license key

Tags: install google earth pro with license key

Google Earth Pro can be downloaded here http://www.google.com/earth/download/gep/agree.html

Select Version 7.0 and un-tick “allow Google Earth to install Recommended Updates Automatically”.  Most Enterprise software is highly controlled and making sure versions are consistent and understood is essential.

 

GoogleEarthProWin.exe can be installed silently with the following switch.

GoogleEarthProWin.exe /S /v/qn /V"/qn ALLUSERS=1"

 

Or you can extract the exe to get at the MSI using a tool like 7zip.  The switch here is: msiexec /i "Google Earth Pro.msi" /qn

 

The issue that most SCCM Admins face is how to deploy Google Earth Pro with the license details included in the package.

 

In my example I will use InstallShield to create an MST file to transform the MSI file.

 

Once you have installed GEP you will be prompted for the username and password credentials.  Input them, and click “Auto login”.

 (Please be careful when modifying the registry, i accept no responsibility)

Open Regedit and navigate to top level path representing your current user hive. i.e HKEY_Users\S-1-5-21-########

 

Right Click:  Software/Google/Google Earth Pro and export reg key ( i.e. C:\temp\gep\gep.reg)

Change the key path to HKLM and remove all entries except for, as below:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Google\Google Earth Pro]

"AData"=hex:

"HideUserData"=dword:00000001

"Passport"="Insert Password"

"Username"="Insert Username"

"DisableDeactivation"=dword:00000001

 

This is all that is required to for any user to open Google Earth Pro without being prompted for credentials.

Now open Installshield and create a new MST project.

Click on System Configuration\Registry\

Right click on HKLM and select Import Reg file… Select the Reg created above.

Save the project to make the MST file (GoogleEarthPro7.0.mst)

Now using the MSI extracted earlier you can transform the MSI with the following command line.

 

msiexec /i "Google Earth Pro.msi" TRANSFORMS=GoogleEarthPro7.0.mst /l*v C:\temp\Logs\GoogleEarthPro7.0.log /qn

3 comments:

  1. I have the latest googleearthprosetup.exe and am trying to deploy it in SCCM2007. What is the command line I would need to do it silently?

    ReplyDelete
  2. I have the latest googleearthprosetup.exe and am trying to deploy it in SCCM2007. What is the command line I would need to do it silently?

    ReplyDelete
    Replies
    1. You can install the exe and then review the C:\Windows\Installer folder for the MSI. To find the MSI sort by date and review the MSI details. The MSI name will look random i.e. 3f617e.msi
      msiexec /i 3f617e.msi /qn

      Delete