Settings and INI Files: Installation with specific default settings
Moderators: helmut, XnTriq, xnview
Settings and INI Files: Installation with specific default settings
Hi all,
we are using the licensed and payed MP version in our office. If we are no wrong, the default settings are, to open an image in the diashow view. Right? So, we like to change the default settings. We could see, that we have three options. INI file under "User" or "Programs" or save the settings in the registry. So, we are using multiuser systems. So we are thinking, its better to save the settings under "Users". But, if an user are using the application for his first time, so the system (xnview) are creating a new INI file. Its possible to create an initial INI file / configuration, so xnview are using my set default settings for each ne user? This functions would be very importand for us. Thank you in avanced.
we are using the licensed and payed MP version in our office. If we are no wrong, the default settings are, to open an image in the diashow view. Right? So, we like to change the default settings. We could see, that we have three options. INI file under "User" or "Programs" or save the settings in the registry. So, we are using multiuser systems. So we are thinking, its better to save the settings under "Users". But, if an user are using the application for his first time, so the system (xnview) are creating a new INI file. Its possible to create an initial INI file / configuration, so xnview are using my set default settings for each ne user? This functions would be very importand for us. Thank you in avanced.
Re: Settings and INI Files Question
If you would rather post your question in German, one of the German speaking users or moderators may be able to help you?
Re: Settings and INI Files Question
Hi cday, this is a kind way to say my englisch sucks
This is a good idea. Where? Directly here? Thank you.

This is a good idea. Where? Directly here? Thank you.
Re: Settings and INI Files Question
Yes, here would be fine!
Re: Settings and INI Files Question
Is it possible to create a default .ini or registry and send it for new user?
Pierre.
Re: Settings and INI Files Question
Or in other words: You can either roll out (install) XnView MP and then "install" a custom "xnview.ini" file continaing default settings that you want (only your desired default settings should be in the xnview.ini). Alternatively, you could create a custom installation package by downloading XnView ZIP package and adding your "xnview.ini" containing your default settings and then create a new ZIP package that you roll out (install) on all PCs.xnview wrote: Thu May 26, 2022 6:33 am Is it possible to create a default .ini or registry and send it for new user?
PS: I'm one of the Germans here in the XnView forum but I much prefer if discussions are held in English because many more people can read and understand and thus benefit from discussions.
PPS: Your English is perfect, waldo88.

Re: Settings and INI Files: Installation with specific default settings
Thank you Helmut
Thanks for the information. Unfortunately that's not sufficient for me. Unfortunately, XnView MP has a few basic settings that I don't like (slide show, etc.). So if I copy an ini file in the program folder, then the user can no longer make any permanent adjustments (he dont has admin rights)? It would be nice if there was an administrative option here. At least for the paid version. Thanks!

Thanks for the information. Unfortunately that's not sufficient for me. Unfortunately, XnView MP has a few basic settings that I don't like (slide show, etc.). So if I copy an ini file in the program folder, then the user can no longer make any permanent adjustments (he dont has admin rights)? It would be nice if there was an administrative option here. At least for the paid version. Thanks!
Re: Settings and INI Files: Installation with specific default settings
Any settings changes made by a user will be saved in their .ini copy as long as each instance of XnView MP is running independently, the customised .ini you provided will be modified, no need for admin rights as far as I know...waldo88 wrote: Fri Jun 10, 2022 11:06 am Unfortunately, XnView MP has a few basic settings that I don't like (slide show, etc.). So if I copy an ini file in the program folder, then the user can no longer make any permanent adjustments (he doesn't have admin rights)? It would be nice if there was an administrative option here. At least for the paid version. Thanks!

Re: Settings and INI Files: Installation with specific default settings
Edit: In my only very brief visits to Windows 10 21H2 recenly, I'm primarily a Linux user now, I think that I may possibly have seen a settings change only remembered when using an admin account: if you are not obtaining the result you expect, possibly that is the explanation...
Is your .ini in the Program (XnView) location?
Could a Windows 10 user comment on that, and possibly if necessary do a test?

Is your .ini in the Program (XnView) location?
Could a Windows 10 user comment on that, and possibly if necessary do a test?
Re: Settings and INI Files: Installation with specific default settings
@waldo88:
I did a test yesterday in Windows 10 21H2, and can now confirm that with Tools > Settings... > Integration -- Paths set to place the .ini file in User (System), settings changes made when the program is run in a user account are saved to the .ini file...
That is, I think, the expected result and should meet your stated requirement above as I understand it. Conversely, when the .ini file is placed in either the Program (XnView) or Windows Registry option, it would be expected that settings changes would only be saved when using an admin account.
I did a test yesterday in Windows 10 21H2, and can now confirm that with Tools > Settings... > Integration -- Paths set to place the .ini file in User (System), settings changes made when the program is run in a user account are saved to the .ini file...

That is, I think, the expected result and should meet your stated requirement above as I understand it. Conversely, when the .ini file is placed in either the Program (XnView) or Windows Registry option, it would be expected that settings changes would only be saved when using an admin account.