The "xnconvert.ini" file

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

The "xnconvert.ini" file

Post by budz45 »

Hi again,

I propose either one of the following two things:

1.) If the 'ZIP' downloads of XnConvert could ship with the .ini file already in the folder (portable ready)

OR

2.) If XnConvert, upon first ever launch, could ask the user in a prompt window where they want settings to be saved to.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: The "xnconvert.ini" file

Post by budz45 »

budz45 wrote: 2.) If XnConvert, upon first ever launch, could ask the user in a prompt window where they want settings to be saved to.
Like how some apps ask if they want to save to
a) application data
b) program folder (portable app)

..Then user would select either one.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
vaejiofr
Posts: 9
Joined: Fri Dec 24, 2010 6:32 pm

Re: The "xnconvert.ini" file

Post by vaejiofr »

budz45 wrote: 1.) If the 'ZIP' downloads of XnConvert could ship with the .ini file already in the folder (portable ready)
What I don't like about that is you have to be careful not to overwrite your ini file when updating. There's two solutions for this:

1. Store the settings in a sub-folder. The zip archive contains this folder, but it's empty so no files are overwritten. If the folder exists, then XnConvert runs in portable mode.
2. Create a separate "portable" file. If the file exists, then XnConvert runs in portable mode.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: The "xnconvert.ini" file

Post by budz45 »

vaejiofr wrote: 2. Create a separate "portable" file. If the file exists, then XnConvert runs in portable mode.
Hmm I like this suggestion :P and this "portable" file would tell XnConvert to create and write to an .ini in same folder :P (like how portable foobar2000 does this).
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only