coucou Posted May 31, 2005 Posted May 31, 2005 Hi,I prepared and tested my first Unattended WinXP + Appz (WPI) DVD. I got some errors, these will be corrected in my next release.My main error is after the WinXP install 1st boot, i get "Software\wpi\wpi.cmd not find." error message. I opened windows Explorer, click on DVD Software\wpi\wpi.cmd this time i got "There is no disk in the drive. Please, insert disk into the drive [Cancel] [Try again] [Continue]" error message. i clicked about 3 times on [Cancel] then i got WPI started and i could install everything. I've no command for wpi in my winnt.sif.WPI is launced through cmdlines.txt[COMMANDS]"RunOnceEx.cmd"RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\WPI\WPI.exe" /fwpi.cmd as standard i did not copy all of it in this axample.@ECHO OFFfor %%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%........start /wait WPI.htaexitI'm suspecting RunOnceEx.cmd problem.1) Should be "EXIT" at the last line?2) Should i insert at the top of it 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: in order to detect a cdrom??? If so, what happens with this exact CD detection line 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: inside wpi.cmd???TNX for any helpcoucou
Lost Soul Posted May 31, 2005 Posted May 31, 2005 RunOnceEx.cmdcmdow @ /HIDCODE@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\WPI\WPI.exe" /ffirst off its wpi.cmd not wpi.exe unless youve created something new.and i tried to run mine from the runonceex before and it didnt work for me try calling it from the guirunonce section in your winnt.sif
coucou Posted June 1, 2005 Author Posted June 1, 2005 Oooops!!!Yeah! I'm runing astalavista wpi.exe instead of wpi.cmd. It is not a wpi.exe or .cmd problem. As you wrote and i tried to run mine from the runonceex before and it didnt work for me.The problem is still in RunOnceEx.cmd.1) Should be "EXIT" at the last line?2) Should i insert at the top of it 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:in order to detect a cdrom??? If so, what happens with this exact CD detection line 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:inside wpi.exe or wpi.cmd???TNX for any helpcoucou
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