Jump to content

Recommended Posts

Posted

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


Posted

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

Posted

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

Posted

yeah looks pretty sweet to me

[COMMANDS]
"RunOnceEx.cmd"

Keep trying guys, I need as much help as your willing to give

Posted

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

Posted

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?

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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