April 16, 200521 yr Hey guys, please help me with this.I upgraded WPI to the latest version.Now, if I want my Appz to install I have to put them into the $OEM$\$1\install\wpidir.When I do this all my Appz are being copied to the HDD before installating.I don't want that, I want to install them from the CD.How do I configure wpi.cmd and winnt.sif to do that.I tried :[GuiRunOnce]%cdrom%\install\wpi\wpi.cmd in the winnt.sif andset wpipath=%cdrom% in the wpi.cmd but it doesn't work.So please explain how to install XP and then run WPI to install Apzz from the CD !Thenx !
April 16, 200521 yr To my knowledge in wpi to stop being copied to the $oem$ folder you in WPI. When you provide the path to install applications must be changed.Example%systemdrive%\install\Ad-Aware\aawsepro.exe%Cdrom%\install\Ad-Aware\aawsepro.exeAs far as I know that should work
April 16, 200521 yr You need to put the wpi folder alongside your I386 folder not in your oem folder.then call guirunonce and all installs from %CDROM%\WPI\WPI.cmdand %CDROM%\WPI\Install\blah.exe
April 16, 200521 yr Author Thougt I have tried that, but will try it again now.I had it working a few month ago with an older version of wpi, but now it's notworking with the new version. Think I lost it.Too bad it take so long to install XP with Virtual PC too test it.
April 16, 200521 yr Author No luck guys,This is in my WINNT.SIF :[GuiRunOnce]%cdrom%\wpi\wpi.cmd%cdrom%\wpi\cleanup.cmdAfter installing I get a message that %cdrom%\wpi\wpi.cmdcould not be found...the path is alright so what is wrong ??
April 16, 200521 yr No luck guys,This is in my WINNT.SIF :[GuiRunOnce]%cdrom%\wpi\wpi.cmd%cdrom%\wpi\cleanup.cmdAfter installing I get a message that %cdrom%\wpi\wpi.cmdcould not be found...the path is alright so what is wrong ??<{POST_SNAPBACK}>Ok according to this you should have your WPI folder as soon as you open the disc so it's along with setup.exe and WIN51 and such. If it's not there then move the appropriate files to a WPI folder at the root of the disc%cdrom%\I386\wpi\wpi.cmd%cdrom%\I386\wpi\cleanup.cmdCreate a folder called WPI in I386 and add all your files and hopefully this should work
April 16, 200521 yr Author Right !As soon as I open the disc I see the wpi folder, but after install of XP it cannot start WPI.%cdrom%\wpi\wpi.cmd not found is the error.
April 16, 200521 yr Author F*ck this, I changed the path to %cdrom%\I386\wpi\wpi.cmd and still the same problem.Never had problems before...what is going on.I better get back to an older version...too bad I liked the new features so if somebody can help me.It seems to go wrong in my sif file at [GuiRunOnce].After the reboot it can't find the file %cdrom%\I386\wpi\wpi.cmd.Strange also...why does it say %cdrom% instead of a driveletter ??If I run the cmd manually there's no problem
April 16, 200521 yr Ok...Heres what I did. I put the WPI.cmd file in the $OEM$\$1\Install\wpi\ folder so it copies that to the hard drive.Under GUI run once thing, just leave that to the default:[GuiRunOnce] %systemdrive%\install\wpi\wpi.cmdWhen it calls the WPI.cmd, the CMD file searches for the CD drive that has WPI on it. Here is my WPI.cmd file:****** Where it says BoXP.txt , MAKE A File on your XP CD like something.txt and change the below to match that, the CD has to have a file on it for it to search for *********@ECHO OFFREM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico).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:\BoXP.txt 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%\wpiREM Hide this command window."%wpipath%\common\cmdow.exe" @ /hidREM Font installation - the smooth and customizable way.start /wait %wpipath%\common\fonts\fontinstaller.exeREM 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 endstart /wait WPI.htaREM Cleaning up the desktop.del /s/q "%userprofile%\desktop\*.lnk"REM Confirming a reboot...echo Dim WshShell, oExec>%tmp%\WPI.vbsecho Set WshShell = CreateObject("WScript.Shell")>>%tmp%\WPI.vbsecho answer = Msgbox(" Installation has finished! Should I REBOOT now? ",VBYesNo,"BoXP Post Install")>>%tmp%\WPI.vbsecho if answer = 6 then>>%tmp%\WPI.vbsecho oExec = WshShell.Run("SHUTDOWN -r -t 5", 1, true)>>%tmp%\WPI.vbsecho end if>>%tmp%\WPI.vbsecho set WshShell = nothing>>%tmp%\WPI.vbs%tmp%\WPI.vbsdel /q %tmp%\WPI.vbsexit:endWhat this will do is, it will find the RIGHT CDROM drive, the one with WPI on it, and then it will run WPI from that. If you use my WPI.cmd file above, it will run wpi from %CDROM%\wpi . Then if you have your programs set to install from %CDROM%\Install just put your programs in a folder named Install on the cd.If you do the above, it will work Good luck
April 16, 200521 yr Author Yooh Theebeets, that's no option for me, I wanted to run the cmd file (I read your post before).Via the cmd file I can do more ;-)Thenx again !
Create an account or sign in to comment