Dynaletik Posted January 10, 2005 Share Posted January 10, 2005 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? Link to comment Share on other sites More sharing options...
bonedaddy Posted January 10, 2005 Share Posted January 10, 2005 just a step farther, could someone list and show the various methods ofcalling WPI...... Link to comment Share on other sites More sharing options...
KoppieKoffie Posted January 10, 2005 Share Posted January 10, 2005 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. Link to comment Share on other sites More sharing options...
a06lp Posted January 10, 2005 Share Posted January 10, 2005 (edited) 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, 2005 by a06lp Link to comment Share on other sites More sharing options...
Dynaletik Posted January 10, 2005 Author Share Posted January 10, 2005 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 Link to comment Share on other sites More sharing options...
a06lp Posted January 10, 2005 Share Posted January 10, 2005 my bad, i have to dl the new version and check it out. but i assume its mostly the same idea... Link to comment Share on other sites More sharing options...
hasi001 Posted January 10, 2005 Share Posted January 10, 2005 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. Link to comment Share on other sites More sharing options...
bonedaddy Posted January 10, 2005 Share Posted January 10, 2005 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 Link to comment Share on other sites More sharing options...
KoppieKoffie Posted January 10, 2005 Share Posted January 10, 2005 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) Link to comment Share on other sites More sharing options...
bmn Posted January 11, 2005 Share Posted January 11, 2005 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? Link to comment Share on other sites More sharing options...
a06lp Posted January 11, 2005 Share Posted January 11, 2005 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. Link to comment Share on other sites More sharing options...
hasi001 Posted January 11, 2005 Share Posted January 11, 2005 Oops - my fault. replace set WPIPATH=%~f0 with set WPIPATH=%~dp0 and my script should work too. Link to comment Share on other sites More sharing options...
bonedaddy Posted January 11, 2005 Share Posted January 11, 2005 your skript should work for what? 3.2.4 or 3.3.4 or both? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now