j_h3000 Posted July 27, 2005 Share Posted July 27, 2005 (edited) hi guyscould some one help me with my problem here the problem is that wpi cant identefy the path of my programsi have my programs here"%cdrom%\$oem$\$$\Temp\install\program1\program1.exe"but when i try to install it using WPI an error message appeares saying that cant find "%cdrom%\wpi\install\program1\program1.exe"and i cant put my install folder in wpi dir coz i want to make 2 wpi.cmd files one of them will be in "%cdrom%\$oem$\$$\Temp\wpi"this one will launch after windows setup is doneand the other "modefied one" one is "%cdrom%\wpi"and this one will be the autoplay file for the cd and i need to make both of those cmd files identefy the same path of my programsi really appreciate your help guys so dont let me down please Edited July 27, 2005 by j_h3000 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 27, 2005 Share Posted July 27, 2005 please let me see you wpi.cmd and config.js files (post them as an attachment and remove any serials) We will get ya done. Link to comment Share on other sites More sharing options...
j_h3000 Posted July 27, 2005 Author Share Posted July 27, 2005 i really appreciate your reply man here's my config.jsand wpi.cmdand thanks in advance WPI.cmdconfig.js Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 27, 2005 Share Posted July 27, 2005 Okay lets do this another way.Do you really HAVE to have your installation files copy over during install?Can't you just run the installations from cd? Link to comment Share on other sites More sharing options...
j_h3000 Posted July 27, 2005 Author Share Posted July 27, 2005 (edited) no its not aproblem i can live with thatbut i must have 2 wpi each one of them has a different configs and default programsone of them runs just after windows installation is doneand the other runs whenever i insert the cd so i'll remove the counter and other stuffis it possible ? Edited July 27, 2005 by j_h3000 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 27, 2005 Share Posted July 27, 2005 We can make two seperate sets of wpi folders and keep all of the installs in a common directory. but you you are aiming at is definatley possible. So get to wrk at making 2 different wpis and i will help adjust your files so that both can reside on cd... Link to comment Share on other sites More sharing options...
j_h3000 Posted July 27, 2005 Author Share Posted July 27, 2005 ok i'll do that but this could take a while "maybe one week or mor" coz i still have to add alot of programsso can you teach me the way now? im sure that others will need these informations, and they will find it usefulor should i tell you when i finish ?and sorry fo wasting your time but it's really important for me Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 28, 2005 Share Posted July 28, 2005 I'm here sorry very busy Will get to writing up a tut for you tonight sorry. Link to comment Share on other sites More sharing options...
j_h3000 Posted July 29, 2005 Author Share Posted July 29, 2005 kelsenellenelvianthank you sir i really appreciate your help and im waiting for u tonight bo3bdohehehe how r u man nice to see you here my friend Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 29, 2005 Share Posted July 29, 2005 Helooooooooo j_h3000 DON'T REPORT POSTS FOR NO **** REASON!!I told him I would help him when I got time. I don't get paid for this stuff. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 29, 2005 Share Posted July 29, 2005 (edited) Here is what you have to do:Make 2 seperate WPI folders call them WPI1 and WPI2.Configure them to suit you needs and have you install paths be %cdrom%\install.Configure you WPI commands like such:For WPI1 (Post Installation)@ECHO OFFREM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.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:\wpi.ico 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%\wpi1REM Hide this command window.%wpipath%\Tools\cmdow.exe @ /hidREM Force resolution to needed size for wpi interface.--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -qREM Font installation - the smooth and customizable way.--start /wait %wpipath%\Tools\fonts\fontinstaller.exeREM Special registry tweak needed.regedit /s "%wpipath%\common\wpi.regREM 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 %windir%\system32\mshta.exe "%CD%\wpi.hta"REM Cleaning up the desktop.del /s/q "%userprofile%\desktop\*.lnk"REM Rebooting the sytem to finalize the installation process.--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."del %0For WPI2 (For Whenever)@ECHO OFFREM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.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:\wpi.ico 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%\wpi2REM Hide this command window.%wpipath%\Tools\cmdow.exe @ /hidREM Force resolution to needed size for wpi interface.--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -qREM Font installation - the smooth and customizable way.--start /wait %wpipath%\Tools\fonts\fontinstaller.exeREM Special registry tweak needed.regedit /s "%wpipath%\common\wpi.regREM 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 %windir%\system32\mshta.exe "%CD%\wpi.hta"REM Cleaning up the desktop.del /s/q "%userprofile%\desktop\*.lnk"REM Rebooting the sytem to finalize the installation process.--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."exit:endEdit the autorun.inf as follows:[AutoRun]open=wpi2\wpi.cmdicon=wpi.icoBuild your cd directory structure like this:Windows specific files (Like win51)i386$oem$ |---$1WPI1WPI2WPI.icoAutorun.infInstallPlace WPI.cmd #1 in the $oem$\$1 folder and call it through winnt.sif. Like so:[GuiRunOnce] "%systemdrive%\wpi.cmd"Place WPI.cmd #2 in the WPI2 folder and autorun is already configured to call it.If you get any errors tell me and I will help you sort them out. Edited July 29, 2005 by kelsenellenelvian Link to comment Share on other sites More sharing options...
j_h3000 Posted July 29, 2005 Author Share Posted July 29, 2005 thanks man it's working nowi guess the problem was only the path of WPI 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