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
# *********************************************************************************************************************
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.