mitzix wrote:Yes i am. But what means stealth? No persistent settings, layout etc? Where to save these information to be stealth according to your reqs? I can make saving of these data optional if you want.
Stealth means it doesn't not leave behind settings in the registry or filesystem such as %AppData% and %TEMP%. The application should ideally save its settings in an .INI file (.CFG, .XML, .JSON, etc.) inside the executable directory.
One method for portablization is to have the app look for the configuration file within the executable directory first. So if a TMX.ini file is in the executable folder, then settings should be read and written there. It should take priority over the one in %AppData% if it also exists.
Another way is to make it look for a blank "portable" file so app should know to be in portable mode and save TMX.ini in executable directory. Deleting the "portable" dummy file should revert the app to saving in %AppData%.
Least desirable way is the command-line parameter like SYSTEM suggested. It just annoying to make a batch file launcher or shortcut with the command-line switch.