Page 1 of 1

Error updating ini on exit

Posted: 04 Apr 2010 16:36
by Shadow
Just updated to 9 from 8.8 and XY will not update the INI setting...

http://www.qc1a.com/error.jpg

http://www.qc1a.com/ini_status.jpg

edit: OS = Win7

Re: Error updating ini on exit

Posted: 04 Apr 2010 18:34
by Stefan
Hi Shadow, welcome.

I don't work with any UAC-using OS, but let's try to solve this.

Under normal circumstances due the UAC you have no write access to "..\Program Files\.."

You have updated from 8.80.0300.
HOW did you did this? With the portable archive or with the actual installer?
Since 8.80.0314 the installer prompts you on upgrade to agree
to move the XYplorer data folder to an folder where you have write access, did you agree?

Your current XYplorer.ini should be in that "user\username\AppData\Roaming\xyplorer" folder.
AppData_Roaming_XY_001_c100.png

What is the content of your XY startup.ini?
The size of your ini is 18 byte only, but should be 34 if it would contain the following standard:
[Appdata]
Path=%appdata%\XYplorer


which points to that roaming folder.


Note that this folder may be hidden, as well as the file extensions (as .ini)
To make them visible, press ALT-key and go to "extras > folder options" > "View"
Win7_show-FileTypes_and_Hidden-Folders001_c100.png

----

As an alternative setup, to leave all data-files inside the xyplorer folder,
you can give "Modify" rights for "Users" to the "...\program files\xyplorer\" -folder:
W7_ModifyRights_for_Users_001_c100.png
In that situation you doesn't need the startup.ini at all. Simple rename it to startup.txt.

Re: Error updating ini on exit

Posted: 04 Apr 2010 20:40
by Shadow
As an alternative setup, to leave all data-files inside the xyplorer folder,
you can give "Modify" rights for "Users" to the "...\program files\xyplorer\"
Setting the permission for the program folder seems to have resolved the issue. Thank you for your rapid response.

I did use the installer, as every time previous, but something must have changed.

Again, thank you.

Re: Error updating ini on exit

Posted: 15 Apr 2010 12:25
by admin
Shadow wrote:
As an alternative setup, to leave all data-files inside the xyplorer folder,
you can give "Modify" rights for "Users" to the "...\program files\xyplorer\"
Setting the permission for the program folder seems to have resolved the issue. Thank you for your rapid response.

I did use the installer, as every time previous, but something must have changed.

Again, thank you.
Actually on first run after installing the new version XY should have moved your app data files to a writable folder automatically. This seems not to work with some users. I'm still tracking the exact error conditions...

@Stefan: thanks for your great support! :D

Re: Error updating ini on exit

Posted: 15 Apr 2010 15:10
by j_c_hallgren
admin wrote:@Stefan: thanks for your great support! :D
I fully agree with this! He's been much better than I have recently! Keep up the great work! 8)