home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / olympus / ik32_15t / setup.cfg < prev    next >
Encoding:
Text File  |  1996-09-04  |  2.7 KB  |  78 lines

  1. rem ***** Intro screen used unless a later screen overwrites this.
  2. beginfirstscreen
  3.  
  4.                  ImageKnife/OCX TRIAL from Media Architects, Inc.
  5.                 ======================================
  6.  
  7.    This installation program will setup ImageKnife/OCX onto your
  8.    hard disk.  Press "OK" to continue with the installation, or
  9.    press "Cancel" to quit without installing the software.
  10.  
  11. endfirstscreen
  12.  
  13.  
  14. rem ***** UnInstall stuff
  15. uninstall: yes
  16. UninstallBeginPrompt: "Do you wish to remove ImageKnife/OCX programs and directories from your system?"
  17. UninstallEndPrompt: "ImageKnife/OCX has been successfully removed from your system."
  18. BeginRegistry
  19.    key: new, "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ImageKnife OCX"
  20.    value: REG_SZ, new, "DisplayName", "ImageKnife/OCX(TRIAL)"
  21.    value: REG_SZ, new, "UninstallString", "$windir$\unstall.exe $defaultdir$"
  22. EndRegistry
  23.  
  24. rem ***** Check for a newer IK32.ocx registered on the system
  25. if ocxfilever ("{97ob41e-f71e-11ce-b134-444553540000}", 32) > "1.5.1.0"
  26. beginfirstscreen
  27.  
  28.                  ImageKnife/OCX from Media Architects, Inc.
  29.                 ======================================
  30.  
  31.          There is a newer version than this version (1.5.1.0) of
  32.          ImageKnife/OCX already installed on your system.
  33.  
  34.          Press "OK" to continue with this installation and overwrite
  35.          the newer version of ImageKnife with this version.
  36.  
  37.          Press "Cancel" to abort this installation.
  38. endfirstscreen
  39. endif
  40.  
  41. rem *** Start the files
  42.  
  43. mindiskspace: 5500000
  44.  
  45. defaultdir: "c:\mediarch\ik32d", prompt="Please enter the drive and directory where you wish ImageKnife/OCX to be installed:"
  46.  
  47. overwritefile: new
  48.  
  49. rem *ImageKnife/VBX 2.0 --> IK32/OCX
  50. ADDTEXT: "ikdsp16.vbx={970B41E3-F71E-11CE-B134-444553540000}#1.0#0;$defaultdir$", "$windir$\vb.ini", "[VBX Conversions32]"
  51. rem *ImageKnife/VBX 1.3 --> IK32/OCX
  52. ADDTEXT: "knife.vbx={970B41E3-F71E-11CE-B134-444553540000}#1.0#0;$defaultdir$", "$windir$\vb.ini", "[VBX Conversions32]"
  53.  
  54. rem ***** Files
  55. file: "..\admin32.shr"
  56. file: "samples\vb4\vb4.shr"
  57. file: "samples\delphi2\delphi2.shr"
  58. file: "$winsysdir$\iksys32.shr"
  59. overwritefile: ask
  60. file: "$winsysdir$\winsys32.shr"
  61. overwritefile: new
  62. file: "remove32.shr"
  63. file: "..\tools\tools32.shr"
  64. file: "main.shr"
  65. file: "readme.doc"
  66. file: "samples\images\images.shr"
  67.  
  68. winitem: "ImageKnife/OCX", "$defaultdir$\ik32.hlp", "ImageKnife/OCX Help", replace
  69. rem ***** Register the OCX's
  70. regserver: "IK32d.ocx"
  71.  
  72. rem ***** Pop up a readme file
  73. RUNATEXIT: "WRITE.EXE $defaultdir$\readme.doc"
  74.  
  75. beginlastscreen
  76.     Installation of ImageKnife/OCX completed successfully
  77. endlastscreen
  78.