Kelsenellenelvian Posted January 14, 2005 Share Posted January 14, 2005 Okay I am finishing my WPI project and I burned what I thought I was the final disk and I came up with a small glitch:Autorun calls the wpi.cmd file which reads as so= @ECHO OFFREMREM WPI startup something.REM REM Example, how to look for CDROM-drive. Must have a file called WPI.ico in its root.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%\PathToWPIset WPIPATH=%~dp0echo WPI will run from %WPIPATH%REM Font installation - the easy wayfor /R %%i in ( *.ttf ) do ( echo Installing font %%~ni.ttf copy /Y "%%~fi" "%windir%\Fonts" > nul "%WPIPATH%\common\installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul)REM Hide this command window"%WPIPATH%\common\cmdow.exe" @ /HIDREM Special registry tweak neededregedit /S "%WPIPATH%\common\wpi.reg"REM Make WPI driectory the current directoryfor /F "delims=: tokens=1" %%i in ("%WPIPATH%") DO %%i:cd "%WPIPATH%"REM Start WPI and wait for its endstart /wait WPI.htaREM call any cleanup code here, or after this script.exit:endThis runs fine, yet when WPI starts the background pops up without words, categories or even buttons. ONLY the background shows.Can someone figure out why this is happening???P.S. Autorun reads as so=[AutoRun]open=wpi.cmdicon=wpi.ico Link to comment Share on other sites More sharing options...
Astalavista Posted January 15, 2005 Share Posted January 15, 2005 I just downloaded the latest version and i dont hv that issue. Link to comment Share on other sites More sharing options...
hasi001 Posted January 16, 2005 Share Posted January 16, 2005 which theme do u use ? which resolution ? .cmd file seems to be ok. Link to comment Share on other sites More sharing options...
znscott Posted February 24, 2005 Share Posted February 24, 2005 Are you running WPI from CD or DVD?If so, this is what your path should be.set WPIPATH=%CDROM%\PathToWPI 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