January 10, 200521 yr 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?
January 10, 200521 yr just a step farther, could someone list and show the various methods ofcalling WPI......
January 10, 200521 yr 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.
January 10, 200521 yr 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 Edited January 10, 200521 yr by a06lp
January 10, 200521 yr Author 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
January 10, 200521 yr my bad, i have to dl the new version and check it out. but i assume its mostly the same idea...
January 10, 200521 yr Replace the contents of wpi.cmd with the following @ECHO OFFREMREM 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=%~f0echo WPI.cmd run from %WPIPATH%REM pause && exitREM Hide this command windowREM "%WPIPATH%\common\cmdow.exe" @ /HIDREM Special registry tweak neededregedit /S "%WPIPATH%\common\wpi.reg"REM This one installs any theme-supplied fonts and starts WPIstart /wait /min wscript "%WPIPATH%\common\WPI.wsf"REM call any cleanup code here, or after this script.exitthis will examine from where the cmd-file is run. (it would set WPIPATH to %systemdrive%\Install), but if you rewrite the WPI-path line toset WPIPATH=%CDROM%\Install\WPI it should work.
January 10, 200521 yr Now if someone could go into detail (Dennise) about how to use autorun and ohtermethods, like I use cmdlines, call RunOnceEX then it calls hta. And I think that ismy problem with script error for length of time. I think WPI should call RunOex...But please go into detail, if you have time.........thanksBD
January 10, 200521 yr 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 Please where to put wpi.cmd / wpi.hta and the rest of the folders???Big TIA...KoppieKoffie (CupofCoffee)
January 11, 200521 yr this my runoonceEXcmdow @ /HID@echo offFOR %%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=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\002 /V 1 /D "%CDROM%\install\install.cmd" /fEXITand my install.cmd mdow @ /HID@ECHO OFF%CDROM%cd \install\wpistart /wait wpi.htastart /wait poweroff Reboot -warn -warntime 30 -msg "This System Must now Reboot , This Is necessary for applications to complete installation, shortcuts to update."exitand i think wpi will start after 1st boot and when the software installation is over system will reboot again.am i right?
January 11, 200521 yr 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.
January 11, 200521 yr Oops - my fault. replace set WPIPATH=%~f0 with set WPIPATH=%~dp0 and my script should work too.
Create an account or sign in to comment