Jump to content

WPI DVD Setup


Recommended Posts

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... etc

I 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 OFF

REM 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 -q

REM Hide this command window.
"%wpipath%\common\cmdow.exe" @ /hid

REM Font installation - the smooth and customizable way.
start /wait %wpipath%\common\fonts\fontinstaller.exe

REM 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 end
start /wait WPI.hta

REM 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

:end

and 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


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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