Jump to content

Recommended Posts

Posted

WHY do you want to copy WPI and other programs to the harddisk? Everything you copied to the harddisk and installs or excute have to be removed after completing install, it fragmented your disk, also slowdown your total setuptime. Needles to do that!! :realmad:

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! :thumbup

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.


Posted

is there really a need for the OEM folder?cuz im trying it without it and its not working.its not recognizing wpi at the very end.i edited my winnt.sif to run wpi.cmd rite after windows installation is that not possible?

Posted (edited)
is there really a need for the OEM folder?cuz im trying it without it and its not working.its not recognizing wpi at the very end.i edited my winnt.sif to run wpi.cmd rite after windows installation is that not possible?

this HOWTO has nothing to do with OEM folders. there must be another reason why it dont work for you. please check your path...

Edited by SolidasRock
  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...