Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Help using RunOnceEx.cmd with Windows and .Net updates

- - - - - .Net updates Windows XP SP3 updates updates RunOnceEx cmd batch

  • Please log in to reply
No replies to this topic

#1
thundernetbr

thundernetbr

    Junior

  • Member
  • Pip
  • 67 posts

Hi there,

 

I like to install Windows XP SP3 with all the updates, so I can sit after the installation and just have a cup of coffee... instead of waiting to get the updates one by one using Windows Update or Microsoft Update. But for the last few months, I've updated my XP ISO just by adding the hotfixes using a batch called 'adiciona.cmd', being this one called at the end of RunOnceEx.cmd.

The file is growing and being too annoying to edit every time I have to update the ISO, so I decided to request help from you, to get all the updates 'slipstreamed' or, at least, installed earlier - using the RunOnceEx.cmd, for instance.

 

So here are my two files to you to consider:

 

adiciona.cmd

@echo off
cmdow @ /HID
net user aspnet /delete
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP3 set APZ=%%i:\Apps
start /wait %APZ%\Updates\2013\rvkroots.exe /q
rem start /wait %APZ%\Updates\2013\KB923789.exe /qb /norestart
start /wait %APZ%\Updates\DOTNET\NDP1.1sp1-KB2742597-X86.exe /q /norestart
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2604092-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2656352-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2729450-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2742596-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2789643-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB2804577-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB2604110-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB2656407-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB2756918-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB982168-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB982524-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP35SP1-KB2604111-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP35SP1-KB2657424-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP35SP1-KB2736416-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP20SP2-KB958481-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP30SP2-KB958483-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET\NDP35SP1-KB958484-x86.exe /q /o /n /z
start /wait %APZ%\Updates\2013\WindowsXP-KB2603381-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\2013\WindowsXP-KB2686509-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\2013\WindowsXP-KB2829530-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2845187-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2850851-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2849470-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2850869-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2859537-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2847311-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2862330-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2862335-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2864063-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2868038-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2876217-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2876315-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2883150-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\JulOut13\WindowsXP-KB2884256-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\IE8-WindowsXP-KB2846071-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\IE8-WindowsXP-KB2862772-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\IE8-WindowsXP-KB2879017-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\IE8-WindowsXP-KB2598845-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\Silverlight.exe /q
start /wait %APZ%\Updates\DOTNET13\NDP1.1sp1-KB2833941-X86.exe /q /norestart
start /wait %APZ%\Updates\DOTNET13\NDP20SP2-KB2833940-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP20SP2-KB2836941-v2-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP20SP2-KB2844285-v2-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP20SP2-KB2863239-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP30SP2-KB2832411-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP30SP2-KB2861189-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP35SP1-KB2836940-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP35SP1-KB2840629-x86.exe /q /o /n /z
start /wait %APZ%\Updates\DOTNET13\NDP35SP1-KB2861697-x86.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2686509-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2834886-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB968930-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB975713-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-WindowsMedia-KB2834904-v2-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\IE8-WindowsXP-KB2632503-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\rootsupd.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2492386-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2749655-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2808679-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB2863058-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\Xtras2013\WindowsXP-KB961118-x86-PTB.exe /q /o /n /z
start /wait %APZ%\Updates\windowsupdateagent30-x86.exe /quiet /norestart /wuforce
EXIT

RunOnceEx.cmd

@echo off
cmdow @ /HID
net user aspnet /delete
shutdown.exe -r -f -c "Restarting in 50 seconds...WAIT !" -t 50
@echo off
cmdow @ /HID
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP3 set CDROM=%%i:
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP3 set APZ=%%i:\Apps
regsvr32 /s %windir%\system32\GWFSPIDGen.dll
regsvr32 /s %windir%\system32\LegitCheckControl.dll
regsvr32 /s %windir%\system32\wups2.dll
regsvr32 /s %windir%\system32\muweb.dll
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing extras..." /f

REG ADD %KEY%\020 /VE /D ".NET FW 1.1-3.5SP1 (Wait !)" /f
REG ADD %KEY%\020 /V 1 /D "%APZ%\DNF35SP1\DNF11br20SP2br30SP2br35SP1br.exe /gm2 /silent /quiet" /f

REG ADD %KEY%\035 /VE /D "DirectX 9.0c [Jun-2010 Nov-2012]" /f
REG ADD %KEY%\035 /V 1 /D "%APZ%\DX9c\DXSETUP.exe /silent" /f

REG ADD %KEY%\055 /VE /D "Flash ActiveX and Plug-in 11.9.900.117" /f
REG ADD %KEY%\055 /V 1 /D "%APZ%\Flashock\install_flash_player_11_active_x.msi /qb" /f
REG ADD %KEY%\055 /V 2 /D "%APZ%\Flashock\install_flash_player_11_plugin.msi /qb" /f

REG ADD %KEY%\060 /VE /D "Shockwave 12.0.5.146" /f
REG ADD %KEY%\060 /V 1 /D "%APZ%\Flashock\sw_lic_full_installer.msi /qb" /f

REG ADD %KEY%\065 /VE /D "Adobe Reader XI (Light) BR" /f
rem REG ADD %KEY%\065 /V 1 /D "%APZ%\AdobeXI\AdbeRdr11000_pt_BR.exe /sAll /rs /l /msi /qb /norestart ALLUSERS=1 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"
REG ADD %KEY%\065 /V 1 /D "%APZ%\AdobeXI\AdbeRdrLite11005_pt_BR.msi /qb" /f

REG ADD %KEY%\070 /VE /D "Sun Java JRE 7 Update 45" /f
REG ADD %KEY%\070 /V 1 /D "%APZ%\Java7\jre-7u45-windows-i586 /s /v /qn ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 WEBSTARTICON=0 REBOOT=Suppress SYSTRAY=0 JU=0" /f

REG ADD %KEY%\125 /VE /D "Other..." /f
REG ADD %KEY%\125 /V 1 /D "%APZ%\adiciona.cmd" /f <<<<<< HERE RUNONCEEX.CMD CALLS 'adiciona.cmd'

REM Erasing installation temp directories...
@echo off
cmdow @ /HID
RD /S /Q %systemdrive%\uninstall
RD /S /Q %systemdrive%\Drivers
SET D=%SYSTEMROOT%\system32\
echo [General] >> "%D%oeminfo.ini"
echo Manufacturer=XP SP3 Pro>>"%D%oeminfo.ini"
echo Model=Installed on %date%>>"%D%oeminfo.ini"
EXIT

Any help will be much appreciated.

 

--ThundernetBR


Gigabyte GA-MA78GM-S2H & Asus K8VSE Deluxe - AMD Athlon X2 7750 Black Edition (2700 MHz, 64-bit, socket AM2+) & AMD Athlon 64 3200+ (2200 MHz, 64-bit, socket 754) - 2x 2GB Kingston DDR2 PC6400 & 2x 512MB Kingston DDR400 - Onboard ATI Radeon HD3200 & GeXCube ATI Radeon 9600Pro 256MB AGP 8X - Windows 7 x64 and XP SP3 Tweaked - and eventually Linux live CDs...


How to remove advertisement from MSFN




Also tagged with one or more of these keywords: .Net updates, Windows XP SP3 updates, updates, RunOnceEx, cmd, batch

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN