Page 2 of 2
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 05, 2009 9:36 pm
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.
Re: xnview.ini in program folder with Windows 7
Posted: Fri Nov 06, 2009 8:45 am
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...

Re: xnview.ini in program folder with Windows 7
Posted: Sun Nov 08, 2009 3:01 pm
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?
Re: xnview.ini in program folder with Windows 7
Posted: Sun Nov 08, 2009 5:00 pm
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)
Re: xnview.ini in program folder with Windows 7
Posted: Sun Nov 08, 2009 5:45 pm
by XnTriq
Re: xnview.ini in program folder with Windows 7
Posted: Sun Nov 08, 2009 6:03 pm
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).
Re: xnview.ini in program folder with Windows 7
Posted: Mon Nov 09, 2009 8:11 am
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'??
Re: xnview.ini in program folder with Windows 7
Posted: Thu Nov 12, 2009 9:57 am
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!!!).