Jump to content

Little problem with WPI


Recommended Posts

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 :S

This is my launch of wpi:

@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 1024x768x32@75
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 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

:end

Thanks for help and sorry for my mountain english :D

Link to comment
Share on other sites


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

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

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