Is XY Stll Portable?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TestMeister
Posts: 255
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Is XY Stll Portable?

Post 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?

Linkaday
Posts: 398
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v26H2 x64 1920x1080 (100%)

Re: Is XY Stll Portable?

Post 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
Last edited by Linkaday on 05 Sep 2020 23:05, edited 1 time in total.

TestMeister
Posts: 255
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Re: Is XY Stll Portable?

Post 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!
Last edited by TestMeister on 05 Sep 2020 23:22, edited 1 time in total.

Linkaday
Posts: 398
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v26H2 x64 1920x1080 (100%)

Re: Is XY Stll Portable?

Post 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!

TestMeister
Posts: 255
Joined: 04 Feb 2008 20:17
Location: Win 11 Pro v25H2- 125%

Re: Is XY Stll Portable?

Post 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:

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

Re: Is XY Stll Portable?

Post by admin »

TestMeister wrote: ↑05 Sep 2020 23:38 Pretty soon they'll take our keyboards away :roll:
:biggrin:

Post Reply