Jwyanze here.
my first attempt to create a portable app. Unfortunately i am not provide u with the program due to licensing reasons.
Well here is what i did.
i used universal extractor to extract the files from the installer.
seems to work with out actually installing after. but when i open the .exe to start it, it rites to doc/set the appinfo what i am asking is how to redirect that directory to a folder contained within my flasdrive.
the program don't seem to have any reg entries. if installed it seems to be contained with the exception of the appinfo file that goes to documents/settings on the computer. Could i use a .ini file to redirect the dir or how could i do it
"If you're not part of the solution, you're part of the precipitate."
Well will try that save as .ini file ok
Edit
could u explain that a little for me please. I am surprised u even understand.
just so u know the files it rites to the local computer are already in the same directory as the main.exe it just copies it over to C:\Documents and Settings\Owner\Application Data\whatever\whatever\4options folders.
don't know if that will help?
would it be possiable to prevent it from copying (whatever\whatever\4options folders.) from it's current place and just make it read from were it is
Never curse the alligator till you done cross the bridge.
Have you confirmed that it is writing the file to the same directory as where the exe is, then copying the same file to the Profile's AppData directory?
It could be that it is completely ignoring the version in the app directory, and writing to the place it was programmed to use, the Profile's AppData.
In either case, you have two choices. One is to try to intercept the filesystem instructions that write the file, replacing them with ones you want. The other is to "clean up" after the program exits, copying the data file to a place on the USB drive, then, before launching next time, copy it back.
Intercepting the filesystem instructions and redirecting them is possible as can be seen by other approaches to making apps portable. But it is also complicated. Around here people tend to stick with the simpler method, which in this case appears to be to "clean up" data that the program writes, making a copy of it; then before running the program next time, copying it all back again.
I assume you have looked for options that are not immediately obvious, such as startup options that tell the program where to write its data files? That is an even simpler solution.
So far these comments apply to making GPL software portable, so we're not really speaking out of turn; but we really shouldn't be going into too much detail about commercial apps.
MC
It's a snippet which you could use in an NSIS file. Of course, you need to add the other necessary parts.
"If you're not part of the solution, you're part of the precipitate."
i guess it harder than i though. Thanks for the help ne way i will see if i could read up on these stuff and have an idea of what or how to go about it
Never curse the alligator till you done cross the bridge.
"If you're not part of the solution, you're part of the precipitate."
ur guys are real help here Thanks alot. Working on it now.
Never curse the alligator till you done cross the bridge.