Saving configuration wipes out Registration code

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Ken Warmbrod
Posts: 4
Joined: 30 Oct 2007 04:40

Saving configuration wipes out Registration code

Post by Ken Warmbrod »

Just bought the program. If I click File | Configuration file | Save Configuration, the registration code in xyplorer.ini is wiped out, and the program asks me to purchase it again the next time the program is started.

Problem does not arise if I click File | Configuration file | Save Configuration as... and let the filename stand as xyplorer.ini.

I'm using Vista. I tried installing the program on different hard drives, not only the system derive C:. Same result.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Saving configuration wipes out Registration code

Post by admin »

I can't manage to reproduce this. Your current INI is XYplorer.ini, the data in the top INI section [Register] are there, then you click Save Configuration, and the data are wiped? Not here... :?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I couldn't recreate error either...ok, so I'm on W2K but if it's XY issue, then OS shouldn't likely matter...so, Ken, what was your exact full sequence of events? And version used?
Last edited by j_c_hallgren on 30 Oct 2007 14:14, edited 1 time in total.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

Has this something to do with the User Account Control feature in Vista?

If you try to turn User Account Control off, do you get the same result? when saving the ini-file?

Here is an example link how to turn it off.

http://www.petri.co.il/disable_uac_in_windows_vista.htm

=================================

Another approach could be to copy the whole XYplorer folder in your program files folder and copy it to your Desktop, Documents folder or anywhere else you are sure you have complete write access.

HTH

Ulrik

Gandolf

Post by Gandolf »

Don't forget that in Vista you can no longer assume that the user will have rights to installation path folders, and if you DO assume it, Windows Vista will secretly "virtualize" that file access (e.g. redirect it where it wants anyway). MS formally recommends that all developers steer clear of such uses of program data folders.

Donald, this might mean that you cannot use the XYPlorer program folder for storing the ini file in.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Gandolf wrote:Don't forget that in Vista you can no longer assume that the user will have rights to installation path folders, and if you DO assume it, Windows Vista will secretly "virtualize" that file access (e.g. redirect it where it wants anyway). MS formally recommends that all developers steer clear of such uses of program data folders.

Donald, this might mean that you cannot use the XYPlorer program folder for storing the ini file in.
But I have countless Vista users without a problem...

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

admin wrote:
Gandolf wrote:Don't forget that in Vista you can no longer assume that the user will have rights to installation path folders, and if you DO assume it, Windows Vista will secretly "virtualize" that file access (e.g. redirect it where it wants anyway). MS formally recommends that all developers steer clear of such uses of program data folders.

Donald, this might mean that you cannot use the XYPlorer program folder for storing the ini file in.
But I have countless Vista users without a problem...
Maybe those users are aware of this Vista issue? so they have fixed it themselves...

If they users have turned off the User Account Control feature I think they don't have any problems with this.

Don,

I think you have some sort of workaround for users who has User Account Control turned on which is default on a fresh Vista installation.

Here is a link from MS that describes how UAC affects applications on Vista.

http://www.microsoft.com/downloads/deta ... layLang=en

This can also be of interest as well...
http://support.microsoft.com/kb/927387

Maybe you should have the %appdata% folder as the default when installing on Vista?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

The question is: why would just the regdata be wiped? Or are all other data wiped, too??? Ken, is anything saved in the INI???

JustinF
Posts: 358
Joined: 28 Jun 2005 23:47
Location: Omaha, Nebraska, USA

Post by JustinF »

ugus wrote:
admin wrote:
Gandolf wrote:Don't forget that in Vista you can no longer assume that the user will have rights to installation path folders, and if you DO assume it, Windows Vista will secretly "virtualize" that file access (e.g. redirect it where it wants anyway). MS formally recommends that all developers steer clear of such uses of program data folders.

Donald, this might mean that you cannot use the XYPlorer program folder for storing the ini file in.
But I have countless Vista users without a problem...
Maybe those users are aware of this Vista issue? so they have fixed it themselves...
I sidestep the issue by not installing any of my applications in the Program Files directory.

We recently had to make our application more "Vista compatible" and we had to move all writeable files out of the app's directory...Microsoft doesn't guarantee virtualization in future versions of Windows.
Justin
Windows 7 Professional

Ken Warmbrod
Posts: 4
Joined: 30 Oct 2007 04:40

Follow up

Post by Ken Warmbrod »

I did a bit more experimentation and can report the following.
1. The problem is not caused by UAC under Vista. I turned off UAC, and the problem still occurred.
2. The problem is not even with Vista. I'm running a dual boot system with Vista and XP. I set up XYplorer on a data partition, Drive D:, so when I booted from XP, I could run the XYplorer under XP. Same exact result. The sequence "File | Configuration File | Save configuration" wipes out the registration info.
3. What actually gets wiped out appears to be only the section [Register] in XYplorer.ini. The rest of the file seems to be intact.
4. Fortunately, I still have the workaround of "File | Configuration File | Save Configuration as...", so I can modify XYplorer.ini interactively.
Still, it seems odd. Hopefully someone else will be able to duplicate the problem and discover the cause.
Thanks for all the suggestions. I still think XYplorer is a great program!

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Follow up

Post by admin »

Ken Warmbrod wrote:I did a bit more experimentation and can report the following.
1. The problem is not caused by UAC under Vista. I turned off UAC, and the problem still occurred.
2. The problem is not even with Vista. I'm running a dual boot system with Vista and XP. I set up XYplorer on a data partition, Drive D:, so when I booted from XP, I could run the XYplorer under XP. Same exact result. The sequence "File | Configuration File | Save configuration" wipes out the registration info.
3. What actually gets wiped out appears to be only the section [Register] in XYplorer.ini. The rest of the file seems to be intact.
4. Fortunately, I still have the workaround of "File | Configuration File | Save Configuration as...", so I can modify XYplorer.ini interactively.
Still, it seems odd. Hopefully someone else will be able to duplicate the problem and discover the cause.
Thanks for all the suggestions. I still think XYplorer is a great program!
Thrilling! So what is different at your end from all us others? Currently I have not the slightest idea. Just 2 questions:
What is your application path (= where XYplorer.exe and XYplorer.ini located)?
Is XYplorer.ini your INI, or do you use another INI?

Ken Warmbrod
Posts: 4
Joined: 30 Oct 2007 04:40

Post by Ken Warmbrod »

The current application path is: D:\XYPlorer\XYlorer.exe.
XYplorer.ini is in the same dirctory.
I previously used a path on the Vista system drive:
C:\Program Files\Utilities\XYPlorer\XYplorer.exe
Also used XYplorer.ini in that directory. Same result on saving the configuration.
I have set up other configuration files, e.g., ListOnly.ini in that same directory so that I can start XYplorer in different directories with different configurations. The ability to do that was one of the main features that sold me on the program.
Further: The version number, according to the help screen, is 6.40.0000.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Bizarre... why only Ken? I PMed him for a special debugging session...

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

admin wrote:Bizarre... why only Ken? I PMed him for a special debugging session...
Okay, bug fixed with the help of Ken (thanks!).

UPDATE: How to reproduce: call XYplorer.exe /ini=xyplorer ("xy" in lower case!) and save the configuration. Your reg data will be lost.

Ken Warmbrod
Posts: 4
Joined: 30 Oct 2007 04:40

Problem solved

Post by Ken Warmbrod »

I downloaded the revised beta 6.40.0035 and the problem is solved.

Thanks Don!

Post Reply