Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
6.4 KiB

  1. <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
  2. <head>
  3. <title>CREATING WINDOWS PE IMAGES</title>
  4. <meta http-equiv="Content-Language" content="en-us">
  5. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  6. <meta name="ProgId" content="FrontPage.Editor.Document">
  7. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  8. <style>
  9. <!--
  10. H1 {
  11. CLEAR: both; FONT-SIZE: 140%; MARGIN-BOTTOM: 0.5em
  12. }
  13. -->
  14. </style>
  15. </head>
  16. <body text="#000000" bgcolor="#ffffff">
  17. <h1 align="center">
  18. <font face="Tahoma">CREATING WINDOWS-PE IMAGES</font>
  19. </h1>
  20. <hr>
  21. <p>
  22. <u><b><font face="Tahoma"><font color="#0000ff">FILES REQUIRED</font>
  23. <br>
  24. </font></b></u>The following files are required to run this tool.
  25. </p>
  26. <table border="0" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor="#111111" width="91%" id="AutoNumber1">
  27. <tr>
  28. <td width="23%">
  29. <u><font face="Arial">FILE</font></u>
  30. </td>
  31. <td width="77%">
  32. <u><font face="Arial">PURPOSE</font></u>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td width="23%">
  37. <font size="2" face="Courier New">CreatePE.js </font>
  38. </td>
  39. <td width="77%">
  40. WSH script that builds image
  41. </td>
  42. </tr>
  43. <tr>
  44. <td width="23%">
  45. <font face="Courier New" size="2">CreateWinPE.hta</font>
  46. </td>
  47. <td width="77%">
  48. HTML application that gathers input for CreatePE.js and stores it in a file
  49. (WinPE.ini)
  50. </td>
  51. </tr>
  52. <tr>
  53. <td width="23%" style="HEIGHT: 21px">
  54. <font size="2" face="Courier New">inputs.hta</font>
  55. </td>
  56. <td width="77%" style="HEIGHT: 21px">
  57. &nbsp;
  58. </td>
  59. </tr>
  60. <tr>
  61. <td width="23%">
  62. <font size="2" face="Courier New">scriptit.hta</font>
  63. </td>
  64. <td width="77%">
  65. &nbsp;
  66. </td>
  67. </tr>
  68. <tr>
  69. <td width="23%">
  70. <font size="2" face="Courier New">Images\CPE.ico</font>
  71. </td>
  72. <td width="77%">
  73. Icon file
  74. </td>
  75. </tr>
  76. <tr>
  77. <td width="23%">
  78. <font face="Courier New" size="2">Images\wpaback.jpg</font>
  79. </td>
  80. <td width="77%">
  81. Background file for hta's.
  82. </td>
  83. </tr>
  84. </table>
  85. <p>
  86. &nbsp;
  87. </p>
  88. <p>
  89. <font face="Tahoma"><font color="#0000ff"><b><u>HOW TO RUN THE SCRIPT</u></b></font>
  90. <br>
  91. </font><font face="Times New Roman">There are two was you can run this script:</font>
  92. </p>
  93. <ol>
  94. <li>
  95. <font face="Times New Roman">Use the GUI run the script.
  96. <br>
  97. To start the GUI double click <i><a title="Click to run it now!" href="CreateWinPE.hta">
  98. CreateWinPE.hta</a></i> and follow the instructions.
  99. <br>
  100. &nbsp;</font>
  101. <li>
  102. <font face="Times New Roman">Pass in a file which has the parameters. (to see the
  103. format of the parameter file use the GUI to create it using <i>CreateWinPE.hta</i>
  104. and exit before running the script.) <b>
  105. <br>
  106. USAGE: imagebld.js &lt;filename&gt;
  107. <br>
  108. </b>(sample.ini is an example of a parameter file).
  109. <br>
  110. &nbsp;</font>
  111. <li>
  112. <font face="Times New Roman">A log file called <i>status_USERLOGIN.log</i> (or
  113. just <i>status.log</i>) is created to track progress or get information about
  114. errors after the script has run.
  115. <br>
  116. &nbsp;</font></li>
  117. </ol>
  118. <p>
  119. <font face="Tahoma" color="#0000ff"><u><b>KNOWN ISSUES</b></u></font>
  120. </p>
  121. <UL>
  122. <li>
  123. <font face="Times New Roman">Can't use folder or file names with spaces in them. <b>
  124. Will be fixed!</b></font>
  125. <li>
  126. <font face="Times New Roman"><STRONG>Script may appear inactive.</STRONG> When it
  127. has finished it will display a message box saying "Script Complete" or
  128. "Terminating Script" if there was an error. </font>
  129. <li>
  130. There is no taskbar bar for this script. (ie nothing will appear in the
  131. taskbar, but the script will still be running)</li>
  132. <li>
  133. &nbsp;</li>
  134. </UL>
  135. <p>&nbsp;</p>
  136. <p>
  137. <u><b><font face="Tahoma" color="#0000ff">FORMAT OF Sample.ini (Parameter file)</font></b></u>
  138. </p>
  139. <p>
  140. The script (CreatePE.js) requires a parameter file.&nbsp; Below is an example
  141. of what one looks like.&nbsp; It needs to have all the sections specified below
  142. or else it will not work.
  143. </p>
  144. <P align="justify">
  145. <font face="Courier New" size="2" color="#ff0000">[Architecture]
  146. <br>
  147. 64
  148. <br>
  149. <br>
  150. [OPK Location]
  151. <br>
  152. \\winbuilds\release\main\usa\latest.tst\opk
  153. <br>
  154. <br>
  155. [WinXP Location]
  156. <br>
  157. \\winbuilds\release\main\usa\latest.tst\ia64fre\pro
  158. <br>
  159. <br>
  160. [Image Destination]
  161. <br>
  162. HDD
  163. <br>
  164. c:\test_image\1
  165. <br>
  166. <br>
  167. [Startup]
  168. <br>
  169. startnet.cmd
  170. <br>
  171. <br>
  172. [Winbom]
  173. <br>
  174. winbom.ini
  175. <br>
  176. </font><FONT face="Courier New" color="#ff0000" size="2">
  177. <BR>
  178. [Wallpaper]
  179. <br>
  180. </FONT><FONT face="Courier New" color="#ff0000" size="2">winpe.bmp
  181. <BR>
  182. <BR>
  183. [Optoinal Components]
  184. <br>
  185. BuildWSH.js
  186. <br>
  187. </P>
  188. </FONT>
  189. <p>
  190. &nbsp;
  191. </p>
  192. <hr style="HEIGHT: 1px">
  193. <p>
  194. <font color="#33cc33">Last Modified:&nbsp;&nbsp;&nbsp;
  195. <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A %B %d, %Y" startspan -->Tuesday July 03, 2001<!--webbot bot="Timestamp" endspan i-checksum="32330" -->
  196. <br>
  197. </font><a href="../../../../pro/docs/relnotes.htm#copyright_details_ikxn" target="_new" style="TEXT-DECORATION: none">
  198. <font color="#33cc33">� 2001 Microsoft Corporation. All rights reserved</font></a><font color="#33cc33">.</font>
  199. </p>
  200. </body>
  201. </html>