I used to use PortableApps software a while back and enjoyed the flexibility it gave. Over the past couple weeks I have been doing a lot of computer fix ups and needed a solution with portable applications.
I needed a few of my own programs to be portable as well as some freeware programs. I was looking through here at how it was done but I already had some ideas in my head. I actually program in Delphi(I was happy when I saw PortableApps was coded in the same thing) and was wondering why API hooks were never done in the process of making applications portable(I might have missed exactly how it was done here, skimmed through the template).
Windows API such as RegOpenKey() RegOpenKeyEx() RegSetValue() RegSetValueEx() LoadLibrary() can be caught before they are sent to windows. Hooking them will there by make your own "mini-registry" for each program.
I was just wondering why applications aren't make like this because they can be turned into single files with no need for anything else.