home *** CD-ROM | disk | FTP | other *** search
- ;; Microsoft Advantage Installation script
- ;; Author: Stuart Green
- ;; Date: 20/10/95
- ;; Last Revision: 26/10/95
-
-
- DefineVariables
-
- Text [GroupName] := Microsoft Advantage Library
- Text [ExeIconName] := Microsoft Advantage
- Text [ExeIconFilename] := disk.ico
- Text [ExeFileName] := msadvan.exe
- Text [ReadMeFilename] := readme.txt
- Text [ReadMeIconName] := Read Me
- Text [TotalFilesSize] :=
- Logical [InstallationSuccessful] := NoCharacter
- Logical [DirExists] := NoCharacter
-
- EndDefineVariables
-
- ;; Start script
-
- ;; Install quicktime for windows
-
- run [InstallFromDrive]:\qtw\qtinstal.exe
-
- ;; Install video for windows
-
- run [InstallFromDrive]:\vfw\vsetup.exe
-
-
- ;; Set up Program Group and Icon
-
- ProgramManagerDDE
- CreateGroup([GroupName])
- ReplaceItem ([ExeIconName])
- AddItem([InstallFromDrive]:\[ExeFilename],[ExeIconName],[InstallFromDrive]:\[ExeIconFilename],,,,[InstallFromDrive]:\)
- ReplaceItem ([ReadMeIconName])
- AddItem(Notepad [InstallFromDrive]:\[ReadMeFilename],[ReadMeIconName],,,,,[InstallFromDrive]:\)
- ShowGroup ([GroupName], 1)
- EndProgramManagerDDE
-
- [InstallationSuccessful] := YesCharacter
-
- Popup Installation Complete.
-
-
- SoLong
-
- ;;
- ;;Procedures
- ;;
-
- ;;Silence non-fatal dde errors
-
- Procedure DDENonFatalErrorTrap
- EndProcedure
-
-
- ;; Handle aborts
-
- Procedure ExitProcedure
-
- If [InstallationSuccessful] = NoCharacter
- Popup [ExeIconName] not correctly loaded. Rerun setup at a later time.
- EndIf
- EndProcedure
-