home *** CD-ROM | disk | FTP | other *** search
- Echo "ProWrite 3.2.3 to 3.2.4 patch script"
- Echo "by Mark Thomas"
- Echo "*NCopyright 1992 New Horizons Software, Inc."
- Echo "The new files created by this patch"
- Echo "are covered by the same licensing agreement"
- Echo "as the old programs from which the patches"
- Echo "are being made."
- Echo "*N Checking for ProWrite program..."
- If NOT EXISTS ProWrite
- Echo " The ProWrite program does not appear"
- Echo " to be in this directory. Please read"
- Echo " the file PW_Patch_Readme for further"
- Echo " instructions."
- Skip cleanup
- Else
- Echo " Found ProWrite."
- Endif
- Echo " Checking ProWrite version..." NOLINE
- List >T:pw.ver ProWrite
- Search >NIL: T:pw.ver 291996
- If WARN
- Search >NIL: T:pw.ver 289640
- If WARN
- Search >NIL: T:pw.ver 290212
- If WARN
- Search >NIL: T:pw.ver 287956
- If WARN
- Search >NIL: T:pw.ver 292448
- If WARN
- Echo "*N This ProWrite may not be version 3.2, 3.2.1,*N 3.2.2, or 3.2.3."
- Echo " This may be a result of using a file packer program."
- Echo "*NContact New Horizons Software, Inc."
- Echo "for further assistance."
- Echo "(512)328-6650"
- Quit
- Else
- Echo "3.2.4*N This ProWrite file is already version 3.2.4."
- Endif
- Else
- Echo "3.2*N This patch will not work on your program."
- Echo " You need to use the 3.2 to 3.2.3 patch archive"
- Echo " and then use this patch archive."
- Endif
- Else
- Echo "3.2.2*N This patch will not work on your program."
- Echo " You need to use the 3.2.2 to 3.2.3 patch archive"
- Echo " and then use this patch archive."
- Endif
- Else
- Echo "3.2.1*N This patch will not work on your program."
- Echo " You need to use the 3.2.1 to 3.2.3 patch archive"
- Echo " and then use this patch archive."
- Endif
- Else
- Echo "3.2.3*N Renaming the old ProWrite..."
- Rename >NIL: ProWrite ProWrite.old
- Echo " Patching ProWrite 3.2.3..."
- Lpatch >NIL: -oProWrite -pPW323-324.pch ProWrite.old
- Echo " Removing old version of ProWrite file..."
- Delete >NIL: ProWrite.old
- EndIf
-
- Echo "*N Checking for PosctScript Prep file..."
- If NOT EXISTS "PostScript Prep"
- Echo " The PostScript Prep file cannot be found."
- Echo " Quitting."
- Skip cleanup
- Else
- Echo " Found PostScript Prep."
- Endif
- Echo " Checking version of PostScript Prep file..." NOLINE
- List >T:pw.ver "PostScript Prep"
- Search >NIL: T:pw.ver 4037
- If WARN
- Search >NIL: T:pw.ver 4501
- If WARN
- Echo "*NThis PostScript Prep file may not be"
- Echo "a valid version."
- Echo "*NContact New Horizons Software, Inc."
- Echo "for further assistance if you have problems."
- Echo "(512)328-6650"
- Else
- Echo "3.2.4*N This PostScript Prep file is already the 3.2.4 version."
- Endif
- Else
- Echo "3.2*N Renaming the old PostScript Prep..."
- Rename >NIL: "PostScript Prep" "PostScript Prep.old"
- Echo " Patching PostScript Prep..."
- Lpatch >NIL: "-oPostScript Prep" -pPostScript_Prep.pch "PostScript Prep.old"
- Echo " Removing old version of PostScript Prep file..."
- Delete >NIL: "PostScript Prep.old"
- Endif
-
- LAB cleanup
- Echo "*N Cleaning up..."
- Delete >NIL: T:pw.ver
- Echo " Finished."
- Wait 10
- Endcli