please install or excute almost everything direct from cd or dvd to win time and space. Let me tell you how to do this.
Create a map called "Install" and place it at the root of the disk.
Download the WPI 4.3.5. and unzip it to "Install". Go to WPI.cmd and rewrite the next lines to:
REM 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:\install\wpi\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%\install\wpi
Also go to the generate.js and rewrite two lines wpi.ico to WIN51:
if (FileExists(li[i]+'\\WIN51'))and
if (FileExists(a+'\\WIN51'))
i believe this is everything against bypassing WPI. place all your programs which you want to install in "INSTALL". (Doh...)
Create a runonceex with:
cmdow @ /HID @ECHO OFF 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:\WIN51 set CDROM=%%i: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY%\001 /V 1 /D "%CDROM%\Install\WPI\WPI.cmd" /f EXIT
Add to your cmdlines.txt the next line:
[COMMANDS] "REGEDIT /S theme.reg" "RunOnceEx.cmd"
RunOnceEx.cmd will always be the latest running program (cleanup.cmd the really latest but to not run into problems you better add cleanup.cmd to your WPI checkbox and give it the number 999. so that the program will forced to run as latest. The "REGEDIT /S theme.reg" is optional, if you followed my other HOWTO (also in WPI forum).
Place RunOnceEx.cmd and cmdlines.txt in $OEM$. please note that everything in a map with a "$" in the title, will be copied to your harddisk and slowdown your total setuptime. so keep all "$"-maps small as if you can. dont throw unneedles big things in it!
i believe this is everything. If you dont know how to edit .js or what cmdlines.txt is, then you arent ready to make a WPI disk at all. please move your a** to http://unattended.msfn.org/ and read everything and DO everything without asking to learn the basic things of creating unattended cd/dvd in your own language. No need to hurry, do it step to step. complete the howto and then come back here and create your WPI disk
for other members: ENJOY!
I hope Kelsenellenelvian change in the next version to install WPI directly from CD\DVD so bypassing is not needed anymore, this is a cleaner faster way.



Help

Back to top









