Jump to content

using windows update


 Share

Recommended Posts

at present i am looking into using windows update to silently install all my programs and tweaks, if anyone is interested, here is how to do it

1. create a reg file like this

setup.reg

n.b i compiled all my .bat files to exe for ease

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]

"1"="C:\\Install\\Copy.exe"

@="Copying Files Needed For Setup"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]

"1"="C:\\Install\\User.exe"

@="Creating Lisa's User Account"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]

"1"="C:\\Install\\DLL.exe"

@="Registering Dll's"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]

"1"="C:\\Install\\MSN\\MsnMsgs.msi /QN"

@="MSN Messenger 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]

"1"="C:\\Install\\MovieMaker2\\mm20.msi /QN"

@="Movie Maker 2"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]

"1"="C:\\Install\\DirectX9b\\dxsetup.exe /opk"

@="DirectX 9b"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz170]

"1"="C:\\Install\\WMP9\\MPSetupXP.exe /Q:A /R:N"

@="Media Player 9"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz180]

"1"="C:\\Install\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"

@="Task Switch PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz190]

"1"="C:\\Install\\PowerToys\\TimershotPowertoySetup.exe /s /v/qn"

@="TimerShot PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz200]

"1"="C:\\Install\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"

@="Task Switch PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz210]

"1"="C:\\Install\\PowerToys\\ImageResizerPowertoySetup.exe /s /v/qn"

@="Image Resizer PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz220]

"1"="C:\\Install\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"

@="Task Switch PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz230]

"1"="C:\\Install\\NetFramework\\netfx.msi /QN"

@=".NET Framework v1.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz240]

"1"="C:\\Install\\Java\\Java3809.exe /Q:A /R:N"

@="Microsoft Virtual Machine"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz250]

"1"="C:\\Install\\Java\\Java3810Update.exe"

@="Updating Microsoft VM"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz260]

"1"="C:\\Install\\hotfixes.exe"

@="HotFixes"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz270]

"1"="C:\\Install\\Modem\\Setup.exe /silent"

@="BT Voyager ADSL Modem"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz280]

"1"="C:\\Install\\Yahoo\\yahoo.exe /s"

@="Yahoo Messenger 5.6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz290]

"1"="C:\\Install\\KillY.exe"

@="Killing Ypager"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz300]

"1"="C:\\Install\\FlashPlayer\\FlashPlayer.exe /s"

@="Flash Player 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz310]

"1"="C:\\Install\\Nero\\Setup.exe /silent /noreboot"

@="Nero Burning Rom 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz320]

"1"="C:\\Install\\killie.exe"

@="Killing Internet Explorer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz330]

"1"="C:\\Install\\SETREG.exe"

@="Applying Program Registry Settings"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz340]

"1"="C:\\Install\\AdobeReader6\\AR6.msi /QN"

@="Adobe Reader 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz350]

"1"="\"c:\\program files\\winzip\\winzip32.exe\" /noqp /autoinstall"

@="WinZip 8.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz360]

"1"="C:\\Install\\SetDun\\SETDUN.exe"

@="Configuring Internet Connections"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz370]

"1"="regedit.exe /s C:\\Install\\RegTweak.reg"

@="Applying Registry Tweaks"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz380]

"1"="regedit.exe /s C:\\Install\\Services.reg"

@="Setting System Services"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz390]

"1"="C:\\Install\\cleanup.exe"

@="Removing Unneeded Files"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz400]

"1"="C:\\winnt\\reboot.exe"

@="Restarting The Computer"

save it in your install directory

2. in your cmdlines.cmd file add this line

REGEDIT /S %systemdrive%\install\Setup.reg

now instead of looking at an ugly command screen you can look at a nice windows update screen

n.b not tried a full install yet, but i have installed software using this metod and it does work.

here is where i got my source http://www.willowhayes.co.uk/windows2000/

will let you know tomorrow how it all went

Lee....

Link to comment
Share on other sites


Well i have tested it, and, it works, a few tweaks needed to be made, namely .com instead of .exe for my batches (what a plum i am...lol...) so here is the new code

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]

"1"="C:\\Install\\Copy.com"

@="Copying Files Needed For Setup"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]

"1"="C:\\Install\\User.com"

@="Creating Lisa's User Account"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]

"1"="C:\\Install\\DLL.com"

@="Registering Dll's"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]

"1"="C:\\Install\\MSN\\MsnMsgs.msi /QN"

@="MSN Messenger 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]

"1"="C:\\Install\\MovieMaker2\\mm20.msi /QN"

@="Movie Maker 2"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]

"1"="C:\\Install\\DirectX9b\\dxsetup.exe /opk"

@="DirectX 9b"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz170]

"1"="C:\\Install\\WMP9\\MPSetupXP.exe /Q:A /R:N"

@="Media Player 9"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz180]

"1"="C:\\Install\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"

@="Task Switch PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz190]

"1"="C:\\Install\\PowerToys\\TimershotPowertoySetup.exe /s /v/qn"

@="TimerShot PowerToy"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz200]

"1"="C:\\Install\\PowerToys\\ImageResizerPowertoySetup.exe /s /v/qn"

@="Image Resizer PowerToy"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz210]

"1"="C:\\Install\\NetFramework\\netfx.msi /QN"

@=".NET Framework v1.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz220]

"1"="C:\\Install\\Java\\Java3809.exe /Q:A /R:N"

@="Microsoft Virtual Machine"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz230]

"1"="C:\\Install\\Java\\Java3810Update.exe /Q:A /R:N"

@="Updating Microsoft VM"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz240]

"1"="C:\\Install\\hotfixes.com"

@="HotFixes"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz250]

"1"="C:\\Install\\Modem\\Setup.exe /silent"

@="BT Voyager ADSL Modem"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz260]

"1"="C:\\Install\\Yahoo\\yahoo.exe /s"

@="Yahoo Messenger 5.6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz270]

"1"="C:\\Install\\KillY.com"

@="Killing Ypager"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz280]

"1"="C:\\Install\\FlashPlayer\\FlashPlayer.exe /s"

@="Flash Player 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz290]

"1"="C:\\Install\\Nero\\Setup.exe /silent /noreboot"

@="Nero Burning Rom 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz300]

"1"="C:\\Install\\killie.com"

@="Killing Internet Explorer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz310]

"1"="C:\\Install\\SETREG.com"

@="Applying Program Registry Settings"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz320]

"1"="C:\\Install\\AdobeReader6\\AR6.msi /QN"

@="Adobe Reader 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz330]

"1"="\"c:\\program files\\winzip\\winzip32.exe\" /noqp /autoinstall"

@="WinZip 8.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz340]

"1"="C:\\Install\\SetDun\\SETDUN.exe"

@="Configuring Internet Connections"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz350]

"1"="regedit.exe /s C:\\Install\\RegTweak.reg"

@="Applying Registry Tweaks"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz360]

"1"="regedit.exe /s C:\\Install\\Services.reg"

@="Setting System Services"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz370]

"1"="C:\\Install\\cleanup.com"

@="Cleaning Up After Setup"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz380]

"1"="C:\\winnt\\reboot.com"

@="Restarting The Computer"

Aarronxp's gonna post the pic for me so you can see what it looks like

Link to comment
Share on other sites

Well i have tested it, and, it works, a few tweaks needed to be made, namely .com instead of .exe for my batches (what a plum i am...lol...) so here is the new code

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]

"1"="C:\\Install\\Copy.com"

@="Copying Files Needed For Setup"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]

"1"="C:\\Install\\User.com"

@="Creating Lisa's User Account"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]

"1"="C:\\Install\\DLL.com"

@="Registering Dll's"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]

"1"="C:\\Install\\MSN\\MsnMsgs.msi /QN"

@="MSN Messenger 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]

"1"="C:\\Install\\MovieMaker2\\mm20.msi /QN"

@="Movie Maker 2"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]

"1"="C:\\Install\\DirectX9b\\dxsetup.exe /opk"

@="DirectX 9b"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz170]

"1"="C:\\Install\\WMP9\\MPSetupXP.exe /Q:A /R:N"

@="Media Player 9"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz180]

"1"="C:\\Install\\PowerToys\\TaskswitchPowertoySetup.exe /s /v/qn"

@="Task Switch PowerToy"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz190]

"1"="C:\\Install\\PowerToys\\TimershotPowertoySetup.exe /s /v/qn"

@="TimerShot PowerToy"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz200]

"1"="C:\\Install\\PowerToys\\ImageResizerPowertoySetup.exe /s /v/qn"

@="Image Resizer PowerToy"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz210]

"1"="C:\\Install\\NetFramework\\netfx.msi /QN"

@=".NET Framework v1.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz220]

"1"="C:\\Install\\Java\\Java3809.exe /Q:A /R:N"

@="Microsoft Virtual Machine"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz230]

"1"="C:\\Install\\Java\\Java3810Update.exe /Q:A /R:N"

@="Updating Microsoft VM"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz240]

"1"="C:\\Install\\hotfixes.com"

@="HotFixes"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz250]

"1"="C:\\Install\\Modem\\Setup.exe /silent"

@="BT Voyager ADSL Modem"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz260]

"1"="C:\\Install\\Yahoo\\yahoo.exe /s"

@="Yahoo Messenger 5.6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz270]

"1"="C:\\Install\\KillY.com"

@="Killing Ypager"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz280]

"1"="C:\\Install\\FlashPlayer\\FlashPlayer.exe /s"

@="Flash Player 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz290]

"1"="C:\\Install\\Nero\\Setup.exe /silent /noreboot"

@="Nero Burning Rom 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz300]

"1"="C:\\Install\\killie.com"

@="Killing Internet Explorer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz310]

"1"="C:\\Install\\SETREG.com"

@="Applying Program Registry Settings"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz320]

"1"="C:\\Install\\AdobeReader6\\AR6.msi /QN"

@="Adobe Reader 6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz330]

"1"="\"c:\\program files\\winzip\\winzip32.exe\" /noqp /autoinstall"

@="WinZip 8.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz340]

"1"="C:\\Install\\SetDun\\SETDUN.exe"

@="Configuring Internet Connections"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz350]

"1"="regedit.exe /s C:\\Install\\RegTweak.reg"

@="Applying Registry Tweaks"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz360]

"1"="regedit.exe /s C:\\Install\\Services.reg"

@="Setting System Services"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz370]

"1"="C:\\Install\\cleanup.com"

@="Cleaning Up After Setup"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz380]

"1"="C:\\winnt\\reboot.com"

@="Restarting The Computer"

Aarronxp's gonna post the pic for me so you can see what it looks like

Do you think that you could possibly give us all a little rundown of how this works?

I noticed that the registry keys are incrimented at a value of 10 per key. Any perticular reason for this?

Link to comment
Share on other sites

i am a little unsure of it all myself, to be perfectly honest i more or less copied someone elses work, however i didnt really understand what it was doing, so i thought i would give it a go with a couple of program's and it seemed to work so i thought i would rewrite my setup.cmd to setup.reg, it is a lot more work and you still need to have cmd scripts to do certain things but looks a lot better.

here is where i got my source from

http://www.willowhayes.co.uk/windows2000/

Lee

p.s. did you get the pic ok???

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...