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