Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Silent switches for Google Earth

- - - - -

  • Please log in to reply
8 replies to this topic

#1
ckislam

ckislam

    Islam Adel

  • Member
  • PipPip
  • 137 posts
  • Joined 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag
anybody knows the silent switches for Google Earth ?
Islam Adel
TGUP Posted ImagePosted Image


How to remove advertisement from MSFN

#2
ckislam

ckislam

    Islam Adel

  • Member
  • PipPip
  • 137 posts
  • Joined 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag
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

Islam Adel
TGUP Posted ImagePosted Image

#3
NOTS3W

NOTS3W

    Member

  • Member
  • PipPip
  • 117 posts
  • Joined 19-April 07
@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

#4
ckislam

ckislam

    Islam Adel

  • Member
  • PipPip
  • 137 posts
  • Joined 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag
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 !!!
Islam Adel
TGUP Posted ImagePosted Image

#5
NOTS3W

NOTS3W

    Member

  • Member
  • PipPip
  • 117 posts
  • Joined 19-April 07
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

#6
RaGhul

RaGhul

    XP Tweaker

  • Member
  • PipPip
  • 163 posts
  • Joined 22-December 06
  • OS:Windows 7 x86
  • Country: Country Flag
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.ne...pic.php?p=51508

Hope that helps you guys out. ;)
Posted Image

#7
Fenix999

Fenix999
  • Member
  • 3 posts
  • Joined 01-September 07
I just use the switch : Gogle_Earth.msi /qn /qb after extract the file
and it work fine for me
Post me if i'm wrong
I used Gogle Earth 4.2 beta :)

#8
ckislam

ckislam

    Islam Adel

  • Member
  • PipPip
  • 137 posts
  • Joined 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag
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
Islam Adel
TGUP Posted ImagePosted Image

#9
deadbug

deadbug

    Member

  • Member
  • PipPip
  • 102 posts
  • Joined 30-June 05

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: )




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users