MAVERICKS CHOICE Posted November 21, 2005 Posted November 21, 2005 I presently run three Runonceex commands to install apps, recently I get an error at the end of my second script when the third Runonceex.cmd executes.No disc in the drive, cancel or ignore?This is the second cmd where @ 220 executes & causes the error..REG ADD %KEY%\220 /VE /D "Loading Programs Volume Three Please wait" /fREG ADD %KEY%\220 /V 1 /D "%CDROM%\Software\Runonce\Runonceex2.cmd" /fREG ADD %KEY%\223 /VE /D "The Machine Will Reboot in Ten Seconds" /fREG ADD %KEY%\223 /V 1 /D "%CDROM%\Software\Reboot.cmd" /f& the third runonceex.cmdcmdow @ /HID@echo offFOR %%i IN (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:\CD.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Michaels Applications Three" /fREG ADD %KEY%\225 /VE /D "Office 2003" /fREG ADD %KEY%\225 /V 1 /D "%CDROM%\Software\Office2003\office2003.exe" /fREG ADD %KEY%\230 /VE /D "Office Powerpoint viewer 2003" /fREG ADD %KEY%\230 /V 1 /D "%CDROM%\Software\ppviewer\ppviewer.msi /qn" /fREG ADD %KEY%\240 /VE /D "Office Project 2003" /fREG ADD %KEY%\240 /V 1 /D "%CDROM%\Software\Project2003\project.exe" /fREG ADD %KEY%\250 /VE /D "Office Onenote 2003" /fREG ADD %KEY%\250 /V 1 /D "%CDROM%\Software\Onenote2003\onenote.exe" /fREG ADD %KEY%\260 /VE /D "Office Visio 2003" /fREG ADD %KEY%\260 /V 1 /D "%CDROM%\Software\Visio2003\visio.exe" /fREG ADD %KEY%\270 /VE /D "Office Frontpage 2003" /fREG ADD %KEY%\270 /V 1 /D "%CDROM%\Software\Frontpage2003\Frontpage.exe" /fEXITAny ideas or suggestions is really appreciated.
MAVERICKS CHOICE Posted November 26, 2005 Author Posted November 26, 2005 (edited) OK think I found the problem.It seemed to be my Canon printer with the built in usb card reader causing the problem. I normally leave these devices on so the pnp drivers auto install duing setup, but apparently this is causing the intermittant disk not found error. Also messing up my optical drive letters.Think I can live with this one though because windows still loads these drivers & when setup finishes I simply switch on the device an windows installs the device. CheersMC. Edited November 26, 2005 by MAVERICKS CHOICE
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