Re: Using DUA

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Doug Hoeffel (doug.hoeffelNo_at_SpAmMcamtronics.com)
Date: 09/24/04


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
> >
> >
> >



Relevant Pages

  • Re: Driver Installations
    ... > I'm trying to decide if the DUA is suitable for my purposes. ... Install the drivers. ... > All of this can be done in a script (the driver installation is handled by ...
    (microsoft.public.windowsxp.embedded)
  • Re: Using DUA
    ... If you set DUA to run on start and uncheck everything in poll date/time, ... application the shell. ... >> When I want to install a QFE for example I have a bat file that does the ...
    (microsoft.public.windowsxp.embedded)
  • Re: About QFE
    ... > install on my image. ... Can DUA install all ... > the QFEs of the Windows XP pro on XPE? ... >> Advantech Co., Ltd. ...
    (microsoft.public.windowsxp.embedded)
  • Re: QFE installation
    ... there is also coming a new component to install XP QFE ... >> DUA, or SMS you may have to work with it the best that you can. ... >> Have an opinion on the effectiveness of Microsoft Embedded newsgroups? ...
    (microsoft.public.windowsxp.embedded)
  • Re: Using DUA
    ... I haven't implemented EWF yet. ... everything one step at a time; bring up a generic image, ... with custom shell, include DUA, etc. ... > When I want to install a QFE for example I have a bat file that does the ...
    (microsoft.public.windowsxp.embedded)