MSFN Forum: Sysprep -factory from WPI? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sysprep -factory from WPI? Rate Topic: -----

#1 User is offline   tmservo 

  • Group: Members
  • Posts: 7
  • Joined: 09-October 05

Posted 19 March 2006 - 11:37 AM

Ok, WPI could be a great solution for this, but so far, every time I try, I get nowhere.

Having an option to have Sysprep install and auto sysprep -factory from WPI as a selection seems to bomb.

Basically, I need it to run "last" in all chain events, and work like this (sample batch)

xcopy /r/i/c/h/k/e/y %CDRom%\sysprep\*.* %SystemRoot%\sysprep
%SystemRoot%\sysprep -factory

Or something along that ilk.

Anyone else try anything similar and any thoughts on how to make this come "last" after other applications install?


#2 User is offline   lawrenca 

  • Broken by Design
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 01-April 04

Posted 25 March 2006 - 01:36 PM

tmservo,
Give this a try:

You'll need to put your own information inside the sysprep.ini file and also add the drivers path inside of sysprep.bat. The key to making it run last is give it an order number higher than any of your other installs...999 in my case.

Config.js entry:
prog[pn]=['Sysprep']
uid[pn]=['SYSPREP']
picw[pn]=['128']
pich[pn]=['128']
textl[pn]=['Bottom']
texti[pn]=['1']
ordr[pn]=[999]
cmd1[pn]=['%SystemDrive%sysprep\\sysprep.bat']
dflt[pn]=['yes']
cat[pn]=['Utilities']
pn++


Another important aspect in making the batch file work is setting the working directory inside of sysprep.bat as I make calls to several executables inside the sysprep folder to setup driver paths, shutdown services, and kill unwanted processes.

You can download my sysprep folder here: Sysprep Folder and make changes to the .bat file to accomodate the factory switch or at least get an idea of how it could be done.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy