dumi7 Posted January 27, 2005 Posted January 27, 2005 First off all, the method I used was RunOnceEX.cmd from the cd. I created the RunOnceEx.cmd and saved it in the $OEM$ folders, then I created cmdlines.txt and in the winnt.sif I deleted GuiRunOnce section.I ' ve put the CD.txt in the cd folders, with the $OEM$ folders and I created a folder named Software next to those and I put the apllications in there(winiso,spykiller,daemon tools).I use Windows xp proffesionall with service pack 2.Now , I've used these commands : cmdow @ /HID@echo offfor %%i in (C 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:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "winiso 5.3" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /fREG ADD %KEY%\015 /VE /D "Daemon tools" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\daemon.exe /qn /Reboot=Suppress" /fREG ADD %KEY%\025 /VE /D "Spykiller 2004" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe /verysilent" /fEXIT This is my RunOnceEx.cmd and is still gives me the error : - can't find \software\Winiso\WINISO53_pmp4.exe and does the same for all the other aplications.When I've used :IF EXIST D:\CD.txt set CDROM=D: IF EXIST E:\CD.txt set CDROM=E: IF EXIST F:\CD.txt set CDROM=F: IF EXIST G:\CD.txt set CDROM=G: IF EXIST H:\CD.txt set CDROM=H: IF EXIST I:\CD.txt set CDROM=I: IF EXIST J:\CD.txt set CDROM=J: IF EXIST T:\CD.txt set CDROM=T: I got the same error, but I't looked like this : - can't find D:\Software\Winiso\....Does anybody knows what this means?? Where or what I done wrong.Please tell me.... I have the win51 folder in the cd and the cd.txt. I really don't understand why doesn't it work. Help!!ps : in the for %%i in (C 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: why isn't there a D in there? Shouldn't it be??
durex Posted January 27, 2005 Posted January 27, 2005 To be clear your 'Software' folder is on the same 'level' as your $OEM$ folder, correct?Assuming it is.. first off, D should be there.. in fact you can replace C with D, because I highly doubt there will ever be a time where you CDROM is C. Id say this is your exact issue... assuming you only have 1 hard drive.Secondly.. theres no point for the CD.txt.. that for %%i line is looking for 'WIN51' in the root of your cd, the CD.txt is just used in another method of setting your CDROM, you can remove this file.. and theres no reason to have it in multiple locations, including inside your $OEM$ folder.Make these adjustments and post back your results...
asbsamsf Posted January 27, 2005 Posted January 27, 2005 ps : in the for %%i in (C 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: why isn't there a D in there? Shouldn't it be??type D after C and befor E
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