codeblue Posted March 23, 2004 Share Posted March 23, 2004 Just converted from Batch to RunOnceEx. I wanted to install all applications from the CD so in the CD root i put the CD.txt file and the Software folder and in the $oem$ directory the RunonceEX.cmd and cmdlines.txt. Here they are:[COMMANDS]"RunOnceEx.cmd"cmdow @ /HID@echo offIF 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:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\Currentversion\RunOnceExREG ADD %KEY% /V TITLE /D "XPSP1a instalation of all..." /fREG ADD %KEY%\005 /VE /D "Lavasoft Ad-Aware 6 Build 181" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdAware\Adaware6.exe/s" /fWhen testing the XPcd the installation goes nowhere. It hangs after this message:Searching for Boot Record from CDROM..OKI've search for typo's and found no space between the @ and / in cmdow @ /HID. Havent tested to see if this will fix it as i dont see how it would.Im sure i,ve missed something realy stupid, but after hours staring at code its all a blur now! Link to comment Share on other sites More sharing options...
Alanoll Posted March 23, 2004 Share Posted March 23, 2004 uh.....seeing as that line isn't in anywhere in your batch file...when does it show up?after GUIInstall, with the WindowsXP adds and blue screen...or when?That has nothign to do with RunOnceEX, and you code looks fine so far, except a space between /s and Adaware6.exe Link to comment Share on other sites More sharing options...
codeblue Posted March 23, 2004 Author Share Posted March 23, 2004 The line shows up after the Searching for Boot Record from Floppy..Not Foundjust after the post beep.Basicly right at the start, before anything. Link to comment Share on other sites More sharing options...
Aaron Posted March 23, 2004 Share Posted March 23, 2004 That's more likely to be a corrupted CD. Anything related to RunOnceEx doesn't kick in until its imported registry entries at the T-13 minutes stage of Windows XP Setup, so if it hangs when booting from the CD then its corrupt. Link to comment Share on other sites More sharing options...
evilvoice Posted March 23, 2004 Share Posted March 23, 2004 Actually...either his BIOS is screwed or he needs to hexedit his boot image and make sure it points to the right path Link to comment Share on other sites More sharing options...
Alanoll Posted March 23, 2004 Share Posted March 23, 2004 and if he has to hexedit his boot image, then he has a corrupted CD. Would really suck if the bios are screwed though. 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