Re: Running VB scripts on Windows PE
From: Mike Kolitz (mikekol_at_idontlikespam.mvps.org)
Date: 06/25/04
- Next message: MS Community: "Re: Sysprep in Factory mode for ADS Deployment?"
- Previous message: Robert Moir: "Re: Can W2K server as BDC of SBS2003"
- In reply to: Rob: "Running VB scripts on Windows PE"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 18:37:45 -0500
You'll need to add support for WSH to Windows PE to make it work.
Look in the WINPE folder on the root of your Windows PE CD for the file
BUILDOPTIONALCOMPONENTS.VBS.
Here's the command line syntax:
---------------------------
Command-line arguments
---------------------------
The following command-line arguments are accepted by this script:
"/S:filepath" - alternate source location other than the CD-ROM drive.
Examples:
/S:C:\
-s:Z:\
or
-S:\\Myserver\Myshare
/D - Destination. Opposite of S - specifies build destination. Otherwise
files are placed on the desktop.
/ADO - Build ADO (ActiveX Database Objects) for Microsoft SQL Server
connectivity
/HTA - Build HTA (HTML Applications)
/WSH - Build WSH (Windows Script Host)
Note that if you do not specify which components, or you do not run this
script from the command-line, all optional components will be installed. If
you include HTA, WSH is includedautomatically, and cannot be removed.
/64 - build for Itanium. Generates scripts for Windows on the Itanium
Processor Family. Requires a copy of Windows XP 64-Bit Edition.
/Q - suppress dialogs. This will not confirm success, will notify on
failure.
/E - explore completed files. Open Explorer to the copied files (can use
with /Q).
---------------------------
OK
---------------------------
-- Mike Kolitz MCSE 2000 MS-MVP - Windows Setup / Deployment "Rob" <anonymous@discussions.microsoft.com> wrote in message news:20c7d01c459a0$56ca1460$a401280a@phx.gbl... > Can anyone tell how to run a VB script (wscript) on > Windows PE? > > Thanks > Rob > >
- Next message: MS Community: "Re: Sysprep in Factory mode for ADS Deployment?"
- Previous message: Robert Moir: "Re: Can W2K server as BDC of SBS2003"
- In reply to: Rob: "Running VB scripts on Windows PE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|