echo off REM goto nolang :lcont if .%1==. goto specdr if not exist %1\123.LLD goto bfor23 if not exist %1\123.EXE goto incpath if not exist %1\WYSIWYG.ADN goto nowys goto sknowys :checking rem check file 123.dyn in product to determine 123 version. rem if error level returned by checkver is 0 then product is 1-2-3 r2.3 checkver %1\123.dyn 14439 27123 if errorlevel 4 goto isnot23 rem checksum of file not correct => not 123r2.3 if errorlevel 3 goto isnot23 rem size of file not correct => not 123r2.3 if errorlevel 2 goto errmsg rem file not found => not 1-2-3 rem error level 1 is returned when no. of arguments sent to checkver is rem incorrect - cannot occur here! if errorlevel 0 goto is23 rem file is from 123r2.3. goto done rem ========================Conan===================================== :is23 rem Copy the 123r23 version of the driver to the root directory. goto is23ms :is23inst if not exist *.drv goto nodel1 del *.drv > nul :nodel1 rem copy all the conan DRVs to the root copy .\123r23\*.drv . > nul if exist %1\WYSIWYG\IFL.EXE copy *.IFL %1\WYSIWYG > NUL REM *copy .\intl\READHP.ME %1\READHP.ME > NUL goto is23in rem=======================not Conan==================================== :isnot23 rem Copy the 123r24 version of the driver to the root directory. goto isn23m :isn23s if not exist *.drv goto nodel2 del *.drv > nul :nodel2 rem copy all the post-conan DRVs to the root copy .\123r24\*.drv . > nul REM if exist %1\WYSIWYG\IFL.EXE copy *.IFL %1\WYSIWYG > NUL rem copy the correct language version of the readhp.me REM *copy .\intl\READHP.ME %1\READHP.ME > NUL goto isn23n REM ======================================================================= REM | The following lines contain all the user error messages and prompts | REM | Text on lines beginning echo must be translated into the languages | REM | indicated. | REM ======================================================================= REM REM =============TRANSLATE TO English =========================== REM :specdr echo  echo You must specify a directory to update. Example: UPDATE C:\123R23 goto errmsg :bfor23 echo  echo The path or directory specified (%1), echo is not an updateable release of 1-2-3. goto errmsg :sknowys cls echo Checking 1-2-3 version... Please wait. echo  Echo off goto checking :nowys echo  echo The Wysiwyg program was not originally installed and therefore echo can not be updated. If you wish to install Wysiwyg at a future echo time, please rerun this update disk. goto done :is23ms echo  echo 1-2-3 Release 2.3 has been detected. echo  echo The correct HP drivers will now be set up for installation. goto is23inst :is23in echo  echo  echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º IMPORTANT NOTE: IF YOU UPGRADE YOUR 1-2-3 RELEASE 2.3 TO A MORE º echo º RECENT COPY OF 1-2-3 REL 2.3, OR TO 1-2-3 REL 2.4, º echo º THE HP PCL5 DRIVERS MUST BE RE-INSTALLED º echo º USING THE UPDATE COMMAND, AND 123 INSTALL. º echo º RETAIN THIS DISK FOR THAT PURPOSE. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo  echo HP DRIVERS DISK HAS BEEN SET UP. echo  echo To take advantage of the new printer driver, you must now run the echo 1-2-3 Install program. goto done :isn23m echo  echo The correct HP drivers will now be set up for installation. goto isn23s :isn23n echo  echo HP DRIVERS DISK HAS BEEN SET UP. echo  echo To take advantage of the new printer driver, you must now run the echo 1-2-3 Install program. goto done :incpath echo  echo The path or directory specified (%1), echo or the 1-2-3 files do not exist. :errmsg echo  echo ERROR: 1-2-3 version not determined. Correct driver file not set up. echo  goto done :done echo  echo on