Jump to content

Silent switches for Google Earth


ckislam

Recommended Posts


I found them here, here is the code i used for the batch file in TGUP:

set ans="%temp%\setup.iss"

rem genareate ans_file

echo [InstallShield Silent]>%ans%
echo Version=v7.00 >>%ans%
echo File=Response File>>%ans%
echo [File Transfer]>>%ans%
echo OverwrittenReadOnly=NoToAll>>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-DlgOrder]>>%ans%
echo Dlg0={3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdWelcome-0 >>%ans%
echo Count=5 >>%ans%
echo Dlg1={3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdLicense2Rtf-0 >>%ans%
echo Dlg2={3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SetupType2-0 >>%ans%
echo Dlg3={3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdStartCopy2-0 >>%ans%
echo Dlg4={3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-AskOptions-0 >>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdWelcome-0]>>%ans%
echo Result=1 >>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdLicense2Rtf-0]>>%ans%
echo Result=1 >>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SetupType2-0]>>%ans%
echo Result=304 >>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-SdStartCopy2-0]>>%ans%
echo Result=1 >>%ans%
echo [Application]>>%ans%
echo Name=Google Earth>>%ans%
echo Version=4.0.2737 >>%ans%
echo Company=Google>>%ans%
echo Lang=0009 >>%ans%
echo [{3DE5E7D4-7B88-403C-A3FD-2017A8240C5B}-AskOptions-0]>>%ans%
echo Result=1 >>%ans%
echo Sel-0=0 >>%ans%

rem end answer file


echo Installing Google Earth..
echo.
start /wait "Google Earth Setup" "GoogleEarth.exe" /s /f1"%ans%" /SMS

Link to comment
Share on other sites

  • 4 months later...

@ckislam:

Yours seems to be the only thread regarding Google Earth 4. I hope you're still around.

Does your script leave a shortcut to Google Earth on your desktop? When I use your iss file, I see a shortcut get created on the desktop then, just before the installation completes, it disappears.

The shortcut remains after a manual installation. It only disappears when I use the iss file.

I created my own setup.iss file using the /r switch to capture the responses and to be sure it wasn't a machine dependent problem, but I get a file that's identical to what you are writing with the echo statements, and the results are the same: no desktop icon.

The exe I downloaded is named GoogleEarthWin.exe (not GoogleEarth.exe as you show) but the versions are exactly the same.

Ray

Link to comment
Share on other sites

i think you have to remove the shortcut with the del command. but this iss file worked only for the 4.0 version. I don't know why it doesn't work anymore for 4.1 !!!

Link to comment
Share on other sites

I'm using the same version you referred to in your code block: 4.0.2737. That's why I was wondering if the desktop shortcut disappears as it does for me when you install with your routine. I usually delete the desktop shortcut after installing each application, but in this case, I wanted the desktop shortcut and it's the only one that's disappearing during install. Very frustrating.

Good to know you're still here.

Thanks.

Ray

Link to comment
Share on other sites

  • 4 weeks later...

Hi guys.

I just made myself a switchless installer that seems to work pretty well, and installs fast. I Googled alot, then figured this out:

1) Download Google Earth, obviously.

2) Install using the "/a" switch (administrative install). It will ask you where you want the files to go. I suggest "C:\GE4", but it doesn't matter. Just remember where they went.

3) Go to the folder. You'll see an .msi file, and a folder named "program files". Use 7zip to archive the folder, the .msi, and msistub.

4) Now, just make a 7zip Self-Extracting Installer like you normally do.

Here's keytotome's tutorial which will fill in the blanks for me:

http://www.ryanvm.net/forum/viewtopic.php?p=51508

Hope that helps you guys out. ;)

Link to comment
Share on other sites

  • 1 month later...

I used this switch without extraction and it works well.

/S/v/qn /V"/qb"

To define custom installation Language, add /L"Lang-ID"

For English for example use:

/S/v/qn /V"/qb" /L"1033"

For German use:

/S/v/qn /V"/qb" /L"1031"

To see a list of other languages visit this url

Link to comment
Share on other sites

  • 1 year later...
I used this switch without extraction and it works well.

/S/v/qn /V"/qb"

Thanks.

I can report that it still works well with 4.2.0205.5730 but you must remember to leave a space before the /V"/qb" otherwise the installation will no longer be silent. (Thank heavens for virtual machines :sneaky: )

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...