(abort "You did not download the PGS3G2.LHA archive. Download it and decompress it to the same directory as you decompressed this archive before continuing.")
)
;SEE IF PAGESTREAM3 AND SOFTLOGIK ARE ASSIGNED AND EVERYTHING EXISTS
(set PGSdest (getassign "PageStream3" "a"))
(set SLdest (getassign "SoftLogik" "a"))
(if (OR (= PGSdest "") (= SLdest ""))
(abort "PageStream3: and/or SoftLogik: are not assigned. You must properly install PageStream3 before applying this update patch.")
)
(set @default-dest PGSdest)
(if (<> (exists "PageStream3:PageStream3") 1)
(abort "PageStream3 is not in the PageStream3: directory. You must properly install PageStream3 before applying this update patch.")
)
(if (<> (exists "SoftLogik:Libs") 2)
(makedir "SoftLogik:Libs" (infos))
)
(if (<> (exists "SoftLogik:Engines") 2)
(makedir "SoftLogik:Engines" (infos))
)
(if (<> (exists "SoftLogik:Printers") 2)
(makedir "SoftLogik:Printers" (infos))
)
(if (<> (exists "SoftLogik:Filters") 2)
(makedir "SoftLogik:Filters" (infos))
)
(if (<> (exists "SoftLogik:Effects") 2)
(makedir "SoftLogik:Effects" (infos))
)
(if (<> (exists "SoftLogik:Special") 2)
(makedir "SoftLogik:Special" (infos))
)
(if (<> (exists "PageStream3:Help") 2)
(makedir "PageStream3:Help" (infos))
)
(if (<> (exists "PageStream3:Macros") 2)
(makedir "PageStream3:Macros" (infos))
)
;CHECK VERSIONS INSTALLED
(working "Checking version of current PageStream3...")
(makedir "env:PageStream3")
(run "version PageStream3:PageStream3 full >env:PageStream3/temp")
(message ("\n\nThis patch will update your PageStream3 hard drive installation to version 3.0g.\n\nYour original PageStream3 disks will not be modified by this update."))
(set install_mode
(askchoice
(prompt
"\nSelect an installation option.\n\nChoose `ALL' if you have a full PageStream3 installation. Choose `ONLY' if you have a custom or minimum PageStream3 installation.\n")
(choices "Install ALL improved files" "Update ONLY the currently installed files")
(default 0)
(help
"\n\nThe ONLY option will check to see if a file exists before copying the new one to your hard drive. Thus, if you deleted the HP.printer driver because you didn't need it, the new one will not be installed.")
)
)
;DELETE PRINTPREFS
(message "\n\nYou must reselect your printer driver and other printing preferences after this patch is complete.")
(working "\nInstalling Updated SoftLogik 8 font, icons, default style tags and a new color library...")
(message "\nYour PageStream3.macros file has been renamed to PageStream3.macros.bak. If you have added your own macros to PageStream3, you will need to append them to the new macros file.\n\nRefer to page 339 for more information.")
)
)
(working "Installing Updated Macros...")
(run "ram:lhex >NIL: <NIL: -qfw=PageStream3:Macros x Macros.lha")
(delete "Macros.LHA" (safe))
;UPDATE HELP
(if (exists "PageStream3:Help/PGS.HEL")
(run "ram:lhex >NIL: <NIL: -qfw=PageStream3:Help x Help.LHA")
)
(delete "Help.LHA" (safe))
;UPDATE PAGELINER2
(working "Patching PageLiner to 2.0d...")
(run "ram:lhex >NIL: <NIL: -qfw=ram: x PLpatch.LHA")
(abort "Patch was not successful. Cause was probably lack of RAM, a bad disk, or an incorrect version of PageStream3. Refer to the Read.1st! file for instructions.")
)
(delete "ram:PageStream3.pch" (safe))
;INSTALL README
(run "ram:lhex >NIL: <NIL: -qfw=PageStream3: x Read.LHA")
(delete "Read.LHA" (safe))
;DISPLAY README (Try 3 different ways!)
(run "ram:lhex >NIL: <NIL: -qfw=PageStream3: x Read.LHA")
(message "\n\nNEW!\n\nA JPEG import/export filter is now available for PageStream3 and BME2. It is sold separately for $20.\n\nCall 1-800-829-8608 (314-256-9595) to order!")
;WARN TO REBOOT
(message "\n\nIf you have already run PageStream3 without turning off or rebooting your computer, you should reboot your computer after this installation is complete.")