Views: 7.1k  |  Created: 02/18/2015 by: hayds

Average Rating: 1
Earth Pro has 2 inventory records, 0 Questions, 0 Blogs and 2 links. Please help add to this by sharing more!

Deployment Tips (3)

Most Common Setup Type
Windows Installer (Delivered as an EXE)
Average Package Difficulty Rating
Rated 1 / 5 (Very Easy) based on 1 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
or cancel
0
Note
1.  Grab the  latest version of the full installer from Google's website:

https://support.google.com/earth/answer/176155?hl=en&ref_topic=2376762
(as of 2015/06/09, the direct link to the Windows installer is here:  http://dl.google.com/dl/earth/client/advanced/current/googleearthprowin.exe)

2.  The command line to install is simple:  "googearthprowin.exe OMAHA=1"  (without the quotes)
Thanks to aidtopia, who provides this info in this thread:  https://productforums.google.com/forum/#!msg/maps/gnP4HYZhUdQ/AiHHf1Cx_vcJ

3. From there, the registry lines hayds provided should work:

reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Username" /d "user@domain.com" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Passport" /d "GEPFREE" /f




Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: Very Easy
Platform(s): Windows
  • GEP seems to want those registry values in HKCU. How did you get them to work with HKLM?
Please log in to comment
0
Script

I made this Powershell script to install Google Earth Pro 7.1.5.1557.  I run it using Configuration Manager 2012.  The script basically outlines the solution found here: https://productforums.google.com/forum/#!topic/maps/NhT3W2ZameI (Unattended Install of Google Earth Pro), I just combined it into a one step script solution.  You do have to follow the steps to extract MSI from the EXE.  I also would imagain as this solution gets older you may need to rework the Binary registry key.  You can get this by installing the program and grabbing the key from the registry. Then just add "0x" before each pair.  I hope it helps.


#Find Root Folder (Works for both PS 2.0 and PS 3.0)
function PSScriptRoot { $MyInvocation.ScriptName | Split-Path }


#Install application and wait for install process to finish
Set-location $(PSScriptRoot)
$msifile = 'msiexec.exe'
$arguments = ('/i "' + $(PSScriptRoot) +  '\GoogleEarthProWin.msi" ALLUSERS=1 /qn /norestart /log C:\Windows\CCM\Logs\GoogleEarthPro7.1.5.1557.log')
Start-Process -file $msifile -arg $arguments -passthru | wait-process



# Added required Regstery Keys
# *********************************************************************************************************************
#Possible enumeration values for 'Type' are "String, ExpandString, Binary, DWord, MultiString, QWord, Unknown"
$RegData1 = "1"
$RegVal1 = "FileAssociationsRegistered"
If(${Env:ProgramFiles(x86)})
{
    $RegData2 = ${Env:ProgramFiles(x86)} + "\Google\Google Earth Pro\client\"
    $Path = "HKLM:\SOFTWARE\Wow6432Node\Google\Google Earth Pro"
}
Else
{
    $RegData2 = ${Env:ProgramFiles} + "\Google\Google Earth Pro\client\"
    $Path = "HKLM:\SOFTWARE\Google\Google Earth Pro"
}
$RegVal2 = "InstallLocation"
$RegData3 = ([byte[]](0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x10,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x10,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x04,0x00,0x2f,0x67,0x12,0x42,0x8d,0x0c,0x77,0xf9,0xe9,0x10,0x82,0xc8,0x5f,0xf6,0x6d,0x15,0xa7,0x1c,0xbd,0xf4,0x2a,0xcd,0x9f,0xa1,0x3d,0x2c,0x99,0x70,0xe7,0x57,0x1f,0x10,0xf0,0xc4,0x1f,0x2a,0xc9,0x69,0xf3,0xb5,0x69,0xdc,0x12,0x2a,0x6c,0x35,0x8c,0xd6,0xa3))
$RegVal3 = "AData"
$RegData4 = "GEPFREE"
$RegVal4 = "Passport"
$RegData5 = "
users@MyDomain.com"
$RegVal5 = "Username"
$RegData6 = "1"
$RegVal6 = "hideUserData"
$RegData7 = "1"
$RegVal7 = "DisableDeactivation"

#If Registry Path doesn't exits, create it.
if (-not (Test-Path $Path)){
    New-Item $Path -ItemType Registry -Force | Out-Null
}

# Change/Create Registry Value.
New-ItemProperty $Path -Name $RegVal1 -Value $RegData1 -PropertyType "DWord" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal2 -Value $RegData2 -PropertyType "String" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal3 -Value $RegData3 -PropertyType "Binary" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal4 -Value $RegData4 -PropertyType "String" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal5 -Value $RegData5 -PropertyType "String" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal6 -Value $RegData6 -PropertyType "String" -Force | Out-Null
New-ItemProperty $Path -Name $RegVal7 -Value $RegData7 -PropertyType "String" -Force | Out-Null
# *********************************************************************************************************************

Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
-1
Command Line
start /wait "" X:\GoogleEarthProWin.exe /S /v/qn /V"ALLUSERS=1 /passive /norestart /log %temp%\program.log"
reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Username" /d "user@domain.com" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Passport" /d "GEPFREE" /f
Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: unspecified
Platform(s): Windows
  • Regarding the Username key. Have you checked to see if the same key under the HKCU hive sets itself as user@domain.com? My issue is the install wants to assign my email to that value since it was used when I originally downloaded GEP. I need to deploy this to other PCs and do not want my email appearing in that value on all of the machines.
  • I am unable to deploy silently GoogleEarthProWin.exe with this command switch. Did it work on your side?
    • This worked for me win 7 enterprise 64bit environment
  • This did not work for me either on Windows 7, 64-bit.
    • This worked for me win 7 enterprise 64bit environment
Please log in to comment

Inventory Records (2)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Earth Pro

Version

7

Questions & Answers (0)

Questions & Answers related to Google Earth Pro

Blogs (0)

Blog posts related to Google Earth Pro

Reviews (1)

Reviews related to Google Earth Pro

Silent install does not working.

Attempting setup install Via Dell Kace K1000 Box.

Google Earth Pro 7.1.4.1529
Build Date 3/30/2015
Build Time 10:21:18 pm

Create Batch File, and Used Code below: 
start "" /wait GoogleEarthProWin.exe /S /v /qn /V"ALLUSERS=1 /passive /norestart /log %temp%\program.log"
reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Username" /d "user@domain.com" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Google\Google Earth Pro" /v "Passport" /d "GEPFREE" /f

Install works but the silent part does not.  
----------------------
Just running from the Command Prompt:
GoogleEarthProWin.exe /S /v /qn /V"ALLUSERS=1 /passive /norestart /log %temp%\program.log"

Did not run silent.


Was this helpful?
This content is currently hidden from public view.