CREATING WINDOWS-PE IMAGES


FILES REQUIRED
The following files are required to run this tool.

FILE PURPOSE
CreatePE.js WSH script that builds image
CreateWinPE.hta HTML application that gathers input for CreatePE.js and stores it in a file (WinPE.ini)
inputs.hta  
scriptit.hta  
Images\CPE.ico Icon file
Images\wpaback.jpg Background file for hta's.

 

HOW TO RUN THE SCRIPT
There are two was you can run this script:

  1. Use the GUI run the script.
    To start the GUI double click CreateWinPE.hta and follow the instructions.
     
  2. Pass in a file which has the parameters. (to see the format of the parameter file use the GUI to create it using CreateWinPE.hta and exit before running the script.)
    USAGE: imagebld.js <filename>
    (sample.ini is an example of a parameter file).
     
  3. A log file called status_USERLOGIN.log (or just status.log) is created to track progress or get information about errors after the script has run.
     

KNOWN ISSUES

 

FORMAT OF Sample.ini (Parameter file)

The script (CreatePE.js) requires a parameter file.  Below is an example of what one looks like.  It needs to have all the sections specified below or else it will not work.

[Architecture]
64

[OPK Location]
\\winbuilds\release\main\usa\latest.tst\opk

[WinXP Location]
\\winbuilds\release\main\usa\latest.tst\ia64fre\pro

[Image Destination]
HDD
c:\test_image\1

[Startup]
startnet.cmd

[Winbom]
winbom.ini

[Wallpaper]
winpe.bmp

[Optoinal Components]
BuildWSH.js

 


Last Modified:    Tuesday July 03, 2001
© 2001 Microsoft Corporation. All rights reserved.