xnview.ini in program folder with Windows 7

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: xnview.ini in program folder with Windows 7

Post by JohnFredC »

Clo wrote:• Do like Ghisler ! Set the default installation outside the damned “Program Files”
I agree with this. It seems an unfortunate necessity, now, considering Windows 7's ham-fisted approach to the Program Files folder.
John
jcc

Re: xnview.ini in program folder with Windows 7

Post by jcc »

rra wrote: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é
Thanks! this is interesting... :)
jcc

Re: xnview.ini in program folder with Windows 7

Post by jcc »

I confirm : the ini file is in C:\Users\xxxx\AppData\Local\VitualStore\Program Files\XnView
(when you choose to write ini file in application folder). This seems to be the Windows 7 way to write settings in "Program Files" folder (not the original application folder but a virtual one)

So XnView works correctly with Windows 7, but users must know that ini file is written in VirtualStore...
And I've found others applications working like it (settings in VirtualStore).
That also meens the settings are different for all users !...

Pierre : I suggest you to update the infopath of ini file, if using Windows 7.
And why not a command to open the the ini file place?
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: xnview.ini in program folder with Windows 7

Post by oops66 »

jcc wrote:...And why not a command to open the the ini file place?
+1 I support
(but since v1.97b1 you can check into: Info\About menu where the xnview.ini file is located)
XnViewMP Linux X64 - Debian - X64
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: xnview.ini in program folder with Windows 7

Post by XnTriq »

XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=79078#p79078]Name of INI file in Info->About[/url]) wrote:
Do you think it's possible to make the file open in a text editor by clicking on it?
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: xnview.ini in program folder with Windows 7

Post by JohnFredC »

I use an INI tool, so it would be best to open the INI file in the program associated with *.ini (not "locked" to Notepad, for instance).
John
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: xnview.ini in program folder with Windows 7

Post by xnview »

jcc wrote:Pierre : I suggest you to update the infopath of ini file, if using Windows 7.
The problem is that i don't know where is stored the file!
Is it always on 'AppData\Local\VitualStore\Program Files'??
Pierre.
jcc

Re: xnview.ini in program folder with Windows 7

Post by jcc »

xnview wrote:The problem is that i don't know where is stored the file!
Is it always on 'AppData\Local\VitualStore\Program Files'??
YES, for Windows 7, if you define "In application folder" in the settings, the INI file will be created into "%userprofile%\AppData\Local\VitualStore\Program Files\XnView". The folder "C:\Program files\XnView" cannot recieve this file.
I've not tested, but I suppose the problem is the same with "INIT in Windows folder"...
the INI file will be created into "%userprofile%\AppData\Local\VitualStore\Windows\XnView".

If you setup others options (like INI in user's folder or in register), I think there will be no change from previous OS. I can test this in Windows 7 for you.

Be carefull, "...\AppData\Local\VitualStore\Program Files" has the same subfolders than "C:\Program Files"
(or better: %programfiles%").
So if you install XnView with a modified path like "C:\Program files\Photo\XnView2"
the INI path will be created into "%userprofile%\AppData\Local\VitualStore\Program Files\Photo\XnView2"
or better: "%localappdata%\VirtualStore\Program Files\Photo\XnView2".

PS: it seems to be the same in Windows Vista and only in 32bits. See this page (in french language)http://www.ventepartner.com/vista/VistaEtVp75.html (particularly see § 4)

If you want, I can make some tests for you in Windows 7, but not in Windows Vista (no more Vista at home!!!).
Post Reply