Device Update Agent Babystep

J

John F. Davis

Hello

I want to get the device update agent mechanism working on my windows
xp embedded platform. Since you can use this mechanism to change
settings, I figure the simplest test would be to tweak the clock, pop
up a dialog, remotely execute a program, etc using DUA.

What would be the simplest test? It seems that getting a QFE and
tweaking it has too many steps and thus point of failure.

If I am way off base, is there a simple guide or tutorial for DUA?

JD
 
K

KM

John,

Have you gone through the DUA documentation on MSDN? It is very useful:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconDeviceUpdateAgent3
..asp.

Specifically, if you are looking for a good sample doc:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconDUAIEUpdateSample.
asp (although, it is IE QFE but the simplest one :) )

KM, BSquare Corp.

JFD> Hello

JFD> I want to get the device update agent mechanism working on my
JFD> windows xp embedded platform. Since you can use this mechanism to
JFD> change settings, I figure the simplest test would be to tweak the
JFD> clock, pop up a dialog, remotely execute a program, etc using DUA.

JFD> What would be the simplest test? It seems that getting a QFE and
JFD> tweaking it has too many steps and thus point of failure.

JFD> If I am way off base, is there a simple guide or tutorial for DUA?

JFD> JD

With best regards, KM. E-mail: (e-mail address removed)
 
J

John F. Davis

Hello KM

Yes. I am using that now.

Thanks,

JD


Hello

In step 2 they say, "Copy the DUA script compiler files, Duscaut.dll
and Dusc.exe, from the product media to the DUA directory on the
development system. I do not have a DUA directory on my development
machine. Where is it supposed to be? Was I supposed to install the
embedded tools in a custom manner so that I got this directory? I
just did the default install.

FWIW, I have these files already on my development machine in the
....\windows embedded\bin directory. I did the regsvr32 duscaut.dll
command in that directory and it said it worked. I hope so.

On a related note. I am COM illiterate as well. But, I think that
this is something COM related. ie. regsvr32. In a few words, what
does this command do?

JD
 
J

John F. Davis

On Thu, 13 Nov 2003 15:46:00 -0500, John F. Davis

I think step 3 could be rewritten to say:
Search the ms website for the q319182.exe file, download it and place
it on the webserver in the /webroot(whatever the iis term is)/cmdfiles
directory. They use the term "updates directory" but I think they
mean the "cmdfiles directory" which was created in step 1 on that
page.

On a related note, this tutorial was updated on August of this year.
It says that when you do help about in IE on the win xp target machine
you should see blank for updates. Mine says sp1. I am worried that
this update might be obsoleted and thus not work. However this
document has been updated and I am sure MS as verfied that this
procedure still works. Is this correct?

I also tail my access log on my webserver, and I never see the target
machine access the webserver. I included DUA on the target as the doc
says.

JD
 
G

Gordon Smith \(eMVP\)

John said:
On a related note. I am COM illiterate as well. But, I think that
this is something COM related. ie. regsvr32. In a few words, what
does this command do?

JD

Regsvr32 is going to load the DLL and execute the DllRegisterServer routine
from that DLL. What people typically do in that routine is to create any
registry keys the DLL needs for it's own use as well as registering it's
classid with the OS. That let's the OS know which DLL to load when a given
class ID is invoked.
 
J

John F. Davis

Regsvr32 is going to load the DLL and execute the DllRegisterServer routine
from that DLL. What people typically do in that routine is to create any
registry keys the DLL needs for it's own use as well as registering it's
classid with the OS. That let's the OS know which DLL to load when a given
class ID is invoked.

Hello Gordon,

Thanks for the note. If I read you correctly, what this is doing is
placing a key(s) in the registry which creates a link between some COM
magic number and this dll. Then when com gets a request for that
given magic number it can direct the request to this dll. or
something like that.

Also, can you specify an ip address instead of a hostname for the DUA
setting in target designer? Maybe that's why I am never getting a http
access on my webserver.



JD
 

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