home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meet MediaBand
/
meetmediaband.bin
/
install.inf
< prev
next >
Wrap
Text File
|
1995-07-13
|
3KB
|
104 lines
DefineVariables
Text [ProductName] := MediaBand
Text [DefaultInstallDir] := C:\MEDIABND
Text [IconCmdLine] := Mediabnd.exe
Text [IconFile] := mediabnd.ico
EndDefineVariables
;; Setup screen
SetDefaultBitmap off
ShowWindow Maximized
Do MyDialog
Procedure MyDialog
[Number1] := 0
;; Product Introduction Screen
DialogBox 250 75 UseHeader "MediaBand Installation" Returns [Number1]
CText @xy(0,10) 250 50 "This installation will copy MediaBand to your hard drive."
CText @xy(0,20) 250 50 "It will also install WinG and QuickTime for Windows."
CText @xy(0,30) 250 50 "When installation is complete, your system will be restarted."
DefPushButton @xy(60, 50) 40 15 "Proceed" 1
DefPushButton @xy(150, 50) 40 15 "Cancel" 2
EndDialogBox
If [Number1] = 2
Exit
Endif
Dialog [DefaultInstallDir] 43
PLEASE CHOOSE YOUR INSTALLATION DIRECTORY
ON A FIXED DRIVE
Make your choice and press <Enter> or click on OK
EndDialog
CopyFiles from [InstallFromDrive]:\ to [DefaultInstallDir]
Mediabnd.exe
Mediabnd.ico
Mediabnd.ini
Lingo.ini
Fileio.dll
LabelDrv.dll
Huh!.wri
EndCopyFiles
SetFileAttrTo 20 for [DefaultInstallDir]\Mediabnd.exe
SetFileAttrTo 20 for [DefaultInstallDir]\Mediabnd.ico
SetFileAttrTo 20 for [DefaultInstallDir]\Mediabnd.ini
SetFileAttrTo 20 for [DefaultInstallDir]\Lingo.ini
SetFileAttrTo 20 for [DefaultInstallDir]\Fileio.dll
SetFileAttrTo 20 for [DefaultInstallDir]\LabelDrv.dll
SetFileAttrTo 20 for [DefaultInstallDir]\Huh!.wri
Dialog [WindowsDirectory] 43
PLEASE CHOOSE YOUR WINDOWS DIRECTORY
Make your choice and press <Enter> or click on OK
EndDialog
CopyFiles from [InstallFromDrive]:\WING to [WindowsDirectory]\SYSTEM
dva.386
wing.dll
wing32.dll
wingde.dll
wingdib.drv
wingpal.wnd
EndCopyFiles
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\dva.386
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\wing.dll
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\wing32.dll
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\wingde.dll
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\wingdib.drv
SetFileAttrTo 20 for [WindowsDirectory]\SYSTEM\wingpal.wnd
If FileExists [DefaultInstallDir]\CANTER.GRP
else
;; Create Program Group and Icon
ProgramManagerDDe
CreateGroup(MediaBand,[DefaultInstallDir]\MEDIABND.GRP)
AddItem([DefaultInstallDir]\mediabnd.exe,[ProductName],[DefaultInstallDir]\mediabnd.ico)
AddItem([DefaultInstallDir]\Huh!.wri,HUH!.WRI)
EndProgramManagerDDE
EndIf
SetModifyModeTo Modify
NoSysFileConfirmation
;;Change INI files
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoInquiry, Quietly
InSection [386Enh]
AddOrChangeLineWith (Device,=,DVA.386) as "Device=DVA.386" at Beginning
EndModifyTextFile
Run [InstallFromDrive]:\QT2\SETUP.EXE
Reboot Windows
EndProcedure
EndScript