Illuvator Posted November 23, 2006 Share Posted November 23, 2006 Hi there, just a brief question, Im not sure how this works any more. Last time I set this up (using 3.4.x) I had the disk set up like so:-XP -$oem$ -I386 -wpi.ico -WPi - Audio... etcI then had to alter winnt.sif to add the command at the end:[GuiRunOnce]"%systemroot%\system32\wpi.cmd"I had a wpi.cmd file in the system32 file which was then executed, found out what drive the wpi was on and launched it on the first login after the installation of XP:@ECHO OFFREM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico).for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:echo Found CD-Rom as drive %CDROM%REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%.set wpipath=%cdrom%REM Force resolution to needed size for wpi interface.start %wpipath%\common\VideoChanger.exe 1280x1024x32@85 -qREM Hide this command window."%wpipath%\common\cmdow.exe" @ /hidREM Font installation - the smooth and customizable way.start /wait %wpipath%\common\fonts\fontinstaller.exeREM Special registry tweak needed.regedit /s "%wpipath%\common\wpi.reg"REM Make WPI directory the current directory.for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:cd "%wpipath%"REM Start WPI and wait for its endstart /wait WPI.htaREM Cleaning up the desktop.del /s/q "%userprofile%\desktop\*.lnk"REM Rebooting the sytem to finalize the installation process.shutdown.exe -r -f -t 10 -c "Reboot in 10 sec..."exit:endand so forth. However, now Im not sure what I have to do to set up WPI - has it changed or is it just a matter of altering what i used to do. Ive had a look through the forums so sorry if its blatantly obvious and I've missed it but I couldnt find anything on it any more - there used to be a section which told you a step by step to finalising your installation and so adding lines to the winnt.sif and so forth, but again couldnt find it this time.Thanks very much for your help,Il Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 23, 2006 Share Posted November 23, 2006 Delete the guirunonce in your .sif file and delete your WPI.cmd.Now grab the $Oem$ file for download and extract it to your dvd root.DONE!http://www.wpiw.net/downloads/$oem$.rar Link to comment Share on other sites More sharing options...
Dynamite Posted November 26, 2006 Share Posted November 26, 2006 Thanks KelsenellenelvianJust the job, I'm moving from batch file method to WPI and was looking for a way of starting WPI after Windows has fully installed instead of at T12/T13 so I'll give your RunWPI.cmd a go - Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now