mickah Posted May 27, 2004 Posted May 27, 2004 I have tired my best to get runonceex going but to no avail, when the computer boots from installing XP it doesn't install any of my programs, errors on all of them besides adobe and it still doesn't install it. Once it?s done with the programs it also has an start.cmd error, I don?t even have start.cmd, do I need it at all? I'm really quite lost, can someone please help me out.Below is my runonceex filecmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Ad-Aware 6 Build" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdAware\aaw5.83.exe /s" /fREG ADD %KEY%\010 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\AdobeReader6\AdbeRdr60_enu_basic.exe -p"-s /v\"/qn\""REG ADD %KEY%\015 /VE /D "MSN Messenger 6.1" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\MSN Messenger\MSN_Messenger_6.1.0202.msi /qn" /fREG ADD %KEY%\020 /VE /D "Microsoft VM Java and Update" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\software\jone.exe /Q:A /R:N" /fREG ADD %KEY%\020 /V 2 /D "%CDROM%\software\jtwo.exe /Q:A /R:N" /fREG ADD %KEY%\025 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb" /fREG ADD %KEY%\030 /VE /D "WinRAR 3.3" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\software\WinRAR\wrar.exe /s" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITI was hoping to get all the programs to install unattended, but I'm also unsure how to do that. I know you have to use a program that records all the choices u made when installing and coverts it to an .msi file. But I'm, unsure how to do it and what the best program to use is. The files I have in my unattended install are RunOnceEx.cmd, cmdlines.txt, hotfixes.cmd (which doesn't work anyway), winnt.sif, svcpack.inf. I have a strange feeling I've left out making a file, something important!Cheers
mickah Posted May 27, 2004 Author Posted May 27, 2004 Can someone please attempt to help me please, I only get a few hours to work on it a night. So I want to use this time as best as possible.Thanks
mickah Posted May 27, 2004 Author Posted May 27, 2004 If I have confused you so much you don?t know what to do or where to start, could you please just show me a way of installing the programs I listed. I?m not fussed if I have to change to a different method I just want to get it done tonightThanks guys
right_paw Posted May 27, 2004 Posted May 27, 2004 have you got a cmdlines.txt pointing to your runonceex.cmd file?
mickah Posted May 27, 2004 Author Posted May 27, 2004 yeah looks pretty sweet to me[COMMANDS]"RunOnceEx.cmd"Keep trying guys, I need as much help as your willing to give
right_paw Posted May 27, 2004 Posted May 27, 2004 that looks ok where have you got the files that you are trying to install?
right_paw Posted May 27, 2004 Posted May 27, 2004 http://unattended.msfn.org/xp/examples.htmyou might try looking at the examoles page runonceex file although your file structure is likely to be a little different
mickah Posted May 27, 2004 Author Posted May 27, 2004 Ok I've had a play with InstallRite and made some .exe's which I think are unattended, what would I have to do to get them to run on runonceex. Or if I can't install the programs using InstallRite, what do I have to do to solve my original program.Cheers....
right_paw Posted May 27, 2004 Posted May 27, 2004 did you check out the link? what is your file structure? do you have $oem$\$1\install ?
mickah Posted May 27, 2004 Author Posted May 27, 2004 I'm going to change it back to that way, is there anyway I can test it without having to re-install XP over again?
right_paw Posted May 27, 2004 Posted May 27, 2004 http://unattended.msfn.org/xp/oemfolders.htmthis seems to work as long as you have yoiur paths right in RunOnceEx.cmd make sure that you use $1 and not 1$ or no files get copied over to be installed.dont run your cleanup till after you get everyting installing ok this way you can look around after an install and see what has been copied over and where it is
mickah Posted May 27, 2004 Author Posted May 27, 2004 Well I've tired moving everything into hotfixes.cmd and installing the program that way, hopefully everything works... Thanks alot for your input lone crusader.Ill keep u posted
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now