Jump to content

Very much lost in runonceex....


Recommended Posts

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 file

cmdow @ /HID
@echo off

IF 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\RunOnceEx

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

REG ADD %KEY%\005 /VE /D "Ad-Aware 6 Build" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdAware\aaw5.83.exe /s" /f

REG ADD %KEY%\010 /VE /D "Adobe Reader 6" /f
REG 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" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\MSN Messenger\MSN_Messenger_6.1.0202.msi /qn" /f

REG ADD %KEY%\020 /VE /D "Microsoft VM Java and Update" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\software\jone.exe /Q:A /R:N" /f
REG ADD %KEY%\020 /V 2 /D "%CDROM%\software\jtwo.exe /Q:A /R:N" /f

REG ADD %KEY%\025 /VE /D ".NET Framework v1.1" /f
REG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb" /f

REG ADD %KEY%\030 /VE /D "WinRAR 3.3" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\software\WinRAR\wrar.exe /s" /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

I 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

post-70-1085647677_thumb.jpg

Link to comment
Share on other sites


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 tonight

Thanks guys

Link to comment
Share on other sites

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

Link to comment
Share on other sites

http://unattended.msfn.org/xp/oemfolders.htm

this 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

Link to comment
Share on other sites

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

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