Calling WPI
#1
Posted 10 January 2005 - 08:58 AM
If so, how can I modify the cmd file to start WPI from %cdrom%\Install\WPI?
#2
Posted 10 January 2005 - 09:01 AM
calling WPI......
#3
Posted 10 January 2005 - 02:19 PM
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***'
TIA.
#4
Posted 10 January 2005 - 02:26 PM
[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
Posted 10 January 2005 - 02:34 PM
The batch file from hasi doesn't find my WPI @ %cdrom%\Install\WPI
#6
Posted 10 January 2005 - 02:35 PM
but i assume its mostly the same idea...
#7
Posted 10 January 2005 - 02:55 PM
@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\WPIit should work.
#8
Posted 10 January 2005 - 03:04 PM
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
Posted 10 January 2005 - 04:08 PM
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
Please where to put wpi.cmd / wpi.hta and the rest of the folders???
Big TIA...
KoppieKoffie (CupofCoffee)
#10
Posted 10 January 2005 - 10:17 PM
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
Posted 10 January 2005 - 10:22 PM
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
Posted 11 January 2005 - 01:02 AM
set WPIPATH=%~f0with
set WPIPATH=%~dp0and my script should work too.
#13
Posted 11 January 2005 - 05:45 AM



Help

Back to top








