Multiple successive updates with DUA

P

Pascal

Hi,



I would like to know what I need to do to make the DUA retrieve and execute
multiple updates in sequence. For example, if I have five DUA scripts and
each of them modifies the CmdFile registry entry so it point to the next one
like:



script1 -> script2 -> script3 -> script4 -> script5



When the DUA service starts, it retrieves and execute script1, modifies the
CmdFile registry entry to script2 and stopped. After that, script2 is
executed only at the next DUA execution. Is it possible to tell the DUA to
retrieve and execute each script in sequence, without waiting?



Thanks.



Pascal.
 
S

Sean Gahan

Pascal,
Here is an example of what you need to do in order to make this work:
You can apply all of the QFE's at once, but it is a better idea to do them
one at a time. If you don't want to wait you could roll up all of the
updates into one QFE or you could adjust the polling frequency to just a
couple of minutes apart.

//Saved as cmdfile01
//a.k.a:(817787) Flaw in Windows Media Player Skins Downloading could allow
Code Execution
//Download dll and exe; move to proper location
16,0,,SomeDomain.com,,beti.dat,0,C:\Program Files\beti\temp\beti.dat,1
16,0,,SomeDomain.com,,MSMQ_BETI.exe,0,C:\Program
Files\beti\temp\MSMQ_BETI.exe,1
//Patches
16,0,,SomeDomain.com,,qfe/cmdfile01/shmedia.dll,0,C:\Windows\System32\shmedi
a.dll,1
16,0,,SomeDomain.com,,qfe/cmdfile01/wmplayer.exe,0,C:\Program Files\windows
media player\wmplayer.exe,1
//Downlad the application that will wite to the msmq and execute
//Set value of the command file that DUA is polling
11,0,2147483650,,SYSTEM\ControlSet001\Services\DUAgent\Parameters\Config\Ses
sions\0000,,CmdFile,2,cmdfile02.dup
//Create hot fix key in registry
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed,4,1
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Comments,1,Windows XP Hotfix (SP2) [See
Q329390 for more information] wmplayer.exe
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Backup Dir,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Fix Description,1,Windows XP Hotfix (SP2)
[See Q329390 for more information]
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed By,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed On,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Service Pack,4,2
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Valid,4,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,Flags,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,New File,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,New Link Date,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,Old Link Date,1,""
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Description,1,Windows Media Update 817787
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Locale,1,EN
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Locale,1,EN
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,IsInstalled,4,1
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,BuildDate,1,04/15/03
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,PlayerVersion,1,8
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787\FileList\File1,,FileName,1,wmplayer.exe
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787\FileList\File1,,Version,1,8.0.0.4490
//execute MSMQ_BETI
15,0,0,0,C:\Program
Files\beti\temp\MSMQ_BETI.exe,0,,0,0,,1,0,,,1,0,,,0,,,1,0,WinSta0\Default


Regards,

Sean Gahan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top