How to Update/Uprade XYPlorer Portable install?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

Hi,
How do update XYPlorer if I'm using a portable install? My experience with some other portable apps like Reaper (music software) is that you download a single .exe file which starts an installer with a checkbox if you want a portable install and you then just point it to where your current portable install is located and it 'squashes' the previous installation and updates it! Pretty clean and sweet! :-)

On the other hand Reaper also offers the possibility of just simply exporting ALL your settings/configurations to one file which can then be imported back into any another installation of Reaper, hence giving you the same result as the 'squashing' method...an updated version of the software with ALL your settings as in the previous version!

Anything like this with XYPlorer? How does one go about keep all ones configurations/customizations, tags, comments, etc...when updating?
Thanks!
chumbo

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: How to Update/Uprade XYPlorer Portable install?

Post by PeterH »

I assume you made a portable install by extracting the .zip to some location? In this case: just extract the .zip with the new version to the same location. All your settings will be kept.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

But I wouldn't do this in the running XY instance (XYplorer.exe can't be overwritten because it's in use).

But we have a few up scripts / applications that can do that for you.
E.g. from viewtopic.php?f=7&t=12509

viewtopic.php?f=7&t=8744
or
viewtopic.php?f=7&t=14617
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

PeterH wrote:just extract the .zip with the new version to the same location. All your settings will be kept.
Really?!

Hmmm....dunno, I'm a bit hesitant. I tried it on a 'dummy' install of XYPlorer and did it using Windows Explorer (to avoid the problem you both mentioned), and obviously Windows warned me I would be replacing existing files with the same name so I went through the +-20 files one by one and saw that among other things, there were 2 tags.dat files in there?! That would have certainly erased my existing Tags, right?!

As I said, exactly what I want to avoid, I want to keep ALL my settings :veryconfused:

Other than that...yes it worked! It definitely updated XYPlorer to the newer version! :D

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

Let me guess, you didn't download "No-Install Package (ZIP)" from https://www.xyplorer.com/download.php
That's the correct one to update a portable XYplorer version and no, it doesn't contain a tag.dat file...
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update-Uprade XYPlorer Portable install?

Post by chumbo »

Yup, you're right! I just googled and clicked the first link and downloaded that one. I've now downloaded the 'official' one and there is in fact no tag.dat file!
Thanks, I'm all sorted! :)

One other question...how can I merge two tag.dat files that I have from two separate portable installs? I'd now like to have all the tags of both installs in one of the unique portable install of xyplorer? Same for the 'Comment', just not sure if they are included in the tag.dat file or if they reside elsewhere.

Thanks for the brilliant, efficient and fast support! :-)

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

One other question...how can I merge two tag.dat files that I have from two separate portable installs?
The tagload() script command is able to do that (pro version only)
Same for the 'Comment', just not sure if they are included in the tag.dat
They are
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

Hmm, I know nothing about scripting. Does it involve anything more complicated than just selecting a script file and running it? If not, where do I find this script? But if it involves any sort of coding skills, it's going to go over my head. :-S

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

It's a single command. And there is an example in the help file that matches your case.

Code: Select all

tagload("XYplorerTag.dat", 1);
Use the full path to the .dat file that you want to import and execute it e.g. from the address bar
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

I don't quite understand when you write...
execute it e.g. from the address bar
I went to the Scripting file menu Scripting/Run Script... and pasted the code you gave me while the tag.dat file I wanted to import was selected but...it didn't do anything. It didn't import the tags from the other install into my current one running...did I do something wrong?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

I don't quite understand when you write...
You write that command in the address bar and execute it from there. But if you want to use the Scripting - Run Script you're free to do that
while the tag.dat file I wanted to import was selected
I wrote:
Use the full path to the .dat file that you want to import
If you want to import a currently selected SINGLE file you have to use this instead:

Code: Select all

tagload(<curitem>, 1);
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

When you say 'execute it', does that involve more than just hitting the space bar? Because I did that and it does nothing.

BTW, which install will be updated with the new tag.dat...the one from which I'm running the script or the one that has the tag.dat file I'm pointing to in the address bar?

as for....
Use the full path to the .dat file that you want to import
I don't quite see how that is different than what I was writing? The address bar did not show the actual file in its field, it just ends with the folder name containing it. That's what you were asking me to do, right?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

When you say 'execute it', does that involve more than just hitting the space bar?
Since when is the space bar used to execute a command? It's not a <leader> key like in vim^^
Hit the enter key^^
BTW, which install will be updated with the new tag.dat
The one that belongs to your current executed XY instance -> tag.dat in <xydata>
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: How to Update/Uprade XYPlorer Portable install?

Post by chumbo »

I guess you must have missed this post of mine higher in this thread:
chumbo wrote:Hmm, I know nothing about scripting. Does it involve anything more complicated than just selecting a script file and running it? If not, where do I find this script? But if it involves any sort of coding skills, it's going to go over my head. :veryconfused:
So what you just wrote means absolutely nothing to me! :-S
highend wrote:It's not a <leader> key like in vim^^
Hit the enter key^^
Is it still worth pursuing or am I going to have to have a crash class in scripting to do what I want to do here?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to Update/Uprade XYPlorer Portable install?

Post by highend »

It is just a single scripting command

You either execute it by typing (or pasting) it into the address bar (and hit enter when you're finished) or by doing the same with
Menu - Scripting - Run Script... (but ofc you hit the OK button there to execute it).

It has no fancy output like "hey, I'm finished with what you've asked for". It executes and it's done (in probably under a second).
If you want to see what it has done, go to Menu - Tools - List Management - Tagged Items... or
Tools - Configuration... - Information - Tags - Button "Options" - Edit Tagged Items... or use the Database Check... from the same button to make sure
that everything is correct
One of my scripts helped you out? Please donate via Paypal

Post Reply