Help - Search - Members - Calendar
Full Version: Runonceex disc problem
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
MAVERICKS CHOICE
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..

CODE
REG ADD %KEY%\220 /VE /D "Loading Programs Volume Three Please wait" /f
REG ADD %KEY%\220 /V 1 /D "%CDROM%\Software\Runonce\Runonceex2.cmd" /f

REG ADD %KEY%\223 /VE /D "The Machine Will Reboot in Ten Seconds" /f
REG ADD %KEY%\223 /V 1 /D "%CDROM%\Software\Reboot.cmd" /f


& the third runonceex.cmd

CODE
cmdow @ /HID
@echo off

FOR %%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\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Michaels Applications Three" /f

REG ADD %KEY%\225 /VE /D "Office 2003" /f
REG ADD %KEY%\225 /V 1 /D "%CDROM%\Software\Office2003\office2003.exe" /f

REG ADD %KEY%\230 /VE /D "Office Powerpoint viewer 2003" /f
REG ADD %KEY%\230 /V 1 /D "%CDROM%\Software\ppviewer\ppviewer.msi /qn" /f

REG ADD %KEY%\240 /VE /D "Office Project 2003" /f
REG ADD %KEY%\240 /V 1 /D "%CDROM%\Software\Project2003\project.exe" /f

REG ADD %KEY%\250 /VE /D "Office Onenote 2003" /f
REG ADD %KEY%\250 /V 1 /D "%CDROM%\Software\Onenote2003\onenote.exe" /f

REG ADD %KEY%\260 /VE /D "Office Visio 2003" /f
REG ADD %KEY%\260 /V 1 /D "%CDROM%\Software\Visio2003\visio.exe" /f

REG ADD %KEY%\270 /VE /D "Office Frontpage 2003" /f
REG ADD %KEY%\270 /V 1 /D "%CDROM%\Software\Frontpage2003\Frontpage.exe" /f

EXIT


Any ideas or suggestions is really appreciated. welcome.gif
MAVERICKS CHOICE
wacko.gif 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. yes.gif

Cheers
MC.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.