Author Topic: Running Applications from a Portable Device  (Read 2983 times)

0 Members and 1 Guest are viewing this topic.

Offline Sturmfrau

  • Thread Starter
  • Posts: 80
  • Location: Manila, Philippines
Running Applications from a Portable Device
« on: Tue, 09 December 2014, 22:38:25 »
There exists portable versions of popular applications like adobe products. But what I'd like to know is are there any major differences between running something from a portable device like a flash drive, external hard drive, or an external SSD plugged in at a USB 2.0, USB 3.0, as well as Thunderbolt versus the internally installed applications.

As a developer I find it annoying to set up the stuff I use every time I get on a new pc/laptop or my pc/laptop gets reformatted (this probably happened 4 times in the last 5 months, why it needs reformatting, I honestly don't know but the administrator in our company told me that it's got something to do with McAfee being a *****). I'm an android developer who's based in the philippines so it's kind of annoying to download I think 7GB+ of android sdk again and again even with the company's "fast" internet connection.

So my idea is this, if it's feasible (can run applications like mysql, eclipse, vim, and emulators without any big downsides such as running significantly slower than internally installed applications as well as be read by windows, mac, and linux), would it be ideal to have the applications run from the portable device instead of installing it internally. As well as if it's feasible, would it be possible to make a controller that has an internal usb port built in it with a plugged in flash drive (that corsair 2TB would be nice) or SSD meaning there'd be a flashdrive/ssd inside the keyboard.
|
HHKB Pro 2 Black (Blank) | HHKB Pro 2 White (Blank)

Offline heedpantsnow

  • * Esteemed Elder
  • Posts: 3692
  • Location: Orlando, FL
  • Old enough to know better
Re: Running Applications from a Portable Device
« Reply #1 on: Tue, 09 December 2014, 22:43:54 »
Feasible, yes. But some apps will load slower or menus will hang a bit for example. Other apps won't like it and crash. You can accomplish some of that with sym links but you can't really force an app to not write to the registry...so while you install it to the thumb drive and run it off of it when you plug that into a freshly formatted machine it won't run right.
I'm back.

Espresso machine overhaul: https://geekhack.org/index.php?topic=78261.0

Carbon Fiber keyboard base: https://geekhack.org/index.php?topic=54825

Offline heedpantsnow

  • * Esteemed Elder
  • Posts: 3692
  • Location: Orlando, FL
  • Old enough to know better
Re: Running Applications from a Portable Device
« Reply #2 on: Tue, 09 December 2014, 22:45:45 »
You can get creative with your imaging and do a really nice one that doesn't set you back so far each time. I did that for a while.

Or you can make excuses and string IT along endlessly until they give up and leave you alone about it.
I'm back.

Espresso machine overhaul: https://geekhack.org/index.php?topic=78261.0

Carbon Fiber keyboard base: https://geekhack.org/index.php?topic=54825

Offline Sturmfrau

  • Thread Starter
  • Posts: 80
  • Location: Manila, Philippines
Re: Running Applications from a Portable Device
« Reply #3 on: Tue, 09 December 2014, 22:51:21 »
Feasible, yes. But some apps will load slower or menus will hang a bit for example. Other apps won't like it and crash. You can accomplish some of that with sym links but you can't really force an app to not write to the registry...so while you install it to the thumb drive and run it off of it when you plug that into a freshly formatted machine it won't run right.

Any notable applications that didn't run right or everything just doesn't run right?
|
HHKB Pro 2 Black (Blank) | HHKB Pro 2 White (Blank)

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Running Applications from a Portable Device
« Reply #4 on: Tue, 09 December 2014, 23:37:29 »
AFAIK, Eclipse actually supports installs specifically for USB media. I don't know how exactly it deals with the registry though. Can't speak to the other specific applications. With some apps I've run into (Adobe CS, for example), the installation requires putting some data onto the boot drive, which I haven't figured out a way around.

I second having a fully working image to just completely restore, and keeping as much downloaded as possible so there's no need to redownload.
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Running Applications from a Portable Device
« Reply #5 on: Tue, 09 December 2014, 23:43:33 »
http://portableapps.com/

There's quite a few!

Basically they just store their settings on the USB stick (or whatever) instead of in the registry or some pre-defined path on the hard drive.
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Running Applications from a Portable Device
« Reply #6 on: Tue, 09 December 2014, 23:47:35 »
I remember playing around with the portableapps stuff about five years ago -- mostly to use something other than IE on school computers.

It was quite slow, but maybe it's improved in the years since.

E: Quite possibly running over thunderbolt or USB 3.0 could give a boost to speed.
« Last Edit: Tue, 09 December 2014, 23:50:56 by user 18 »
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline IvanIvanovich

  • Mr. Silk Underwear
  • Posts: 8199
  • Location: USA
Re: Running Applications from a Portable Device
« Reply #7 on: Wed, 10 December 2014, 09:10:51 »
Thunderbolt or esata would have no performance penalty using ssd/hdd in portable enclusre it's the same as an internal disk. USB3 mostly has no major performance penalty with ssd/hdd... there are some sticks like the mushkin ventura also that are just as good as many ssd. Anything on USB2 will suck, especially for writes. As far as software running properly, it will depend on the software. Some it is possible to set up in 'portable' mode or semi portable mode where it will still touch the registry, %appdata% and possibly other locations of any machines it's used on. Other software... not so much.

Offline Sturmfrau

  • Thread Starter
  • Posts: 80
  • Location: Manila, Philippines
Re: Running Applications from a Portable Device
« Reply #8 on: Wed, 10 December 2014, 09:21:48 »
Thunderbolt or esata would have no performance penalty using ssd/hdd in portable enclusre it's the same as an internal disk. USB3 mostly has no major performance penalty with ssd/hdd... there are some sticks like the mushkin ventura also that are just as good as many ssd. Anything on USB2 will suck, especially for writes. As far as software running properly, it will depend on the software. Some it is possible to set up in 'portable' mode or semi portable mode where it will still touch the registry, %appdata% and possibly other locations of any machines it's used on. Other software... not so much.

Very informative thanks! XD Now for the second part, would it be possible to stick in a SSD or a USB 3.0 flash drive inside a keyboard?
|
HHKB Pro 2 Black (Blank) | HHKB Pro 2 White (Blank)

Offline heedpantsnow

  • * Esteemed Elder
  • Posts: 3692
  • Location: Orlando, FL
  • Old enough to know better
Re: Running Applications from a Portable Device
« Reply #9 on: Wed, 10 December 2014, 09:36:53 »

Thunderbolt or esata would have no performance penalty using ssd/hdd in portable enclusre it's the same as an internal disk. USB3 mostly has no major performance penalty with ssd/hdd... there are some sticks like the mushkin ventura also that are just as good as many ssd. Anything on USB2 will suck, especially for writes. As far as software running properly, it will depend on the software. Some it is possible to set up in 'portable' mode or semi portable mode where it will still touch the registry, %appdata% and possibly other locations of any machines it's used on. Other software... not so much.

Very informative thanks! XD Now for the second part, would it be possible to stick in a SSD or a USB 3.0 flash drive inside a keyboard?

What keyboard?  You might need to put in a hub pcb as well. There needs to be physical space and you might need to do a bit of soldering.
I'm back.

Espresso machine overhaul: https://geekhack.org/index.php?topic=78261.0

Carbon Fiber keyboard base: https://geekhack.org/index.php?topic=54825

Offline IvanIvanovich

  • Mr. Silk Underwear
  • Posts: 8199
  • Location: USA
Re: Running Applications from a Portable Device
« Reply #10 on: Wed, 10 December 2014, 09:50:47 »
You would definitely need to have a usb3 hub of some sort... cramming stuff inside should be possible with almost any keyboard, though some will be harder than others in the work involved and perhaps expense if you need to get more specific things like 1.8" thin (the non enclosed type) or other tiny model like stec mach16 ssd, or usb3 board with an msata ssd so it will fit. Most things you can manage to de-case without complete destruction on the usb hub and flash drive front too... then you could hard solder the things together if space is ultra tight. I'm highly certain I could cram one of the above in even a 60% if I were motivated.
« Last Edit: Wed, 10 December 2014, 09:54:54 by IvanIvanovich »

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: Running Applications from a Portable Device
« Reply #11 on: Wed, 10 December 2014, 10:04:29 »
I've been using portable applications instead of installed applications for a long while now. I prefer to use a portable (legit) version of an application if it exists rather than an installed version. There are multiple reasons for this. One, I don't want to clutter up the registry, be it myth or fact, but I've noticed the more the registry builds up, the slower the system becomes. Two, my portable apps are on my dropbox synced folder, so when I'm using different machines at home or my synced devices, I know the configurations will be the same. Third;y, being on dropbox means, I can often just pull my applications from the cloud if I am elsewhere. Fourth, with portable apps I don't have to worry about installs in restricted environments like my office, and can run the application directly.

Different portable applications work differently, some are portable natively and will store their settings either in the registry/system or in its own folder in an XML/INI?CFG or something of the sort, you can choose the portable mode during install. These generally run the same installed or portable. Some are made portable by providing a virtual %appdata% folder and will usually be equivalently fast to an installed app. Some use launchers, where the launcher takes a snapshot of registry, then using some magic and virtual folders start your app and see the registry changes made, and then on exiting the application remove those changes. These apps will generally be slower.

Things like shell integration will obviously not be possible with most portable apps, so if your app is one that might have explorer integration, then that particular feature might not be available in portable mode.

I do not recommend using custom made portable applications, because of piracy and pure execution. These often just crash on me.

These sites are legit:
http://www.portablefreeware.com/
http://portableapps.com/
http://www.winpenpack.com/en/news.php
http://www.liberkey.com/en.html

Offline IvanIvanovich

  • Mr. Silk Underwear
  • Posts: 8199
  • Location: USA
Re: Running Applications from a Portable Device
« Reply #12 on: Wed, 10 December 2014, 12:31:07 »
Other thing to consider... just use Windows to go, or some some version of live linux in persistence mode.

Offline Coreda

  • Posts: 780
Re: Running Applications from a Portable Device
« Reply #13 on: Wed, 10 December 2014, 12:39:59 »
These sites are legit: http://www.portablefreeware.com/

Portable Freeware is the best source for portable apps, and has the most comprehensive collection of any site, I stay away from others.

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: Running Applications from a Portable Device
« Reply #14 on: Wed, 10 December 2014, 15:20:42 »
These sites are legit: http://www.portablefreeware.com/

Portable Freeware is the best source for portable apps, and has the most comprehensive collection of any site, I stay away from others.

That's why it''s the first one on the list. Almost all if not all the apps on their site fall under the first category of apps, ie those apps that have a portable mode, whereby there is nothing stored in system or emulated, thus zero performance difference.

Offline Sturmfrau

  • Thread Starter
  • Posts: 80
  • Location: Manila, Philippines
Re: Running Applications from a Portable Device
« Reply #15 on: Wed, 10 December 2014, 20:04:31 »

Thunderbolt or esata would have no performance penalty using ssd/hdd in portable enclusre it's the same as an internal disk. USB3 mostly has no major performance penalty with ssd/hdd... there are some sticks like the mushkin ventura also that are just as good as many ssd. Anything on USB2 will suck, especially for writes. As far as software running properly, it will depend on the software. Some it is possible to set up in 'portable' mode or semi portable mode where it will still touch the registry, %appdata% and possibly other locations of any machines it's used on. Other software... not so much.

Very informative thanks! XD Now for the second part, would it be possible to stick in a SSD or a USB 3.0 flash drive inside a keyboard?

What keyboard?  You might need to put in a hub pcb as well. There needs to be physical space and you might need to do a bit of soldering.

Well at the moment I only have an HHKB. But hopefully I'll make my own 60% board. Would want to try it out first with flash drive then try with a SSD. I'm also planning to get a hasu controller for my hhkb so I'll have to do some research to see if it's compatible (I'm not that good with hardware >.<)

I've been using portable applications instead of installed applications for a long while now. I prefer to use a portable (legit) version of an application if it exists rather than an installed version. There are multiple reasons for this. One, I don't want to clutter up the registry, be it myth or fact, but I've noticed the more the registry builds up, the slower the system becomes. Two, my portable apps are on my dropbox synced folder, so when I'm using different machines at home or my synced devices, I know the configurations will be the same. Third;y, being on dropbox means, I can often just pull my applications from the cloud if I am elsewhere. Fourth, with portable apps I don't have to worry about installs in restricted environments like my office, and can run the application directly.

Different portable applications work differently, some are portable natively and will store their settings either in the registry/system or in its own folder in an XML/INI?CFG or something of the sort, you can choose the portable mode during install. These generally run the same installed or portable. Some are made portable by providing a virtual %appdata% folder and will usually be equivalently fast to an installed app. Some use launchers, where the launcher takes a snapshot of registry, then using some magic and virtual folders start your app and see the registry changes made, and then on exiting the application remove those changes. These apps will generally be slower.

Things like shell integration will obviously not be possible with most portable apps, so if your app is one that might have explorer integration, then that particular feature might not be available in portable mode.

I do not recommend using custom made portable applications, because of piracy and pure execution. These often just crash on me.

These sites are legit:
http://www.portablefreeware.com/
http://portableapps.com/
http://www.winpenpack.com/en/news.php
http://www.liberkey.com/en.html

Liking the idea of having stuff in the cloud but yeah, the internet in our country is probably the slowest in the world so that's not a feasible thing to do in my case. Wanted to cram a usb/ssd inside my board since it's very portable, light and I pretty much have a hard time now using normal layout boards so this will probably be brought always.

Other thing to consider... just use Windows to go, or some some version of live linux in persistence mode.

What are those? first time hearing about those.
|
HHKB Pro 2 Black (Blank) | HHKB Pro 2 White (Blank)

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: Running Applications from a Portable Device
« Reply #16 on: Thu, 11 December 2014, 00:21:59 »
Basically carry your whole OS setup with you.