Page 1 of 2
How to Update/Uprade XYPlorer Portable install?
Posted: 23 Nov 2016 23:38
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
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 23 Nov 2016 23:42
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.
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 08:43
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
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 18:40
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
Other than that...yes it worked! It definitely updated XYPlorer to the newer version!

Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 18:59
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...
Re: How to Update-Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 21:29
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! :-)
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 21:37
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
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 23:33
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
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 24 Nov 2016 23:44
by highend
It's a single command. And there is an example in the help file that matches your case.
Use the full path to the .dat file that you want to import and execute it e.g. from the address bar
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 00:07
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?
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 00:15
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:
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 00:23
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?
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 00:47
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>
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 08:53
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.
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?
Re: How to Update/Uprade XYPlorer Portable install?
Posted: 25 Nov 2016 09:25
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