MSFN Forum: WPI.hta - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WPI.hta Rate Topic: -----

#1 User is offline   zorg2000k 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 16-August 04

Posted 16 November 2005 - 04:47 AM

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

Any help would be great.

TIA

Zorg


#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,652
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 November 2005 - 06:01 AM

Please post the contents of wpi.cmd and tell us where you are calling it from.

#3 User is offline   zorg2000k 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 16-August 04

Posted 16 November 2005 - 06:16 AM

View Postkelsenellenelvian, on Nov 16 2005, 06:01 AM, said:

Please post the contents of wpi.cmd and tell us where you are calling it from.


@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%

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


Could it be this line

--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

Zorg

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy