Re: Using DUA
From: Doug Hoeffel (doug.hoeffelNo_at_SpAmMcamtronics.com)
Date: 09/24/04
- Next message: Ken Varn: "Need Suggestions on web server security using SSL."
- Previous message: Slobodan Brcin \(eMVP\): "Re: How to create a component to set the windows directory"
- In reply to: kevin: "Re: Using DUA"
- Next in thread: kevin: "Re: Using DUA"
- Reply: kevin: "Re: Using DUA"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 24 Sep 2004 13:09:55 -0500
Kevin:
I would think that you would be able to update your shell since its a file
in use like any other system file.
This is what I do... I have DUA in TD setup to not run at start and
everything in the poll date/time table is unchecked. At boot time the DUA
Service starts but does nothing.
When I want to install a QFE for example I have a bat file that does the
install. This install copies the dup file to the place that DUA is looking
based on my TD configuration. I then run a reg file that tells DUA to run:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Con
fig]
"RunOnStart"=dword:00000001
Now, to actually get DUA to run and install the contents of the dup file I
stop then restart the DUA Service via:
net stop "device update agent"
net start "device update agent"
For updating a file in use, this is a snippet from a dus file from one of my
QFE updates:
MOVEFILE,0,1,C:\dua\working\gdi32.dll,1,C:\Windows\System32\gdi32.dll,DAMOVE
FILE_DELAY_UNTIL_REBOOT|DAMOVEFILE_REPLACE_EXISTING
Also, you don't mention EWF. If you use EWF then this gets a little more
complicated.
HTH... Doug
"kevin" <kevin@discussions.microsoft.com> wrote in message
news:AD5EADC6-F728-4DD0-B844-933CAF902231@microsoft.com...
> I can start DUA through another script or app, but wouldn't the shell exe
> start first, then DUA would start? If so, how will DUA handle replacing a
> program that is currently running?
> kevin
> "Sean Gahan" wrote:
>
> > Kevin,
> > Yes DUA can update your device in the field. With respect to having DUA
> > poll only once I would run a script or write an application which would
> > start the DUA service at start at boot time and stop the service when
> > turning off the machine or rebooting.
> >
> > Regards,
> >
> > Sean Gahan
> >
> >
> > "kevin" <kevin@discussions.microsoft.com> wrote in message
> > news:80D2DEB2-F46F-4BF8-B3D3-6BB023598BE7@microsoft.com...
> > > Hi,
> > > My image contains a custom shell which will need updating in the
field.
> > Can
> > > DUA be used to replace the shell program? Also I want to configure
DUA to
> > > look in a local directory for the update only once when the system
boots.
> > I
> > > can set the local directory OK, but how do you configure DUA to only
look
> > for
> > > the update only once during the boot?
> > > thanks
> > > kevin
> >
> >
> >
- Next message: Ken Varn: "Need Suggestions on web server security using SSL."
- Previous message: Slobodan Brcin \(eMVP\): "Re: How to create a component to set the windows directory"
- In reply to: kevin: "Re: Using DUA"
- Next in thread: kevin: "Re: Using DUA"
- Reply: kevin: "Re: Using DUA"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|