AppData user installations

userland install for Debian

For userland install without adding unofficial debian packages, there is also

For a more modern version, get the .deb file and extract it: ar x google-earth-stable_current_amd64.deb

google earth nonadmin install - windows

it is very desirable to install as a non-admin to %LOCALAPPDATA%\Programs\Google as this allows the program to patch without requesting the Administrator password, especially on a single user system. Unfortuately by default the installer will demand the administrator password and not install without it, so try to find a workaround.

Normally earth download is execpted to work.

Had downloaded latest=v7.3.1-x64 from direct links. Google may have fixed by the time this is read.

The installer writes the msi file as a GE*.tmp file to %temp%, we quickly snatch it before it is deleted. e.g. rename %temp%\GE*.tmp GE.msi

Now invoke msiexec with this msi file to force a peruser install:

If there is a systemwide install of google earth, remove it firstly so that msi does not refuse to install peruser instances.

  2. %USERPROFILE%\Downloads\googleearthprowin-7.3.1-x64.exe
  3. rename %temp%\GoogleEarth-EC-x64.msi GoogleEarth-EC-x64.msi
  4. msiexec /log test.txt /i GoogleEarth-EC-x64.msi ALLUSERS=2 MSIINSTALLPERUSER=1
  5. C:\Users\user\AppData\Local\Programs\Google\Google Earth Pro\client\googleearth.exe

Now that googleearth is in the user appdata it may keep itself updated without requiring the Administrator password

Similar method for using google earth or chrome deb packages in userspace:

  1. WHERE=`wget -S -o /dev/stdout -O /dev/null --max-redirect=0 | grep "^ Location:" | cut -d" " -f4-`
  2. fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot stable /tmp/test ${WHERE}
  3. PATH=$PATH:/sbin:/usr/sbin fakeroot fakechroot dpkg --root=/tmp/test -i
  4. PATH=$PATH:/sbin:/usr/sbin fakeroot fakechroot apt-get -o Dir=/tmp/test --fix-broken install
  5. PATH=$PATH:/sbin:/usr/sbin fakeroot fakechroot chroot /tmp/test

A variation of this trick seems to work with sonos desktop controller, extract the msi and run it as above, instead of C:\Program Files (x86)\Sonos\, sonos destop installer correctly offers to install install to C:\Users\user\AppData\Local\Programs\Sonos\

Installer tries to place C:\windows\syswow64\msvcr100d.dll, this may be 32-bit visual runtimne. so checked system for latest runtime, and grabbed 32-bit version for runtime 2013 on windows 10.

Adobe flash dll would be installed to: C:\Users\user\AppData\Local\Mozilla Firefox\browser\plugins\

msiexec /log test.txt /i flashplayer_win.msi ALLUSERS=2 MSIINSTALLPERUSER=1