Page 1 of 2
xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 1:58 pm
by jcc
XnView 1.96.5 for Windows (french package of std version)
Windows 7 32-bit
"Save options in INI into XnView folder" is not working with Windows 7, and XnView is shut down frequently...
You must launch it with Windows XP compatibilty option to do it and use it with reliability.
I hope this would be fixed soon.
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 2:16 pm
by xnview
Do you have write access in this folder?
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 2:26 pm
by jcc
xnview wrote:Do you have write access in this folder?
In Windows 7 (as in Windows Vista) Program files is protected. But I can write with confirmation. I'm administrator.
With XP compatibility, xnview.ini is created and modified without problem.
So I don't think this is THE problem...
Thanks for your answer.
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 2:29 pm
by xnview
jcc wrote:xnview wrote:Do you have write access in this folder?
In Windows 7 (as in Windows Vista) Program files is protected. But I can write with confirmation. I'm administrator.
With XP compatibility, xnview.ini is created and modified without problem.
XnView write the file in this folder, so it seems that it can't here... I can send you a test version with a warning if file can not be written?
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 2:56 pm
by jcc
xnview wrote:
XnView write the file in this folder, so it seems that it can't here... I can send you a test version with a warning if file can not be written?
Why not for a test version... But I think we are not in the right way...
I remember now I've tried XnView with admin permission and without any previous OS compatibility... xnview.ini file has not been created. Same with Vista compatibility.
I have also copied a xnview.ini file manually in program folder, then launched it. Settings haven't been taken into account.
Only XP compatibility (admin rights not needed) can create xnview.ini in Windows 7.
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 3:02 pm
by xnview
jcc wrote:xnview wrote:
XnView write the file in this folder, so it seems that it can't here... I can send you a test version with a warning if file can not be written?
Why not for a test version... But I think we are not in the right way...
I remember now I've tried XnView with admin permission and without any previous OS compatibility... xnview.ini file has not been created. Same with Vista compatibility.
I have also copied a xnview.ini file manually in program folder, then launched it. Settings haven't been taken into account.
Only XP compatibility (admin rights not needed) can create xnview.ini in Windows 7.
Perhaps you can try the 1.97b1, you'll see the location used for .ini
Re: xnview.ini in program folder with Windows 7
Posted: Tue Nov 03, 2009 6:43 pm
by jcc
xnview wrote:Perhaps you can try the 1.97b1, you'll see the location used for .ini
OK. I'll test this beta version tomorrow.
Re: xnview.ini in program folder with Windows 7
Posted: Wed Nov 04, 2009 9:27 pm
by jcc
xnview wrote:Perhaps you can try the 1.97b1, you'll see the location used for .ini
After trying 1.97b1 I've the same problem (without warning).
I've made an other test: in a folder out out C:\Program files (for example on Desktop) it works very well (both official version and 1.97b1 version). But I've never got a warning for not writing ini file. The option of Xnview is still "Ini in the folder of application" but the settings are stored in an other place. I've searched in AppDatas, in Windows folder... no ini file but settings are stored somewhere!
I think that Windows 7 don't allow XnView to work with an ini file in C:\Program files\XnView. It's not a writing rights problem...
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 11:37 am
by xnview
jcc wrote:xnview wrote:Perhaps you can try the 1.97b1, you'll see the location used for .ini
After trying 1.97b1 I've the same problem (without warning).
But what do you see in Info dialog box => "INI: ....."
I think that Windows 7 don't allow XnView to work with an ini file in C:\Program files\XnView. It's not a writing rights problem...
Yes, perhaps....
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 12:30 pm
by Clo
Pierre

Hello !
• FYI :
Ch. Ghisler has reset the old default installation as
C:\Totalcmd to avoid these issues with Vista-Win7.
- Using the pre-chewed “Program Files” location leads to such troubles…
jcc

Hello !
• You might try to install XnView from the ZIP package as :
C:\XnView\…
and use the INI file in the programme directory.

KR
Caude
Clo
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 4:42 pm
by jcc
Clo wrote:
• You might try to install XnView from the ZIP package as: C:\XnView\…
and use the INI file in the programme directory.
Thanks Clo. I know now that I can use correctly XnView if it is out of "Program files" folder...
But I want for the future that XnView will be full compatible with Windows 7.
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 5:03 pm
by jcc
xnview wrote:But what do you see in Info dialog box => "INI: ....."
When XnView is in "Program files" folder:
In "About" dialog box, it is written
INI used: C:\Program Files\XnView\xnview.ini
...but xnview.ini doesn't exist in this folder!
... and settings are saved... I don't know where!!!
If I use XP compatibility: the xnview.ini file is created. But if I try, for example, to modify Thumbnails labels, XnView shut down at any time!!!
If I define
xnview.ini from an other place (XnView works perfectly here), then I copy this file in
Program files\XnView folder: XnView doesn't take care of it in standard mode, but in XP compatibility mode, it takes account of the
xnview.ini settings. In this last case, XnView seems unable to modify the ini file.
So, while wainting an official solution for Windows 7, I'll move XnView folder out of
Program files!
Pierre, If you want to continue the tests with Windows 7, just ask me what to do... and you can speak French if you prefer (Je suis Français).
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 5:37 pm
by xnview
jcc wrote:But I want for the future that XnView will be full compatible with Windows 7.
But XnView is compatible with 7, if 7 don't authorize to write in 'Program Files', i don't know what to do...
xnview wrote:But what do you see in Info dialog box => "INI: ....."
When XnView is in "Program files" folder:
In "About" dialog box, it is written
INI used: C:\Program Files\XnView\xnview.ini
...but xnview.ini doesn't exist in this folder!
... and settings are saved... I don't know where!!!
So 7 change the path, it's impossible to write in 'program files'
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 6:17 pm
by rra
The INI file goes to the "virtual store" on windows-7
c:\users\rra\Appdata\local\Virtual Store\Program Files\
, with RRA being the logged on user offcourse.
René
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 7:35 pm
by Clo
Pierre

Again…
But XnView is compatible with 7, if 7 doesn't authorize to write in 'Program Files', i don't know what to do...
• Do like
Ghisler ! Set the default installation
outside the damned “Program Files”.
About the path, still “
The shorter, the better”

- Which benefit to use it ? Like we can see here : Only annoyances…
• Just my humble opinion, of course…

KR
Claude
Clo