home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l410 / 2.ddi / SETUPKIT / SETUP1 / README.TX$ / README.bin
Encoding:
Text File  |  1992-02-17  |  3.5 KB  |  95 lines

  1. SETUP1.EXE
  2.  
  3. Contents
  4. -------------------------------------------------------------------
  5. 1.  SETUP1.EXE
  6. 2.  How to Create a Setup Disk that Installs TESTAPP.EXE
  7. -------------------------------------------------------------------
  8.  
  9.  
  10. Topic 1:  SETUP1.EXE
  11. -------------------------------------------------------------------
  12. SETUP1.EXE is a Visual Basic application that you customize. The source 
  13. files for SETUP1.EXE are provided by the Setup Kit. You use these 
  14. source files as a template for creating your own setup program. It is 
  15. named SETUP1.EXE so users won't try to execute it from a floppy disk. 
  16.  
  17. When the user executes SETUP.EXE, SETUP.EXE copies SETUP1.EXE into your 
  18. customer's Microsoft Windows directory and renames it to the filename 
  19. you specify in SETUP.LST. SETUP.EXE then runs this file and installs 
  20. your software. 
  21.  
  22. SETUP1.EXE requires certain DLLs and other files to be in the
  23. correct location in order to run properly.  Attempting to run
  24. without proper preparation will SETUP1.EXE will cause an error since
  25. SETUP1.EXE will not be able to find the correct files.
  26.  
  27. For detailed documentation on the Setup Kit, see the SETUPKIT.HLP 
  28. Windows Help file located in the SETUPKIT directory.
  29.  
  30. Note:   Do not confuse SETUP.EXE with SETUP1.EXE. They are different 
  31. files which perform different functions. 
  32.  
  33.  
  34.  
  35.  
  36. Topic 2:  How to Create a Setup Disk for TESTAPP.EXE
  37. ----------------------------------------------------------------------
  38. Follow these steps to create a floppy disk that uses the Setup Kit to 
  39. install TESTAPP.EXE:
  40.  
  41.  
  42. 1. Copy the Setup Kit files to a blank floppy:
  43.  
  44.         File            Location
  45.         ------------    ---------------------
  46.         SETUP.EXE       \VB\SETUPKIT\KITFILES
  47.         SETUP.LST       \VB\SETUPKIT\KITFILES
  48.         SETUP1.EXE      \VB\SETUPKIT\SETUP1
  49.         SETUPKIT.DLL    \VB\SETUPKIT\KITFILES
  50.         VER.DLL         \VB\SETUPKIT\KITFILES
  51.         VBRUN100.DLL    \VB or the Microsoft Windows directory
  52.  
  53.  
  54. 2. Rename the Setup Kit DLLs (that are now on the floppy drive).
  55.  
  56.         Current Name    New Name
  57.         -------------   ------------
  58.         SETUPKIT.DLL    SETUPKIT.DL_
  59.         VBRUN100.DLL    VBRUN100.DL_
  60.         VER.DLL         VER.DL_
  61.  
  62.         For example:
  63.         RENAME   A:SETUPKIT.DLL   SETUPKIT.DL_
  64.  
  65.         You must rename the above DLLs with a DL_ extension so 
  66.         Microsoft Windows does not try to use these DLLs while 
  67.         the setup disk is in the floppy drive.
  68.  
  69.  
  70. 3. Copy the Test Application's files to the floppy.
  71.  
  72.         File            Location
  73.         ------          ------------------------
  74.         TESTAPP.EXE     \VB\SETUPKIT\TESTAPP
  75.         THREED.VBX      Microsoft Windows \SYSTEM subdirectory
  76.         CMDIALOG.VBX    Microsoft Windows \SYSTEM subdirectory
  77.         COMMDLG.DLL     Microsoft Windows \SYSTEM subdirectory
  78.  
  79.         Do not rename COMMDLG.DLL. It is not part of the Setup Kit. 
  80.         It is one of the files required by TESTAPP.EXE. 
  81.  
  82.  
  83. The floppy is now complete. To install TESTAPP.EXE, take the floppy 
  84. to another machine. Insert the disk in drive A. From the Windows 
  85. Program Manager (or File Manager) chose Run from the File menu and 
  86. type "a:setup".  When you create diskettes for your applications, the 
  87. steps will be the same, but you will:
  88.  
  89. 1.      Substitute your application files for the TESTAPP.EXE Files.
  90. 2.      Create your own SETUP1.EXE 
  91.         (by modifying the source to this SETUP1.EXE)
  92. 3.      Optionally change SETUP.LST. 
  93.  
  94.  
  95.