johnnyb Posted July 13, 2004 Share Posted July 13, 2004 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.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Software" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\003 /VE /D "Adobe Acrobat Reader" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Apps\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""" /fprepare.cmd@echo offcolor 80cdr open allecho.echo.echo Put XP Unattend Cd 2 Into Driveecho When Drive Light Stops Blinking Continueecho.echo.pauseSET 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 /Yecho.echo.echo Files Copiedexit%CDROM2% containsapps directory which contains all my appsapps.cmd to identify the drive letterFrom 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 More sharing options...
johnnyb Posted July 13, 2004 Author Share Posted July 13, 2004 I went to sleep and woke up. I found out the problem. Sorry about that. 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