First I would like to say thanks for all the great advice that I have found searching the site.
I have a fully working network install of XP SP 2 + Office 2003 SP 1 + 6 other Apps all running silent via batch files and has been fully load tested clean installing 40 PC's in on shot, so thanks for that.
My problem is I am in the process of moving away from batch files to the RunOnceEx method but everytim I run the install it seem that the RunOnceEx just is not working.
I have been over the RunOnceEx setup tut at http://unattended several times but still no joy.
As this is a network install the $OEM$ folder resides within the I386 folder and all that I put into is copied to the correct locations is there something that I am missing.
I have even put a PAUSE in the RunOnceEx file to try and hold it for debugging but as that is not coming up and there are no registry entries once Windows loads I am happy to say it just is not running.
Any help would be great.
Regards,
Ozzie
[EDIT]
This is the cmdlines.txt which is in $OEM$
[COMMANDS] "RunOnceEx.cmd"
This is the RunOnceEx which is also in $OEM$
@echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Drives and Applications" /f REG ADD %KEY%\001 /VE /D "Copy I386 Folder" /f REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\1.cmd" /f REG ADD %KEY%\002 /VE /D "Copy Programs Folder" /f REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\2.cmd" /f REG ADD %KEY%\003 /VE /D "Creating Second Drive" /f REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\3.cmd" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\programs\AdobeReader7\setup.exe /S /qb-" /f REG ADD %KEY%\010 /VE /D "Microsoft Office 2003" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\programs\Office11\setup.exe TRANSFORMS=C:\Install\programs\Office11\setup_office.MST /qb-" /f REG ADD %KEY%\015 /VE /D "Microsoft Visio 2003" /f REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\programs\Visio\setup.exe TRANSFORMS=setup_visio.MST /qb-" /f REG ADD %KEY%\020 /VE /D "MccAffee Anti Virus" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\programs\McAffeeVirusScan\Setup.exe /qb REBOOT=Suppress" /f REG ADD %KEY%\025 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\XPNEW.reg" /f REG ADD %KEY%\030 /VE /D "Cleaning Up and Rebooting" /f REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f Pause
This is the file structure
WINXPSP2 <-- Root of share |_ I386 |_$OEM$ |_cmdlines.txt |_RunOnceEx.cmd |_$$ |_$1 |_install |_ Programs
This post has been edited by opsoftware: 07 July 2005 - 03:54 AM



Help
Back to top









