Page 1 of 1

Is XY Stll Portable?

Posted: 05 Sep 2020 22:13
by TestMeister
Win 10
XY 20.90.0700

I'm rearranging my local HDD and moving XY and other utilities into a different parent folder.
I believe XY is still portable so I copied the XY folder from C:\Program Files (x86) to C:\MyPrograms
Then from Programs and Features, I uninstalled Xy
*
When I launched XY from the new location, it had returned to all the default tab and toolbar settings, and prompted me for the license key.
I input the key which was accepted, closed/opened XY and was no longer prompted for the key.
I closed XY and checked Startup.ini and saw that it was set to Path=%appdata%\XYplorer
I changed it to the correct location Path=%appdata%\Roaming\XYplorer
Closed/opened XY but it still shows the UI defaults
*

Did I miss something or must the installation be run again?

Re: Is XY Stll Portable?

Posted: 05 Sep 2020 22:50
by Linkaday
Hi Testmeister,

there are two wrong assumptions here.
1. Portable means XYplorer is looking for your profile (all your settings, that were at %appdata%\XYplorer) inside the program folder - so XYplorer\Data
2. Environment variable %appdata% includes path segment \Roaming - so your changed path resolves to C:\Users\<username>\AppData\Roaming\Roaming\XYplorer, which doesn't exist.
So XYplorer sets default!

Copy the contents of C:\Users\<username>\AppData\Roaming\XYplorer to your Xyplorer-Path (EDIT: adjust the path in startup.ini) and you're done!

HTH

Re: Is XY Stll Portable?

Posted: 05 Sep 2020 23:04
by TestMeister
Mystery solved

Somehow during the new XY installation my Appdata settings were over-written with the defaults.
Since I had deleted the old XY program files, perhaps the installation thought it was a new installation.

Fortunately I had a backup and was able to restore the settings so all is well again.

Thanks for your help!

Re: Is XY Stll Portable?

Posted: 05 Sep 2020 23:15
by Linkaday
I can't test it at the moment - but i'm quite sure that %appdata% can´t be used by programs outside of the system's program folders (that would be against the logic of UAC)). Therefore the last line!

Re: Is XY Stll Portable?

Posted: 05 Sep 2020 23:38
by TestMeister
Understood, I wasn't aware that could be an issue.

So far, XY is working fine- I have changed tool bar items, tabs and catalogs and all are preserved correctly.

I had to do this because my company has imposed MDM as well as removed some of our Admin authority.
We can no longer install any "unapproved" apps that require Admin privileges for installation which installing in the Programs folders requires. So, once this new policy came into affect last week, I could not run the latest XY upgrade. I have requested approval for XY but our IT moves glacially, hence my relocating XY outside of UAC.

Pretty soon they'll take our keyboards away :roll:

Re: Is XY Stll Portable?

Posted: 15 Sep 2020 09:02
by admin
TestMeister wrote: ↑05 Sep 2020 23:38 Pretty soon they'll take our keyboards away :roll:
:biggrin: