Kamikaze! Posted November 4, 2005 Share Posted November 4, 2005 I have a little problem with my WPI instation, and i dont know for what reason some computers failing when execute the aplications. With same configuration and diferent CDROM drivers, i get problem with 2 of 10 computers :SThis is my launch of wpi:@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%\WPIrem Hide this command window.%wpipath%\Tools\cmdow.exe @ /hidREM Force resolution to needed size for wpi interface.start %wpipath%\Tools\VideoChanger.exe 1024x768x32@75REM Font installation - the smooth and customizable way.REM 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.REM del /s/q "%userprofile%\desktop\*.lnk"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:endThanks for help and sorry for my mountain english Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted November 5, 2005 Share Posted November 5, 2005 The question is, what the difference of the 2 computers to the others is. Do you made any other settings on the two computers, on which WPI fails to run?Is the drive letter of the CDROM detected?And what exactly is the error on the two computers? Does WPI fail to start or do the apps seems to install, but doesn't? Link to comment Share on other sites More sharing options...
Kamikaze! Posted November 8, 2005 Author Share Posted November 8, 2005 Im work in a PC Shop. And use WPI for update SO.Get the fail in some computers and others no. Dont know what is the fail. And sure the DVD always detect the correct letter of DVD. But i think the problem is not change the path of Instation and when fail always call "C:\".My path in installation is correct always %cdrom% put no always change it i think I get this fail in 1 o 10 PCs. Dont know why.Regards! 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