zorg2000k Posted November 16, 2005 Share Posted November 16, 2005 Hi,Got my XP Unattened disc working by itself and my WPI working on a seperate disc fine.Issue getting both working though.Windows XP intalls (SP2 included) then I get two dos windows.Seems to hang with the WPI.hta being the active dos window. Any help would be great.TIAZorg Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 16, 2005 Share Posted November 16, 2005 Please post the contents of wpi.cmd and tell us where you are calling it from. Link to comment Share on other sites More sharing options...
zorg2000k Posted November 16, 2005 Author Share Posted November 16, 2005 Please post the contents of wpi.cmd and tell us where you are calling it from.@ECHO OFFREM 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%REM Hide this command window.%wpipath%\Tools\cmdow.exe @ /hidREM Force resolution to needed size for wpi interface.--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -qREM Font installation - the smooth and customizable way.--start /wait %wpipath%\Tools\fonts\fontinstaller.exeREM Special registry tweak needed.regedit /s "%wpipath%\common\wpi.regREM 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 endstart /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:endCould it be this line--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -qZorg Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now