DjWhizZ Posted May 18, 2006 Posted May 18, 2006 hi, i can't get WPI Started.. The Folder is located on %CDROM%\WPI and the WPI.cmd is located in the $OEM$\$$\System32\ Folder..Here's my cmd File:@ECHO OFFREM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.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.hta 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%\WPIREM Hide this command window.%wpipath%Tools\cmdow.exe @ /hidREM Force resolution to needed size for wpi interface.REM %wpipath%Tools\ResChange.exe -width=1280 -height=1024 -depth=max -refresh=maxREM Font installation - the smooth and customizable way.REM start /wait %wpipath%Tools\fonts\fontinstaller.exeREM Special registry tweak needed.regedit /s %wpipath%common\wpi.regREM Make WPI directory the current directory.cd /d "%wpipath%"REM Start WPI and wait for its endwpi.htaREM Undo registry tweak.regedit /s %wpipath%common\undo.regREM Cleaning up the desktop.REM del /s/q "%userprofile%\desktop\*.lnk"REM Rebooting the sytem to finalize the installation process.REM shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."exit:endAnd i added this to the WINNT.sif[GuiRunOnce] command5="%systemroot%\system32\wpi.cmd
Kelsenellenelvian Posted May 18, 2006 Posted May 18, 2006 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.hta set CDROM=%%i:WPI.hta is not recognized by generate.js. put wpi.ico at the ROOT of your cd and change the line to: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:
DjWhizZ Posted May 18, 2006 Author Posted May 18, 2006 hmm look:[Pic]thats this line:command5="%systemroot%\system32\wpi.cmdWhats wrong with it?
Kelsenellenelvian Posted May 18, 2006 Posted May 18, 2006 command5="%systemroot%\system32\wpi.cmdI dont use the command part but i do notice that your missing the " at the end.All my section reads as is:"%systemroot%\system32\wpi.cmd"
DjWhizZ Posted May 18, 2006 Author Posted May 18, 2006 Working thx i'm now installing windows to test the WPI
DjWhizZ Posted May 18, 2006 Author Posted May 18, 2006 (edited) Kelsenellenelvian.. it's not working properly, it runs WPI now but! I made a screen of it..:[Pic]He's not installing everything.. Edited May 18, 2006 by DjWhizZ
DjWhizZ Posted May 18, 2006 Author Posted May 18, 2006 (edited) Here you goconfig.rar Edited May 18, 2006 by DjWhizZ
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