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.
 
 
 
 
 
 
Shaswata Das 827363a95b
Create LICENSE
4 years ago
..
images commiting as it is 4 years ago
buildado.vbs commiting as it is 4 years ago
buildhta.vbs commiting as it is 4 years ago
buildwsh.vbs commiting as it is 4 years ago
createwinpe.hta commiting as it is 4 years ago
imagebuild.js commiting as it is 4 years ago
inputs.hta commiting as it is 4 years ago
readme.htm commiting as it is 4 years ago
sample.ini commiting as it is 4 years ago
scriptit.hta commiting as it is 4 years ago
status.log commiting as it is 4 years ago
testado.vbs commiting as it is 4 years ago
winpe.ini commiting as it is 4 years ago

readme.htm

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<title>CREATING WINDOWS PE IMAGES</title>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<style>
<!--
H1 {
CLEAR: both; FONT-SIZE: 140%; MARGIN-BOTTOM: 0.5em
}
-->
</style>
</head>
<body text="#000000" bgcolor="#ffffff">
<h1 align="center">
<font face="Tahoma">CREATING WINDOWS-PE IMAGES</font>
</h1>
<hr>
<p>
<u><b><font face="Tahoma"><font color="#0000ff">FILES REQUIRED</font>
<br>
</font></b></u>The following files are required to run this tool.
</p>
<table border="0" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor="#111111" width="91%" id="AutoNumber1">
<tr>
<td width="23%">
<u><font face="Arial">FILE</font></u>
</td>
<td width="77%">
<u><font face="Arial">PURPOSE</font></u>
</td>
</tr>
<tr>
<td width="23%">
<font size="2" face="Courier New">CreatePE.js </font>
</td>
<td width="77%">
WSH script that builds image
</td>
</tr>
<tr>
<td width="23%">
<font face="Courier New" size="2">CreateWinPE.hta</font>
</td>
<td width="77%">
HTML application that gathers input for CreatePE.js and stores it in a file
(WinPE.ini)
</td>
</tr>
<tr>
<td width="23%" style="HEIGHT: 21px">
<font size="2" face="Courier New">inputs.hta</font>
</td>
<td width="77%" style="HEIGHT: 21px">
&nbsp;
</td>
</tr>
<tr>
<td width="23%">
<font size="2" face="Courier New">scriptit.hta</font>
</td>
<td width="77%">
&nbsp;
</td>
</tr>
<tr>
<td width="23%">
<font size="2" face="Courier New">Images\CPE.ico</font>
</td>
<td width="77%">
Icon file
</td>
</tr>
<tr>
<td width="23%">
<font face="Courier New" size="2">Images\wpaback.jpg</font>
</td>
<td width="77%">
Background file for hta's.
</td>
</tr>
</table>
<p>
&nbsp;
</p>
<p>
<font face="Tahoma"><font color="#0000ff"><b><u>HOW TO RUN THE SCRIPT</u></b></font>
<br>
</font><font face="Times New Roman">There are two was you can run this script:</font>
</p>
<ol>
<li>
<font face="Times New Roman">Use the GUI run the script.
<br>
To start the GUI double click <i><a title="Click to run it now!" href="CreateWinPE.hta">
CreateWinPE.hta</a></i> and follow the instructions.
<br>
&nbsp;</font>
<li>
<font face="Times New Roman">Pass in a file which has the parameters. (to see the
format of the parameter file use the GUI to create it using <i>CreateWinPE.hta</i>
and exit before running the script.) <b>
<br>
USAGE: imagebld.js &lt;filename&gt;
<br>
</b>(sample.ini is an example of a parameter file).
<br>
&nbsp;</font>
<li>
<font face="Times New Roman">A log file called <i>status_USERLOGIN.log</i> (or
just <i>status.log</i>) is created to track progress or get information about
errors after the script has run.
<br>
&nbsp;</font></li>
</ol>
<p>
<font face="Tahoma" color="#0000ff"><u><b>KNOWN ISSUES</b></u></font>
</p>
<UL>
<li>
<font face="Times New Roman">Can't use folder or file names with spaces in them. <b>
Will be fixed!</b></font>
<li>
<font face="Times New Roman"><STRONG>Script may appear inactive.</STRONG> When it
has finished it will display a message box saying "Script Complete" or
"Terminating Script" if there was an error. </font>
<li>
There is no taskbar bar for this script. (ie nothing will appear in the
taskbar, but the script will still be running)</li>
<li>
&nbsp;</li>
</UL>
<p>&nbsp;</p>
<p>
<u><b><font face="Tahoma" color="#0000ff">FORMAT OF Sample.ini (Parameter file)</font></b></u>
</p>
<p>
The script (CreatePE.js) requires a parameter file.&nbsp; Below is an example
of what one looks like.&nbsp; It needs to have all the sections specified below
or else it will not work.
</p>
<P align="justify">
<font face="Courier New" size="2" color="#ff0000">[Architecture]
<br>
64
<br>
<br>
[OPK Location]
<br>
\\winbuilds\release\main\usa\latest.tst\opk
<br>
<br>
[WinXP Location]
<br>
\\winbuilds\release\main\usa\latest.tst\ia64fre\pro
<br>
<br>
[Image Destination]
<br>
HDD
<br>
c:\test_image\1
<br>
<br>
[Startup]
<br>
startnet.cmd
<br>
<br>
[Winbom]
<br>
winbom.ini
<br>
</font><FONT face="Courier New" color="#ff0000" size="2">
<BR>
[Wallpaper]
<br>
</FONT><FONT face="Courier New" color="#ff0000" size="2">winpe.bmp
<BR>
<BR>
[Optoinal Components]
<br>
BuildWSH.js
<br>
</P>
</FONT>
<p>
&nbsp;
</p>
<hr style="HEIGHT: 1px">
<p>
<font color="#33cc33">Last Modified:&nbsp;&nbsp;&nbsp;
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A %B %d, %Y" startspan -->Tuesday July 03, 2001<!--webbot bot="Timestamp" endspan i-checksum="32330" -->
<br>
</font><a href="../../../../pro/docs/relnotes.htm#copyright_details_ikxn" target="_new" style="TEXT-DECORATION: none">
<font color="#33cc33">© 2001 Microsoft Corporation. All rights reserved</font></a><font color="#33cc33">.</font>
</p>
</body>
</html>