Jump to content

help with error


Recommended Posts

error4.jpg

I get this error when runonceex gets to "preparing installation". I do not know why I get it because I have nothing that points to that directory. "C:\install\apps\advanced"

The first few lines of runonceex.cmd

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Software" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\003 /VE /D "Adobe Acrobat Reader" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Apps\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""" /f

prepare.cmd

@echo off
color 80
cdr open all
echo.
echo.
echo Put XP Unattend Cd 2 Into Drive
echo When Drive Light Stops Blinking Continue
echo.
echo.
pause
SET CDROM2=
IF EXIST D:\apps.cmd SET CDROM2=D:
IF EXIST E:\apps.cmd SET CDROM2=E:
IF EXIST F:\apps.cmd SET CDROM2=F:
IF EXIST G:\apps.cmd SET CDROM2=G:
IF EXIST H:\apps.cmd SET CDROM2=H:
IF EXIST I:\apps.cmd SET CDROM2=I:
IF EXIST J:\apps.cmd SET CDROM2=J:
IF EXIST K:\apps.cmd SET CDROM2=K:
echo.
echo.
ECHO Please be patient while files are copied to your hard drive.
xcopy %CDROM2%\*.* %systemdrive%\install\ /S /C /Q /H /Y
echo.
echo.
echo Files Copied
exit

%CDROM2% contains

apps directory which contains all my apps

apps.cmd to identify the drive letter

From what I have it should run runonceex then open prepare.cmd which opens the cdrom drive and waits for the new cd to be put in by the user. after the user presses a key it copies the apps dir along with all the apps to C:\install\. after that is down runonceex continues and is able to find the files now located in the proper directory. I have no idea where this error comes from however. Maybe I need to take a break from it. Let me know if you see something here that I dont. Thanks.

Link to comment
Share on other sites


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