Xinorbis as a "portable application"
By default Xinorbis will store the user preferences to the registry every time it is closed down. If you wish to disable all registry access then create a file called custom.ini and place it in the the same folder as the xinorbis.exe file. An example file is included in the same directory as the Xinorbis executable and is named _custom.ini so that it won't overwrite your copy.
The custom.ini should be a text file with the following structure:
[main]
portablemode=1 | This will tell Xinorbis to operate in "portable mode", disabling all registry access. All user preferences are saved in the custom.ini file.
copyprefs=1 | When not in "portable mode" this will tell Xinorbis to save a copy of the preferences to the custom.ini file.
datapath= | The location Xinorbis will use to store all user reports and the SQlite 3 database (if used).
The path specified in datapath will be created if it doesn't exist. There are two special variables that can be used within the datapath entry;
$xdrive - the drive where Xinorbis is being run from
$xfolder - the folder where Xinorbis is being run from
<???> - where ??? is any environmental variable
If your copy of Xinorbis is installed to "P:\utils\xinorbis3\" then
$xdrive would be equal to "P:"
$xfolder would be equal to "P:\utils\xinorbis3"
Due to the fact that users running in portable mode cannot add to the "file extension" categories (or they can, they just won't get saved), I've moved the defaults for the "file extension" categories in to text files that can be found in "<install directory>\data".
audio.txt | Sound, music or other audio files
compressed.txt | Compressed archives of files
graphics.txt | Graphics, 3D objects etc.
movie.txt | Movie or animation files
office.txt | Text file, spreadsheets etc.
programming.txt | Project files, includes, source code etc.
programs.txt | Executable files
system.txt | Operating system files
custom1.txt | Create these as necessary, they aren't defined by default.
custom2.txt
custom3.txt
custom4.txt
custom5.txt
These can be edited as necessary so that your customised categories will always be available. Each file is a standard ASCII text file and contains one file extension per line. No need to add the leading '.'.
Please email me if you would like me to add more options and customisations to Xinorbis' "portable mode"