All,
I could absolutely replace WE with XY except one situation: when I update XY. I prefer the no-install version of XY; it allows me to keep the data files in the same directory. Updating the program is for me just a matter of unzipping the files into temp directory, then overwriting the active program files with the new ones. Accessing the root files must be done in WE since I can't replace an executable from within the very same executable I'm trying to replace.
Thus the question: Is there another way to update the no-install version without using WE?
Bill
N2TPA
Install a new version from Within XY?
-
PeterH
- Posts: 2829
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Install a new version from Within XY?
1) terminate XY, run a copy from Windows command box.
2) load program to unzip from inside XY, then terminate XY, then start unzip direct to XY-directory.
(I prefer version 2)
2) load program to unzip from inside XY, then terminate XY, then start unzip direct to XY-directory.
(I prefer version 2)
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: Install a new version from Within XY?
Keeping one XYplorer.exe for just that purpose somewhere in a temp folder? I have a 2nd XY "installation" on my temp drive.n2tpa wrote:Thus the question: Is there another way to update the no-install version without using WE?
Cheers,
Filehero
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Install a new version from Within XY?
I use WinRAR to view the contents of the no-install archive.
Close XY.
Extract & overwrite all from WinRAR to <xypath>.
Open XY.
*shrugs*
Close XY.
Extract & overwrite all from WinRAR to <xypath>.
Open XY.
*shrugs*
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Install a new version from Within XY?
Maybe test this batch.n2tpa wrote: Thus the question: Is there another way to update the no-install version without using WE?
* save this code to an XYUpdater.CMD file inside the XYplorer folder
* put an command line zipper inside this folder too (i had "7za920_7-Zip 9.20_(2010-11-18)" at hand, but any zip or rar exe will do)
* put the recent non-install archive into that folder too
* execute the batch (maybe have an user command inside XYplorer to do this)
Code: Select all
@ECHO OFF
CD %~dp0
ECHO.
ECHO XYplorer archive unpacker
ECHO *************************
ECHO.
ECHO.
ECHO CWD: %CD%
REM NEEDS AN XYplorer xx yy.zip in this folder too! The LAST found is taken!
for /f "tokens=*" %%X in ('dir /b *.zip') DO set XY="%%X"
ECHO.
ECHO Archive: %XY%
ECHO.
ECHO (Press Ctrl+C to break this script now)
ECHO.
ECHO.
ECHO.
ECHO Unpack the archive now:
ECHO Please close your current XYplorer instance.
REM or use (not recommented) taskkill xyplorer
ECHO Then press "any key" to unpack the archive.
ECHO.
PAUSE
REM NEEDS AN UN-ZIPPER TOO in this folder!
7za e %XY%
ECHO Next we launch the new XYplorer version:
PAUSE
START XYplorer-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Install a new version from Within XY?
I currently use this script on XP 32bit and 7 64bit: http://www.xyplorer.com/xyfc/viewtopic. ... 880#p71080
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
XYplorer Beta Club