300+ free and legal portable apps (over 9GB), up-to-date, & new apps regularly (Jul 28, 2014: Transmission-qt).
Get the fast, new 64GB PortableApps.com Companion, encrypted PortableApps.com Carbide, or carry your KeyZ.
PA.c Platform 12.0 Beta 3.2 (May 20, 2014) | PortableApps.com needs your help: Please donate today.

[outdated] Google Earth 5.x Portable Dev Test 8

Pyromaniac's picture
Pyromaniac
Developer
(Homepage) - June 12, 2010 - 10:25pm

Outdated: This current thread is outdated. You can find the latest development test over here.

Application: Google Earth
Catagory: Internet
Description: Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can explore rich geographical content, save your toured places, and share with others. (direct quote from site)

Download Google Earth Portable Development Test 8
750 KB Download; 82 MB Installed
MD5: f9401705e2534703c8b2d46183795e8c

Online Installer: This is an online installer which will download the addition files during setup. Because of the extraction process, the GoogleEarthPortable folder will increase to 170 MB during installation, then go back down to 82 MB. If your almost out of space on your drive, I suggest you install to your desktop and then copy it over to your USB drive.

Release Notes
December 14, 2010: I realized that there was an issue with enabling cache that caused the cache folder to be saved inside itself over and over. I also fixed errors in the launcher ini.

September 12, 2010: Rewrote launcher with PAL. Added splash. Renamed app to Dev Test 7. (Hopefully) the launcher now deletes the empty folders is creates in Vista/7. TEMP files now removed.

August 5, 2010: I fixed the problem with the INI file making the launcher freak out. I had mixed up the paths in my launcher and INI file. Also, in some tests, it looked like it was case sensitive (for example, I ran the launcher with the INI file having the GoogleEarthExecutable=GoogleEarth.exe and that did not work, but when I set it to googleearth.exe, it worked. IDK why thats happening, but I fixed it. Setting StoreCaches=true now works. I need some testers on Vista/7 to see if the files are still left behind. I tried to gain access to one but I couldn't so I need ya'll to check for me, please. XP worked, though.

July 14, 2010: I did a total re-write of the launcher. The danged INI file isn't being "properly" read by the launcher, so I made the cache patch.

June 16, 2010: I added an INI variable that allows you to choose whether or not you want to store cache (default value is false). Set it to true and put it in your GoogleEarthPortable folder and the launcher will save your cache.

June 15, 2010: Its as clean as its gonna get. There are a few files that are impossible to delete that the program edits but other than that, its clean (these are the same files Google Chrome Portable edits, so I'm not worried). I fixed Installer.ini so that it doesn't check MD5 sums so that you don't get the error message.

June 12, 2010: Now it cleans up after itself a little bit better.

June 11, 2010: Initial Release

Enjoy!

Mod JTH Note: This node had to be recreated. The old one corrupted the search index. After further investigation, it was due to an immense, unedited system change snapshot posted by horusofoz including numerous repeated hex codes (see here. Please refrain from making huge text posts like that in the forum. For a regshot that big, use pastebin.


( categories: )

My bad,

Sorry I didn't think to do that in the first place Puzzled

PortableApps.com Advocate

Drupal Bug

It's a bug in Drupal and the first time we've seen it. I reported it over there. No harm. No we know Smiling

Sometimes, the impossible can become possible, if you're awesome!

I suggest using pastebin.com

I suggest using pastebin.com and then posting the url for the post on pastebin to the comment you are writting, makes it easier in a sense and breaks less things Sticking out tongue

your friendly neighbourhood moderator Zach Thibeau

Can't launch with cache on

I can't launch when I turn cache on... this is what I get:
(BTW it works when It's off)

http://www.mediafire.com/imageview.php?quickkey=ym2dzzlnjy2&thumb=4

Ok

I'll look into it.

updated to 0.5

see release notes for changes

Download label confusion

Sorry but I don't quite understand the link labels. Correct me if I'm wrong.

1) Regular online installer without patch.

2) Standalone patch.

3) Online installer with patch included.

Oh and thanks for maintaining this Smiling

PortableApps.com Advocate

eh

The first one is an online installer with the 0.5 launcher

the second one has the 0.5 launcher, but it doesn't download Google Earth so as to save time when upgrading from an older version.

the third one is not an online installer and is the same as the second one but it stores cache. I didn't make it an online installer because I don't encourage using it.

Your welcome!

Sorry for the confusion.

Win 7 : Doesn't work properly

Hey,

Just tried your launcher on Win 7 x64 and it just doesn't work.
Nothing is saved in the PortableApps folder, instead everything is stored on the hard disk.

I've noticed that the Google folder gets deleted from C:\Documents and Settings\%username%\AppData\Local when I exit GoogleEarth.

However that folder is always empty (weird?) while running GoogleEarth.
But instead another folder fills up with stuffs:
C:\Documents and Settings\%username%\AppData\LocalLow\Google\GoogleEarth
Everything is inside, placemarks, settings, cache and stuffs.

Check this :
http://www.vistapcguy.net/?p=173

Hope that it will be of some help !

My guess...

My guess is the clean up section of the launcher has been hard coded to remove the the C:\Documents and Settings\%username%\AppData\Local folders which is where GEarth loads it's stuff when running on XP. Win 7 and Vista change use different folders. Therefore Pyromaniac will have to edit the launcher to detect OS and take into account the consequent different locations.

@Pyromainiac: I realize what I said is probably obvious to you but make the comment as I'm still trying to get my head around how to develop apps. From my (flawed) understanding this would be the solution. Can you confirm?

PortableApps.com Advocate

Thats right

Thats exactly right :
If you look at the source code, you'll see that it is using the $APPDATA var, which may contains C:\Documents and Settings\%username%\AppData\Local .

But the question is, is there a var for the LocalLow folder ?
Since I'm not an NSI coder I can't help any further than that xD .

Thanks everybody! I'll fix

Thanks everybody! I'll fix this in dev test 6.

will wait, great stuff

will wait, great stuff anyway!

Updated to 0.6

I need some Vista/7 tester please...

See release notes for changes.

Official Lauching

John, what does this app has to have to be launched as an official app? Because it isn't listed on application internet section.

Renatinh

This is only a development

This is only a development test. The reason it's not labelled "Development Text X" is because it doesn't have the splash screen, so it's not completely compliant with PortableApps.com development test specifications. (I took it out because I saw how Google Chrome didn't have it, so I didn't think that Google Earth should have one either.) It's probably not going official for a long time since John is backed up with a bunch of other apps which are waiting official release.

I have Win 7... I'll test as

I have Win 7... I'll test as well.

Test OS: Win 7 Ultimate Reg Mon: RegFromApps

GoogleEarth Portable is definitely on my 'wish list' for portable apps.

Downloaded Test 0.6 this evening. Started GoogleEarth Portable using RegFromApp to monitor registry process and noted the following:

(1) On first use NO entries are made to the Windows 7 registry.
(2) Added a Place mark and a couple of routes. These were saved and available on next opening of application.
(3) I then exited application. RegFromApp still did not shown any registry activity.
(4) I then opened GoogleEarthPortable using RegFromApp again and it threw up the following:-

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\googleearth_RASAPI32-BackupByGoogleEarthPortable]
"EnableFileTracing"=-
"EnableConsoleTracing"=-
"FileTracingMask"=-
"ConsoleTracingMask"=-
"MaxFileSize"=-
"FileDirectory"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\googleearth_RASMANCS-BackupByGoogleEarthPortable]
"EnableFileTracing"=-
"EnableConsoleTracing"=-
"FileTracingMask"=-
"ConsoleTracingMask"=-
"MaxFileSize"=-
"FileDirectory"=-

[HKEY_CURRENT_USER\Software\Microsoft\Tracing\googleearth_RASAPI32]
"EnableFileTracing"=-
"EnableConsoleTracing"=-
"FileTracingMask"=-
"ConsoleTracingMask"=-
"MaxFileSize"=-
"FileDirectory"=-

[HKEY_CURRENT_USER\Software\Microsoft\Tracing\googleearth_RASMANCS]
"EnableFileTracing"=-
"EnableConsoleTracing"=-
"FileTracingMask"=-
"ConsoleTracingMask"=-
"MaxFileSize"=-
"FileDirectory"=-

...the strange thing is, I've tried to duplicate the same action to get the above registry entry, but cannot. Tried five times, but RegFromApp is now not showing any registry activity. Not sure if the above is relevant.

Great app. Just curious about the registry monitoring message.

Thanks, GrahamG

Cambridge, UK

Don't use RegFromApp for our

Don't use RegFromApp for our launchers, especially for apps like Google Earth. RegShot will work better.

RegFromApp records every entry the app edits and modifies. Which, by the time the launcher exits, the modified entries will be reverted.

Siggys waste bandwidth... that's why I have one.

@gluxon - many thanks for

@gluxon - many thanks for that tip. Much appreciated.

Cambridge, UK

hmm

I don't think RegFromApp records what googleearth.exe, the 'internal app', I guess you can say.

As for the regshots... I've been getting mixed results. For me, it seems like each time I run Google Earth (not the launcher) I get different keys and some appear, some don't, and it seems like its all random. The only keys I could really see every time I ran it that always came up, were the two you saw there.

But I'm not too concerned with the registry entries [for the moment]

What I really want to know is if there were any settings left in %APPDATA%\LocalLow\GoogleEarth on Win Vista and/or 7. From the looks of your regshot, It seems that you have admin rights. Can you check if there are any settings left there?

Thanks!

@ Pyromaniac: "What I really

@ Pyromaniac:
"What I really want to know is if there were any settings left in %APPDATA%\LocalLow\GoogleEarth on Win Vista and/or 7. From the looks of your regshot, It seems that you have admin rights. Can you check if there are any settings left there?"

I can confirm that there are NO settings for GoogleEarth in %APPDATA%\LocalLow\GoogleEarth on Windows 7 Ultimate. There is a Google folder (%APPDATA%\LocalLow\Google), but this is completely empty. I assume this folder was created about the time I installed GEP last night. It may well have been the creation of this folder that RegFromApp picked up. But this folder is completely empty.

You've done an excellent job with this launcher Pyromaniac.

PS: I tried using RegShot, but it just didn't get on with Windows 7, just kept hanging, so have reverted back to RegFromApp for now.

Cheers,
GrahamG

Cambridge, UK

try

Regshot Portable

And thanks for checking.

Also, can you also check %LOCALAPPDATA%? I want to see if anything is different from XP on there, or not

Thanks!

%LOCALAPPDATA%

@Pyromaniac: "also check %LOCALAPPDATA%? I want to see if anything is different from XP on there, or not"

Just checked %LOCALAPPDATA% in Windows 7 Ultimate. There is a Google folder with two sub-folders for GoogleEarth. Sub-Folder 1 is "GoogleEarth" and Sub-Folder 2 is "GoogleEarth-BackupByGoogleEarthPortable".

Both of these sub-folders contain NO data.

Feel free to ask for any testing requirements relating to Win 7 Ultimate 32 bit platform, only too glad to be of assistance.

PS: Thanks for the heads-up on the Portable RegShot - works perfectly!

Cheers, GrahamG

Cambridge, UK

fudge

ok, thanks.

as for regshot portable (or any other app, for instance): whenever I find out about an app I never heard before, the first thing I do it search for it here. I hate installing stuff directly to the harddrive because a lot of programs leave a lot of stuff. And portable apps, well, everything is wrapped neatly in a little folder. (well at least its supposed to Sticking out tongue)

Tested inside Windows 7

Hi, ...

Windows 7 Ultimate, 64-bit (Service Pack 1, v.178 Beta) 8 Gig Ram.

Google Earth Portable 0.6

I try it in a B:\ RamDrive, it work.

Do you know, if they update often there map ?

sst

update coming soon

I was going to update today, but I hear PAI 2.0.3 is coming out really soon, so I'll update as soon as I get my hands on that version.

Oh, And I saw on the "Z" (intended only for those that know what it is) release their version of Google Earth Portable... hmmm... they also seem to have included the cache... interesting, but they say its in TEMP but I don't see it... weird.

Oh, I think downloads are over 2500 now.

Cache location can be set in

Cache location can be set in registry, which is exactly what the launcher from the Z site does. I may be wrong, but it seems your launcher copies cache data manually, which is totally unnecessary. Also, you don't need to check if folders are empty before deleting them, just use rmdir without the /r switch. I have created my own private launcher based on the one from Z site and on yours and it works best for me Smiling

caching will slow it down

If you decided to store the cache on the drive, you would indeed slow down google earth. (Which is a reason why FFP stores its cache in RAM).

If you'd like though, I can modify the INI to make it so that you can set it to either copy cache or just save it to the drive from the start.

And how do you know how the Z site's launcher works? Last I checked, all of it was closed source?

Hi, 1) Cache would be slow

Hi,

1) Cache would be slow only if it's running from flash drive (or something else slow). But don't assume that with everyone - I run it from local disk (I prefer my programs being portable, because than I don't need to deal with windows reintallation and other issues, ever). The same would apply to someone, who uses external drive instead of a flash drive. While I use my own launcher, making it an option is definitely a good idea. Especially when the cache can get really big - like with Google Earth.

2) It's true that Z launchers are closed source (I hate it), but you can extract compiled script using UniExtract. You won't get script back from it (unless you write a decompiler), but you get all strings - names of registry keys, files, directories, ini sections etc. - and that is what is the most important. Also Z launcher for GE contains a bug (or at least contained, didn't check the last version), when stored registry file would grow and grow (probably missing deletion of that file prior to SaveReg).

What key is it?

I looked at google earth yesterday for a key or value that contained information on where Google Earth stores the cache, but I couldn't find it. Do you mind telling me which one it is?

Not at all. Here is what I

Not at all. Here is what I do:

  ; cache path handling
  ReadINIStr $0 "$EXEDIR\${APP}Portable.ini" "${APP}Portable" "PortableCache"

  ${If} $0 != "No"
    WriteINIStr "$EXEDIR\${APP}Portable.ini" "${APP}Portable" "PortableCache" "Yes"
    ${registry::Write} "HKEY_CURRENT_USER\Software\Google\Google Earth Plus" "CachePath" "$EXEDIR\Data\Cache" REG_SZ $0  
  ${Else}
    ${registry::Write} "HKEY_CURRENT_USER\Software\Google\Google Earth Plus" "CachePath" "$TEMP\GoogleEarthPortableCache" REG_SZ $0
  ${EndIf}

  ; init KML path and install/autoupdate path
  ${registry::Write} "HKEY_CURRENT_USER\Software\Google\Google Earth Plus" "KMLPath" "$EXEDIR\Data\KML" REG_SZ $0
  ${registry::Write} "HKEY_CURRENT_USER\Software\Google\Google Earth Plus\autoupdate" "AppPath" "$EXEDIR\${APPDIR}" REG_SZ $0
  ${registry::Write} "HKEY_CURRENT_USER\Software\Google\Google Earth Plus" "InstallLocation" "$EXEDIR\${APPDIR}" REG_SZ $0  

[Use <pre> instead of <code> for blocks of code - mod Chris]

ok

I'll see what I can do...

Great!

Works perfectly,thanks dude,very useful for me to carry all maps,overlays and kml files On google earth, all in the same location.

Updated to dev test 7

see release notes for changes.

Testers needed for:
WinXP: (limited rights) I havent had a chance to do a regshot on Limited yet, if anyone is willing to post feedback that would be great.
Win Vista/7: (admin and limited) Regshot and check if files are left behind, please.

Thanking!

Thank you so much for this Google Earth portable suite. Its good,cool, and work fine. I already subscribe Google earth portable in portable apps. Your software some component detected Kaspersky internet security 2011 as a "PDM Root Shell "

Chathuranga Bandara Udagama

Updated to dev test 8

stay tuned for 6.0 beta.

Netshare not supported!

Hey,

I have a problem. It doesn't work from a netshare. Any solutions?

lg just4

Map to drive letter

As indicated by the error message, you need to map it to a drive letter.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

It is mapped to Z:\ but if I

It is mapped to Z:\ but if I start the "Launcher" the splash pops-up and after this nothing!

A prozess named googleearth.exe run but it doesn't start.

If I start it from a local drive it works fine!

lg just4

Message?

What is the message on the message box?

And are you sure you're running it from Z:\, not the actual share by mistake?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

There is no message box, only

There is no message box, only the splasher and than nothing!

I'm sure it's on Z:\ [Z:\Tools\SHARED\GoogleEarthPortable]

lg just4

Downloads Google Earth 6

FYI, I just updated to dev test 8 from 7, and it has upgraded me to Google Earth 6. (Specifically 6.0.3.2197) You may wish to modify the title to indicate this.

Two items

First, I confirm Gord Caswell's observation regarding the rev level.
Second, the Startup Tips box appears every time I start the program, even after clicking the box that should eliminate this.

yeah

There were some issues with the current release that I was working on fixing--just rewriting the launcher from scratch and all custom coded. I got about 70% of it done about a couple of months ago, but the only copy of the launcher code was on my laptop which broke a couple months ago as well. I've been meaning to start over again, but I've been a tad lazy lately (So. Much. Code!!!). I can't tell you when I'll start over, because quite frankly I don't know. There are a couple things specifically that I need to do with the launcher that PAL can't handle nor custom code with PAL, so it's gonna take a while no matter when I start, as I'm starting the feel the pressure from colleges and classes and homework and what-not.

I also checked out that Google Earth plugin for web browsers, but it doesn't look like that's gonna be much easier (in fact it'd be significantly more difficult).

Like what?

What do you need in PAL?

GENERATION -705 - 991i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.

Previously known as kAlug.

coupla things

I can only remember a couple things that I had issues with including the %ALLUSERSAPPDATA% variable (which was added in 2.0, so that's not an issue), and the ability for users to customize where and when to use caching. I also managed to optimize the package in the installer after Google Earth is downloaded, but that, too, must be recreated >_<. I might work on it during Fall break when I have a week off from school, so I can just work continuously on it at the library, but that's as early as I'll estimate.

Can you be more specific?

Why can't you use PAL?

GENERATION -705 - 991i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.

Previously known as kAlug.

I just explained

There are things I need the launcher to do that PAL, even with custom code, has problems with.