ph1dft Posted April 16, 2005 Posted April 16, 2005 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 !
TheeBeets Posted April 16, 2005 Posted April 16, 2005 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
Kelsenellenelvian Posted April 16, 2005 Posted April 16, 2005 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
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 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.
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 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 ??
TheeBeets Posted April 16, 2005 Posted April 16, 2005 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
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 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.
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 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
derektm Posted April 16, 2005 Posted April 16, 2005 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
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 Okay thenx, I make my Iso now, and gonna test it.You will hear from me !
derektm Posted April 16, 2005 Posted April 16, 2005 If you need anymore help you can message me on AIM.. Its in my profile
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 My WPI starts up again, thenx for your help mate !
TheeBeets Posted April 16, 2005 Posted April 16, 2005 Ok m8 Listen this is what I did to fix it[GuiRunOnce]%Cdrom%\Wpi\Wpi.hta
ph1dft Posted April 16, 2005 Author Posted April 16, 2005 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 !
derektm Posted April 16, 2005 Posted April 16, 2005 My WPI starts up again, thenx for your help mate !<{POST_SNAPBACK}>No problem
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now