[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]        Thread[>>]

Number : 4760 Date : 2003-06-05 Author : Kan Yabumoto Subject : Re: Install.bat Size(KB) : 2
Jon Hugdahl wrote: > Using win98se I have never had the install.bat work correctly > for me. I installed version 2.82.9 some short time ago, > just before the newer version came out. > > There were confusing and seemingly repetitive prompts but > it did complete, ignoring my stated folder destination. XXCOPY install is nothing but invoking the "XXCOPY /INSTALL" command. If you run XXCOPY.EXE directly (as opposed to running the INSTALL.BAT), you may run it from anywhere. XXCOPY.EXE will figure out where it is stored and find its companion files and copies all necessary files to the target directory. When it finds an older verion of XXCOPY.EXE in the target directory, it will figure out what version it is and rename the old file with encoded version number (e.g., XXCOPY.EXE v.1.23.4 will be renamed to XX1234.EXE) so that you can still go back to the older version by spelling out the renamed file. Since some users don't read the instructions (or anything), we provide the INSTALL.BAT file. The only problem we had was that for the INSTALL.BAT script to work correctly, it had to be invoked after you made the directory current. This was the requirement we had to explain in the README.TXT file (you probably did not read it and wasted a lot of time as a result). The new scheme incorporated by Garry's generous help allow us to provide the INSTALL.BAT program which can be invoked without making the temporary directory current. In the future release, the installation of a new version will be to unzip the downloaded file into a temporary directory and double-click the INSTALL.BAT file. Bob Weir suggested to use "unique" batch file name. Although it avoids the name collision, it also defeats the purpose. We have to provide a file which conforms to the "convention" ---- the installation program should be called "SETUP.EXE", "SETUP.BAT", "INSTALL.EXE", "INSTALL.BAT". Although we could let the user guess which file to invoke by looking at the file names, we have to remember that there are many users who don't read and who do not understand what "current directory" means. > Your new install.bat will not work on win98 will it? Yes, it will work. The conditional statement in the new batch file was added to address the very issue you were concerned. > I prefer to put the new xxcopy as a sub folder to my > c:\u\ folder and then I copy the running files to > the c:\u\ folder. Then I can easily back out the new > version if need be (haven't had to so far). You may continue to do so. If I were a regular XXCOPY user, I would definitely keep all downloaded version somewhere --- creating a subdirectory for each release. Kan Yabumoto
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.