MSFN Forum: Calling WPI - MSFN Forum

Jump to content



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

Calling WPI Rate Topic: -----

#1 User is offline   Dynaletik 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 633
  • Joined: 18-September 04
  • OS:none specified
  • Country: Country Flag

Posted 10 January 2005 - 08:58 AM

Hey guys...I don't know how to call the new WPI...for sure I got the wpi.cmd in my $OEM$\$1\Install folder on the hdd.....and I got WPI at %cdrom%\Install\WPI. So does your script (wpi.cmd) find WPI in that directory or has it to be @ %cdrom%\WPI??

If so, how can I modify the cmd file to start WPI from %cdrom%\Install\WPI?


#2 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 10 January 2005 - 09:01 AM

just a step farther, could someone list and show the various methods of

calling WPI......

#3 User is offline   KoppieKoffie 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 18-April 04

Posted 10 January 2005 - 02:19 PM

Bonedaddy just took the words out of my mouth...

I also am finding the ways to call wpi but the site is still about install.cmd en wpi.hta....

Anyone can help with some 'id***' :) proof installation of wpi?

TIA.

#4 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 10 January 2005 - 02:26 PM

there's already a post on calling WPI from cd..

[edit]
here's how I do it:
http://www.msfn.org/board/index.php?showto...ndpost&p=246892

This post has been edited by a06lp: 10 January 2005 - 02:30 PM


#5 User is offline   Dynaletik 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 633
  • Joined: 18-September 04
  • OS:none specified
  • Country: Country Flag

Posted 10 January 2005 - 02:34 PM

Yes..a06lp thanks. But we want to know how to call WPI with the new system of 3.3.4.

The batch file from hasi doesn't find my WPI @ %cdrom%\Install\WPI

#6 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 10 January 2005 - 02:35 PM

my bad, i have to dl the new version and check it out.
but i assume its mostly the same idea...

#7 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 10 January 2005 - 02:55 PM

Replace the contents of wpi.cmd with the following
@ECHO OFF
REM
REM WPI startup skript.
REM 

REM Example, how to look for CDROM-drive. Must have a file called WIN51 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:\WIN51 set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

set WPIPATH=%~f0
echo WPI.cmd run from %WPIPATH%

REM pause && exit

REM Hide this command window
REM "%WPIPATH%\common\cmdow.exe" @ /HID

REM Special registry tweak needed
regedit /S "%WPIPATH%\common\wpi.reg"

REM This one installs any theme-supplied fonts and starts WPI
start /wait /min wscript "%WPIPATH%\common\WPI.wsf"

REM call any cleanup code here, or after this script.
exit


this will examine from where the cmd-file is run. (it would set WPIPATH to %systemdrive%\Install), but if you rewrite the WPI-path line to
set WPIPATH=%CDROM%\Install\WPI
it should work.

#8 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 10 January 2005 - 03:04 PM

Now if someone could go into detail (Dennise) about how to use autorun and ohter

methods, like I use cmdlines, call RunOnceEX then it calls hta. And I think that is

my problem with script error for length of time. I think WPI should call RunOex...

But please go into detail, if you have time.........

thanks

BD

#9 User is offline   KoppieKoffie 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 18-April 04

Posted 10 January 2005 - 04:08 PM

Am I that of a "id***" that I can't seem to configure to WPI to start???

It's looking for a wpi.wsf in a folder which by his means is a subfolder of wpi.cmd..but that's a file? :}

I don't want WPI at cmdlines.txt but my options are limiting by the virtual install :D

Please where to put wpi.cmd / wpi.hta and the rest of the folders???

Big TIA...

KoppieKoffie (CupofCoffee) :w00t:

#10 User is offline   bmn 

  • Unattended Friend
  • PipPipPip
  • Group: Members
  • Posts: 398
  • Joined: 05-October 04

Posted 10 January 2005 - 10:17 PM

this my runoonceEX

cmdow @ /HID
@echo off
FOR %%d IN (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 %%d\WIN51IC SET CDROM=%%d
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\002 /V 1 /D "%CDROM%\install\install.cmd" /f
EXIT

and my install.cmd

mdow @ /HID
@ECHO OFF
%CDROM%
cd \install\wpi
start /wait wpi.hta
start /wait poweroff Reboot -warn -warntime 30 -msg "This System Must now Reboot , This Is necessary for applications to complete installation, shortcuts to update."
exit


and i think wpi will start after 1st boot and when the software installation is over system will reboot again.
am i right?

#11 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 10 January 2005 - 10:22 PM

this thread is somewhat limited right now, as the future of WPI is in question.
If themes are left out, the method I posted should work.
If themes are put back in, (but font installation is not), the method I posted above will be fine.
If themes are put back in, and font installation is also put back in, then its the method hasi posted.

#12 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 11 January 2005 - 01:02 AM

Oops - my fault. replace
set WPIPATH=%~f0
with
set WPIPATH=%~dp0
and my script should work too.

#13 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 11 January 2005 - 05:45 AM

your skript should work for what? 3.2.4 or 3.3.4 or both?

Share this topic:


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

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



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