Jump to content

Replace RunonceEx to WPI , HELP


Recommended Posts

i said NO OEM folders. your guide clearly states using OEM folders.if you need me to type this more simpler then ask because i can see that your english isn't your first language.thanks for trying to help at least.i have been seeing you in a lot of forums helping alot of people and we all thank you for that.

edit:this is my wpi.cmd and im calling it from the winnt.sif

@ECHO OFF

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: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%\WPI

REM Hide this command window.

%wpipath%\Tools\cmdow.exe @ /hid

REM Force resolution to needed size for wpi interface.

start %wpipath%\Tools\VideoChanger.exe 1024x768x32@85 -q

REM Font installation - the smooth and customizable way.

REM start /wait %wpipath%\Tools\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 %windir%\system32\mshta.exe "%CD%\wpi.hta"

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

:end

Edited by EdGaR
Link to comment
Share on other sites


i said NO OEM folders. your guide clearly states using OEM folders.

OOPS... i thought you read the wrong howto, i have written another howto to get skinned windows work, and then you really need the $OEM$ folder. i was forgotten runonceex exist too in OEM. so you need them again. my bad...

and it is here 6.00 in the morning, forgive me i sleep a bit... :blushing:

EDIT:

do if exist %%i:WPI\wpi.ico set CDROM=%%i

must be:

do if exist %%i:\WPI\wpi.ico set CDROM=%%i

that is your mistake i believe...

Edited by SolidasRock
Link to comment
Share on other sites

will try ill edit when im done testing it.

edit:nope still not recognizing wpi.cmd says

windows cannot find '%CDROM%\WPI\WPI.cmd'. Make sure you typed the name correctly, and then try again. To serch for a file, click the Start button, and then click Search.

edit2:its also not applying my visual style.and yes the uxtheme.dll is patched.

Edited by EdGaR
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...