Is it possible to create a sub-environment, a program manager or something like U3 that will monitor non-portable programs that run on a flash drive and redirect all its registry access to an area in the drive that would act as pseudo registry? Instead of accessing the "true" registry, a false one would be introduced.
It could be used to make non-portable and closed-source programs portable.
That's not what U3 does at all. U3 is just a menu really that launches U3 apps and can close them when done. No registry or file redirects at all. Nothing in U3 makes anything portable.
There are a couple commercial solutions out there that do this that cost $5k or more plus a per-download fee and are illegal to use with GPL and similarly licensed open source software.
Sometimes, the impossible can become possible, if you're awesome!
Yeah, I just thought it was like some sort of program manager for a Thumb drive right? So i was thinking it was the same in that sense.
So it was already done but is not an option because its illegal.
But i wonder why against the open source software. It's ok to modify this kinds of software right? So, just redirecting there registry and stuff should be no biggie.
The commercial solutions wrap the existing GPLed EXEs and DLLs into a single EXE. This is not permitted under the GPL and similar open source licenses unless what you're combining it with is also open source under a compatible license. This is the same reason the you can't compile GPLed code into U3's proprietary installer (since it too is closed source).
Sometimes, the impossible can become possible, if you're awesome!