This is a complicated story, but I will try to summarize it. Starts with the Why?
I’m an obsessive guy who seriously hates installers. I like to have a clean system without bloated entries in files and DLLs. That's why I do almost all (at least 97%) of the programs that I use to carry. I have made over 600 to this day, and I can say:
You need: 1- A program to view the file system (which is included after installation) I use this. Simple and direct (sorry, but not free, but you can find many alternatives) http://www.samsunsegman.com/um/
2- A program for viewing the registry (what was changed or enabled after installation) I use this in HTML mode. Free fast and easy. And portable. http://sourceforge.net/projects/regshot/
Now scan the system with these 2, and then run the installer. After you open the installed program and configure as you want. And how to use this 2 program to search for added files and registry entries.
For files, delete them to remove garbage and return them from the recycle bin in batch mode (easy to do) to the application folder. Registry, open the related branches in the registry, delete all entries containing addresses, such as (plugins folder = c: \ prog .... etc.). After right-clicking on the main branch, select export. These are your reg settings ...
3- Download the program http://ctuser.net/?reg2exe This will convert your reg file to an exe file.
4- Download the application http://download.cnet.com/FilePacker/3000-2216_4-10414081.html Note. Click "Direct download link" if you do not want cnet to welcome you with its installer :)
And with this program (I use it because I don’t interfere with any application), pack the program that you want to make portable. In the wizard, first select the reg-exe file after the main program file. Launcher will execute them with this order. And in the setting, select "delete after terminate" to delete the extracted files on exit.
You can find out the details. This will help you port nearly 75% of simple applications.
5. For complex programs or complex needs, you can even make home loaders, for example
- Before running the application, put the user files in the appdata folder (which I hate)
- Put the settings in the registry (even with dynamically changed path addresses)
- Choose which one to execute (x86 or x64)
- Run as administrator if necessary
- Running the application ... And when the application is completed ...
- Delete settings from the registry
- Return the user files from the appdata folder and put it back into the program folder (usb, etc.).
- Delete files on the left in the system ...
I just wrote these last so that you understand how far you can go. And for all these extra tricks, I use simple and simple bat files. And I convert them to exe using this software. http://www.f2ko.de/programs.php?lang=en&pid=b2e (also free)
All software that I use, except for the "uninstall manager," is free. And with this technique, surprisingly, some of the programs work even faster.
You can actually just use JaunchPE tools or portable applications, but ... Jaunte programs and similar sandbox programs are so slow and incompatible with everyone. Even the cause of the failures. The handheld application approach is a little bloated regarding my rigorous standards and sizes. That's why I have been doing it myself for 10 years (yes, even people did not talk about portability)
Note. I am not a programmer, and you also do not need to do this. I have never released my portable devices, and you also should not (read EULA) to respect the authors.
But never forget to request a portable version from all authors. Make them quit the installers;)
Best wishes