Jump to content

Recommended Posts

Posted (edited)

Well as has happened once before when I load Wpi.cmd from Winnt.sif it tells me -start it not a recognised command etc. The Install paths in my config.js also must be wrong. I am using Bashrat's driver packs to install my audio drivers so I can hear the music when Wpi is playing. Your all doing a great job here and ThankYou for taking the time to do this it's very much appreciared. Here is all my files In wpi.cmd I might need to change wpi.ico to Win51 again? Im using Wpi 4.2b

WPI.cmd

@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.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 1280x1024x32@85 -q

REM Font installation - the smooth and customizable way.

--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 Cleaning up the desktop.

del /s/q "%userprofile%\desktop\*.lnk"

REM Rebooting the sytem to finalize the installation process.

--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."

exit

:end

Winnt.sif
[Data]

MsDosInitiated = "No"

Autopartition = 0

FloppyLess = 1

UnattendedInstall = Yes

[unattended]

OemPnPDriversPath = "D\I386;D\I386\COMPDATA;D\I386\WIN9XMIG\DMICALL;D\I386\WIN9XMIG\PRINT;D\I386\WIN9XMIG\PRINT\BLAINF;D\I386\WIN9XMIG\PRINT\DTCINF;D\I386\WIN9XMIG\PRINT\ENTINF;D\I386\WIN9XMIG\PRINT\PERINF;D\I386\WIN9XMIG\PRINT\SBSINF;D\I386\WIN9XMIG\PRINT\SRVINF;D\I386\WIN9XUPG;D\I386\WINNTUPG;D\I386\WINNTUPG\ENTINF;D\I386\WINNTUPG\MS\MODEMSHR;D\I386\WINNTUPG\MS\SNA;D\I386\WINNTUPG\OEM\DIGI\ASYNC;D\I386\WINNTUPG\OEM\DIGI\ISDN\BRI;D\I386\WINNTUPG\OEM\DIGI\ISDN\PRI;D\I386\WINNTUPG\OEM\DIGI\REALPORT;D\I386\WINNTUPG\OEM\EICON;D\I386\WINNTUPG\OEM\EQN;D\I386\WINNTUPG\OEM\SPX\MPS;D\I386\WINNTUPG\OEM\TIGERJET;D\I386\WINNTUPG\PERINF;D\I386\WINNTUPG\SRVINF;D\WPI;D\WPI\Tools\Fonts"

NonDriverSigningPolicy = "Ignore"

DriverSigningPolicy = "Ignore"

OemPreinstall = "Yes"

UnattendMode = FullUnattended

UnattendSwitch = No

OemSkipEula = Yes

FileSystem = *

WaitForReboot = No

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

TargetPath = Windows

        Repartition=Yes

[Display]

Xresolution = 1280

Yresolution = 1024

BitsPerPel = 32

        AutoConfirm=1

[GuiUnattended]

AutoLogon = No

AdminPassword = *

TimeZone = 085

OEMSkipRegional = 1

OemSkipWelcome = 1

[Components]

        msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

spider=off

zonegames=off

[userData]

ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

ComputerName = EQUINOX

FullName = Equinox

OrgName = Home

[RegionalSettings]

Language = 0809

Home_Page =http://www.google.co.uk

Search_Page =http://www.google.co.uk

[Networking]

        InstallDefaultComponents=No

[GuiRunOnce]

command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"

          "%systemroot%\system32\wpi.cmd"

[shell]

  CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Deliverence.theme"

Config.js

So the error is Wpi.cmd doesnt load at GuiRunOnce but will run manually when executed from windows explorer. This is all done in Microsoft Virtual Machine.

Edited by TheeBeets

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