home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / WININKIT.ZIP / WINKIT.DOC < prev   
Text File  |  1993-08-26  |  7KB  |  178 lines

  1. Documentation Stuff:
  2.  
  3. The Windows Installation Kit                
  4. ───────────────────────────────────────────────────────────────────────────────
  5.     The Windows Installation Kit is a DOS based set of programs that analyze
  6. the Windows directory when an application is installed to determine what files
  7. are necessary to install or un-install the application on other workstations.
  8. In this fashion, the application can be installed to the network once, and
  9. multiple workstations can eaisly be setup to run that application.  You don't
  10. even have to go into Windows to setup a workstation once you've run the install
  11. program all you need to do is run a batch file.  To install the Windows
  12. application for the first time, you run the WININST batch file with three
  13. parameters:
  14.  
  15.   1) [Install File] -The drive, path, name, and extension of the setup program.
  16.   2) [Hold File]    -The name to assign to the information files.
  17.   3) [Destination]  -The drive and path that the files will be copied to.
  18. Example: WININST A:\PCASETUP.EXE PCA F:\WININST\PCACOL (All parameters required)
  19.  - You can also type WININST and get instructions.
  20.  
  21.     The Installation Kit performs the following steps:
  22.         ∙ Takes a snapshot of the Windows directory before the application is
  23.                 installed.
  24.         ∙ Checks/Creates the [Destination] directory for the install files.
  25.         ∙ Changes the Windows shell to PROGMAN.EXE and disables the STARTUP
  26.                 group.
  27.         ∙ Starts Windows with the install program as a command line parameter.
  28.         ∙ After the application is installed, and the user exits Windows, the
  29.                 Windows directory is then compared against the snapshot from
  30.                 before the installation program.
  31.         ∙ Copy the new files needed for installation to the [Destination]
  32.                 directory.
  33.         ∙ Create five new files in the destination directory:
  34.                 [Hold File].PRG -All New/Modified files.
  35.                 [Hold File].NFO -All New/Modified INI and GRP Files only.
  36.                 [Hold File].CHG -Changes made to the INI files.
  37.                 [Hold File].CMD -Command file for workstation installations.
  38.                 [Hold File].BAT -Batch file to install application on a
  39.                                 workstation.  The name of the batch file will
  40.                                 be the first four letters of [Hold File] plus
  41.                                 INST.BAT.  EX: If the [Hold File] is EXCEL, the
  42.                                 name of the batch file would be EXCEINST.BAT.
  43.  
  44.     At this point the application is now installed on the workstation, and all
  45. data necessary to install the application on another workstation has been
  46. processed.  To install the application on another workstation, change to the
  47. [Destination] directory and run the batch file from that directory, passing a
  48. parameter of A to install the application, or R to remove it.
  49.  
  50.       The batch file performs the following steps:
  51.             ∙ Check your parameter to make sure that it is either A or R.
  52.             ∙ For Installation:
  53.                    Copies the files to the Windows directory.
  54.                    Adds the necessary information to the INI files(s).
  55.             ∙ For Deletion:
  56.                    Deletes the files from the Windows directory.
  57.                    Removes the information from the INI file(s) and deletes
  58.                    the empty ones.
  59. Page 1
  60.       WININST.BAT uses the following programs:
  61.             ∙ ASK.COM          -Ask the user if the installation was successful
  62.             ∙ CHECKDIR.EXE     -Checks for and creates [Destination] directory.
  63.             ∙ SETPROG.EXE      -Changes the defalut shell to PROGMAN.EXE, and
  64.                                 disables the STARTUP group.
  65.             ∙ C_NEW.EXE        -Analyzes the changes in the Windows directory,
  66.                                 builds the and batch file for installing/
  67.                                 removing the applicaiton.
  68.             ∙ INIMOD.EXE       -Changes the INI files in the Windows directory.
  69.             ∙ ATTRIB.EXE       -(DOS) Change the file attributes on the Windows
  70.                                 directories.
  71.  
  72.             (These programs MUST be located in a Pathed/Mapped directory)
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. ═══════════════════════════════════════════════════════════════════════════════
  99. Quick Start Stuff:
  100.  ∙ To Install a Windows application for the first time:
  101.    - Type: WININST [Install File] [Hold File] [Destination]
  102.      (All parameters required)
  103.         - For an explination of each parameter, see "Documentation Stuff"
  104.         - You can also type WININST and get instructions.
  105.  
  106.  ∙ To install an application on a workstation:
  107.    - Change to the [Destination] directory you specified when you installed
  108.         the application.
  109.     - Run the batch file in that directory and pass it a parameter of A.
  110.         EX: If the batch file is EXCEINST.BAT type EXCEINST A.
  111.  
  112.   ∙ To remove an application on a workstation:
  113.    - Change to the [Destination] directory you specified when you installed
  114.         the application.
  115.     - Run the batch file in that directory and pass it a parameter of R.
  116.         EX: If the batch file is EXCEINST.BAT type EXCEINST R.
  117.  
  118. Page 2
  119. Disclaimer Stuff:
  120.      THE AUTHOR SPECIFICALLY DISCLAIMS ALL  OTHER WARRANTIES, EXPRESSED  OR
  121.      IMPLIED,  INCLUDING  BUT  NOT  LIMITED TO,  ANY  IMPLIED  WARRANTY  OF
  122.      MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  123.      (Sorry, had to do it)
  124.  
  125. Basic Info Stuff:
  126.      I wrote this program to facilitate the installation of Windows
  127.      applications in the environment in which I work.  We frequently purchase
  128.      20+ copies of a Windows application, and installing it on each
  129.      workstation can be a real pain.  Certain packages allow for workstation
  130.      installation on a network, but a great deal of them don't.  It's even
  131.      harder to try to UN-install a Windows application.  That's the beauty of
  132.      this program, once you install it, it takes all of 10 seconds to add it
  133.      to another workstation, or remove it from one.  Special consideration must
  134.      be given to people who use a shell other than the default progman.
  135.      Example: I myself use Norton Desktop for Windows when I install a Windows
  136.        app, I have to in afterwards and install the new GRP in the Quick Access
  137.        so I can add the icon to my desktop.
  138.      Anyway, I hope that you find this program useful, and PLEASE register.
  139.  
  140. Registration Stuff:
  141.      If you find this program useful and use it for more than 30 days, please
  142.      register.  When you register, you will receive the next upgrade FREE.
  143.      Registration is cheap too, given the time that this program can save in a
  144.      large networked environment, I think that $20.00US is not too much to ask.
  145.      All donations of $60.00US or more will recieve a disk with the source code.
  146.      When you purchase the source code, you will also receive the Virtual Array
  147.      Unit that I used in writting this for free.  The source code is sold as
  148.      is, it's commented, but not a great deal.
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.        
  176.  
  177. Page 3
  178.