home *** CD-ROM | disk | FTP | other *** search
- rem ***** Intro screen used unless a later screen overwrites this.
- beginfirstscreen
-
- ImageKnife/OCX TRIAL from Media Architects, Inc.
- ======================================
-
- This installation program will setup ImageKnife/OCX onto your
- hard disk. Press "OK" to continue with the installation, or
- press "Cancel" to quit without installing the software.
-
- endfirstscreen
-
-
- rem ***** UnInstall stuff
- uninstall: yes
- UninstallBeginPrompt: "Do you wish to remove ImageKnife/OCX programs and directories from your system?"
- UninstallEndPrompt: "ImageKnife/OCX has been successfully removed from your system."
- BeginRegistry
- key: new, "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ImageKnife OCX"
- value: REG_SZ, new, "DisplayName", "ImageKnife/OCX(TRIAL)"
- value: REG_SZ, new, "UninstallString", "$windir$\unstall.exe $defaultdir$"
- EndRegistry
-
- rem ***** Check for a newer IK32.ocx registered on the system
- if ocxfilever ("{97ob41e-f71e-11ce-b134-444553540000}", 32) > "1.5.1.0"
- beginfirstscreen
-
- ImageKnife/OCX from Media Architects, Inc.
- ======================================
-
- There is a newer version than this version (1.5.1.0) of
- ImageKnife/OCX already installed on your system.
-
- Press "OK" to continue with this installation and overwrite
- the newer version of ImageKnife with this version.
-
- Press "Cancel" to abort this installation.
- endfirstscreen
- endif
-
- rem *** Start the files
-
- mindiskspace: 5500000
-
- defaultdir: "c:\mediarch\ik32d", prompt="Please enter the drive and directory where you wish ImageKnife/OCX to be installed:"
-
- overwritefile: new
-
- rem *ImageKnife/VBX 2.0 --> IK32/OCX
- ADDTEXT: "ikdsp16.vbx={970B41E3-F71E-11CE-B134-444553540000}#1.0#0;$defaultdir$", "$windir$\vb.ini", "[VBX Conversions32]"
- rem *ImageKnife/VBX 1.3 --> IK32/OCX
- ADDTEXT: "knife.vbx={970B41E3-F71E-11CE-B134-444553540000}#1.0#0;$defaultdir$", "$windir$\vb.ini", "[VBX Conversions32]"
-
- rem ***** Files
- file: "..\admin32.shr"
- file: "samples\vb4\vb4.shr"
- file: "samples\delphi2\delphi2.shr"
- file: "$winsysdir$\iksys32.shr"
- overwritefile: ask
- file: "$winsysdir$\winsys32.shr"
- overwritefile: new
- file: "remove32.shr"
- file: "..\tools\tools32.shr"
- file: "main.shr"
- file: "readme.doc"
- file: "samples\images\images.shr"
-
- winitem: "ImageKnife/OCX", "$defaultdir$\ik32.hlp", "ImageKnife/OCX Help", replace
- rem ***** Register the OCX's
- regserver: "IK32d.ocx"
-
- rem ***** Pop up a readme file
- RUNATEXIT: "WRITE.EXE $defaultdir$\readme.doc"
-
- beginlastscreen
- Installation of ImageKnife/OCX completed successfully
- endlastscreen
-