What's the difference between portable and install versions?

62,970

Solution 1

A portable program largely has to do where the data is saved for that program. Usually user data is saved in the username\AppData\ folder as per Windows policy. However, it doesn't make it very portable as you would lose all of your settings/user data associated with that program if you were to blindly just copy the program files from their folder in program files.

Another problem is that a program may choose to store settings and information in the registry. If you were to copy the program files to another computer there would be no registry entries to read from, so the program would likely just fail.

One last problem is that a program may choose to use shared libraries that will not be present on the system that it is copied to, thus making the program fail. Often times, especially with some open source software, an install of a program warrants an install of another program such as the GTK runtime environment or DirectX. If GTK/DirectX wasn't installed (or even if the correct version was installed!) on the copied to OS, then the program will fail.

So, for a portable release to exist, it must combat all of these deficiencies. Usually the settings are saved locally to the same folder as the program, there are no registry entires (say, they use the same folder for those settings as well with a SQLite database which is what Chrome uses). Also, programs that require an install of other software aren't likely to be made portable unless there is someway to include the installed software and the libraries in a portable manner.

For more information visit Wikipedia.

Solution 2

A portable install means you can copy the folder, where the program is installed, to a storage device (like a USB flash drive or HDD), and then you can run the program on another computer without having to run an installer.

On the other hand, you cannot just copy the regular install folder of a program to another computer. It might work with some programs, but it's not recommended, because there are other types of files and registry entries too, which the program uses. These are not copied over just by copying the install folder, and thus the program may not run properly elsewhere.

Share:
62,970

Related videos on Youtube

the0roamer
Author by

the0roamer

Updated on September 17, 2022

Comments

  • the0roamer
    the0roamer almost 2 years

    Is there any difference between the portable and desktop install versions of software or an application?

    For example, I have both portable and install versions of Google chrome.

    Are they the same? Do they function the same?

  • Gnoupi
    Gnoupi about 14 years
    To add to this explanation, if you install both on a thumb drive, the portable one will keep your settings even if you use it on another computer, the other one won't.
  • jiggunjer
    jiggunjer about 8 years
    I think another important distinction is one can not easily set a portable executable as the default program (in Windows at least).
  • KeyC0de
    KeyC0de over 6 years
    Another thing to add.. installable programs usually won’t request rights elevation to run that program, whereas often times a portable program will require admin privileges and give UAC prompts.