Jump to content

Recommended Posts

Posted

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" /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

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. :hello:


Posted (edited)

:wacko: 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:

Cheers

MC.

Edited by MAVERICKS CHOICE

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...