home *** CD-ROM | disk | FTP | other *** search
/ The Ultimedia Application / IBM_UCD_101.ISO / winmme / wugnet.txt < prev   
Text File  |  1991-07-29  |  8KB  |  214 lines

  1. ----------
  2. WUGNET.TXT
  3. ----------
  4.  
  5. PUTTING WINDOWS ON A NETWORK
  6. ============================
  7.  
  8. This file is intended for system administrators or 
  9. anyone who will install Windows on a network to be shared 
  10. by multiple users.
  11.  
  12. The Microsoft License Agreement that came with your 
  13. Windows package gives you permission to install Windows 
  14. on a network. For information on this license, see the 
  15. Grant of License section of this agreement or contact the 
  16. Microsoft Information Center. 
  17.  
  18. The files on the CD-ROM may be compressed. To  put
  19. Windows with Multimedia Extensions on the network, you
  20. must decompress these files by using the Expand
  21. decompression program that is included with Windows.
  22. To operate Expand efficiently, you will need to create
  23. an MS-DOS batch file. The following procedure contains
  24. the commands necessary to create this batch file.
  25.  
  26. This procedure assumes you are copying Windows from the CD-ROM
  27. in CD-ROM drive L to the \\WINDOWS network directory on network
  28. disk drive W and that you must decompress these files. You should
  29. replace the pathnames in these examples with the actual ones
  30. you are using, where appropriate.
  31.  
  32. To install Windows on a network:
  33. --------------------------------
  34.  
  35. 1. Connect to the network.
  36.  
  37. 2. Change to the directory where you want to put the 
  38.    shared copy of Windows.
  39.  
  40. 3. Type copy con expall.bat at the DOS prompt.
  41.  
  42.    This DOS command means that what you type next will be 
  43.    copied into EXBALL.BAT batch file. You can use any 
  44.    filename for this batch file as long as it contains the 
  45.    .BAT extension.
  46.  
  47. 4. Type the following at the DOS prompt
  48.  
  49.    l:
  50.    for %%i in (*.*) do w:\windows\expand %%i w:\windows\%%i
  51.    w:
  52.  
  53.    This MS-DOS code creates a program that will allow you 
  54.    to enter the pathnames of the source and destination of 
  55.    the Windows files.
  56.  
  57. 5. At the DOS prompt, press CTRL+Z.
  58.  
  59.    This MS-DOS command closes the batch files.
  60.  
  61. 6. Insert the CD-ROM into drive L and type the following at the DOS prompt:
  62.  
  63.    copy l:expand.exe w:\windows
  64.  
  65.    The Expand decompression program is copied to your 
  66.    network Windows directory.
  67.  
  68. 7. Now type the following:
  69.  
  70.    expall l:*.* w:\windows
  71.  
  72.    This command will run the EXPALL batch file program, 
  73.    which copies and expands the files from the Windows 
  74.    disks to the Windows directory on network disk drive W. 
  75.    You should enter the network disk drive and directory 
  76.    of your choice.
  77.  
  78. 8. Make all Windows files and the network share read-only.
  79.  
  80. Users may now connect to this directory and run Setup.
  81.  
  82.  
  83. Giving Users Access to Network Applications
  84. ===========================================
  85.  
  86. You can give users easier access to applications running 
  87. on the network by modifying the SETUP.INF file when you put 
  88. Windows on the network. This text file is included with 
  89. windows and remains in the shared windows directory.
  90.  
  91. Windows setup uses this file, among other reasons, to 
  92. determine the initial contents of the user's Program 
  93. Manager groups. By modifying the file, you can add 
  94. applications to these groups and customize their settings.
  95.  
  96. The [progman.groups] section of SETUP.INF lists the groups 
  97. in the Program Manager window. Following this section is a 
  98. list of the applications that are displayed as icons in 
  99. each group when a user starts WIndows. Each application is 
  100. listed by title, pathname, icon filename, and icon number. 
  101. These fields are separated by commas. The icon fields are 
  102. optional.
  103.  
  104. If you want Windows to install an application that is on 
  105. the network and place it in the user's Program Manager 
  106. window, you need to add to SETUP.INF a title (of your 
  107. choice) and the pathname of that application.
  108.  
  109. You have the option of specifying which icon will be 
  110. displayed by including  an icon filename and/or an icon 
  111. number.
  112.  
  113. The icon filename identifies the file that contains the 
  114. icon you want to use. If you want to use an icon that is 
  115. assigned to another application, you can enter that 
  116. application's filename as the icon filename. If you don't 
  117. specify an icon filename, the displayed icon will be one 
  118. from the application file. Or, if the application file 
  119. does not contain any icons, the icon will come from 
  120. Program Manager.
  121.  
  122. If the file you select contains more than one icon, you 
  123. can specify the one you want to use by entering the 
  124. appropriate icon number. This number corresponds to the 
  125. order in which the icon is listed in the file. If you do 
  126. not enter an icon number, Program Manager will use the 
  127. first icon listed in the file.
  128.  
  129.  
  130. To add a network application to a user's Program Manager window:
  131. ----------------------------------------------------------------
  132.  
  133. 1. Open the SETUP.INF file by using Write.
  134.  
  135. 2. Choose the No Conversion option in the Write dialog box.
  136.  
  137. 3. In the section for the group where you want the 
  138.    application to appear, type the program title, pathname, 
  139.    and, optionally, the icon filename and icon number of 
  140.    the application. The fields must be separated by commas.
  141.  
  142. 4. Choose Save from the File menu to save the changes.
  143.  
  144. The following are examples of different entries that you 
  145. could put in SETUP.INF if you wanted to add a shared copy 
  146. of Microsoft Word to a user's Program Manager window.
  147.  
  148. "Microsoft Word",k:\word\word.exe
  149.  
  150. "Microsoft Word",k:\word\word.exe,progman.exe
  151.  
  152. "Microsoft Word",k:\word\word.exe,,2
  153.  
  154. "Microsoft Word",k:\word\word.exe,progman.exe,2
  155.  
  156.  
  157. Keeping a User's Files Off a Shared Directory
  158. =============================================
  159.  
  160. When a user runs an application, Program Manager changes 
  161. the user's directory to the one that contains the 
  162. application. As a result, a user running a shared 
  163. application from the network might accidentally leave 
  164. personal files in the shared directory. These files will 
  165. use up disk space and possibly interfere with other users.
  166.  
  167. You can avoid this problem when you add the application to 
  168. SETUP.INF. First, make sure the application is located on 
  169. the user's path. Then,  instead of typing the network 
  170. pathname for the application, type the user's personal 
  171. Windows directory followed by the application filename.
  172.  
  173. For example, if EXCEL.EXE is located in K:\APPS, and that 
  174. directory is in the user's path, type c:\excel.exe in 
  175. SETUP.INF. Then, when the user selects the Excel icon, 
  176. Windows will change to the user's directory (C:\) and run 
  177. Microsoft Excel from the user's path. Any document files 
  178. the user creates will stay in the user's directory rather 
  179. than in the shared network directory.
  180.  
  181. Putting Additional Network Files on a User's System
  182. ===================================================
  183.  
  184. When a user runs the network version of Setup, Windows 
  185. will copy selected files to the user's system. You can 
  186. copy additional files to the user's Windows directory by 
  187. adding the filenames to the [net] section of the user's 
  188. SETUP.INF file.
  189.  
  190. To put additional files in the user's Windows directory:
  191. --------------------------------------------------------
  192.  
  193. 1. Open the SETUP.INF file by using a text editor, such as 
  194.    Notepad.
  195.  
  196. 2. find the [net] section of the file. (If you are using 
  197.    Notepad, you can do this by choosing Find from the 
  198.    Search menu, type [net], and choosing OK.)
  199.  
  200. 3. Type a drive number, a colon, the filename, and a title 
  201.    (optional) for the file you want to copy.
  202.  
  203.    You must enter a drive number, but it does not matter 
  204.    what number you use. Include a title only if you want a 
  205.    message to appear during Setup that indicates when this 
  206.    file is being copied to the user's disk.
  207.  
  208. The following are acceptable entries in the [net] section of SETUP.INF:
  209.  
  210. 2:NEW.PIF
  211.  
  212. 2:NEW.PIF, "Network Application Settings"
  213.  
  214.