DUA - Adding To Pre-SP1 XPe Systems

  • Thread starter Slobodan Brcin \(eMVP\)
  • Start date
S

Slobodan Brcin \(eMVP\)

Hi Joe,

Use non existing DUA to update DUA :)

Now seriously, what do you have on that devices.
Can you boot from USB CD?
Can you boot from network?

Is there any way to boot from some external source some application that will reimage XPe?
Or to replace boot medium with XPe.

If not you will have to make some mechanism that allow you to execute your update application that will manually install DUA and
reboot device, after that you can use DUA.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
S

Sean Gahan

Joe,

I have the understanding that you may not add DUA to an existing image. If
by chance you included BITS in your image, then you can easily develop your
own application to do the same thing as DUA. If you have questions on BITS
I can answer them.



Regards,



Sean Gahan
 
S

Slobodan Brcin \(eMVP\)

Hi Joe,

I have not done this but it can be done easily since you have a mean to download your application from the net.

There are two phases in this process.
First you should make sure that your image have all dependencies that are needed for DUAagent service to work. Probably your image
contain them all. But you will have to check it manually by adding only DUA component to empty project and disabling autoresolve
dependencies.
Try checking dependencies and make a list of required component and let us know if you have them in your image already.

Or easier way: Add DUA to your image and try manual resolve of dependencies. If there are no components required by DUA directly or
indirectly then you are good to go to next phase.

Second phase:

Add DUA to empty project and configure it.
Make build with only this component (auto resolve should be disabled).
Now open XPe build system. hive offline from regedit (make sure that you run regedit from System account).

And note all changes that DUA have made, it will be easy. Now make your application that will copy DUAAgent.exe and make these
changes to customers XPe registry. Commit EWF and reboot device.
After that you should have DUA up and running.

Piece of big cake, or perhaps not ;)

Regards,
Slobodan

PS:
If you have problems with this please post here. And let us know of final results.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
S

Slobodan Brcin \(eMVP\)

Hi Joe,

One bit
Two bits (Probably due to my bad English)

BITS "Background Intelligent Transfer Service" nice thing but it is not required in your particular case since you want to enable
DUA functionality.

Best regards,
Slobodan
 
A

Anil Ingle

If you're going to use HTTP to pull DUP's from your server, you will also
need the WinHTTP component (Default visibility of this is < 100). This
dependency for DUA only get's turned on if you select HTTP in the DUA
configuration UI.
HTH
Anil Ingle
Development Manager,
Microsoft Corp.
http://msdn.microsoft.com/embedded/community/

This posting is provided "AS IS" with no warranties, and confers no rights.

Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Let
us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
S

Sean Gahan

Joe,
You can check to see if BITS is running by checking your services. You can
use BITS as a last ditch effort to update your applications, here is a good
article from Duncan Mackenzie that illustrates how BITS works
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun02282003.asp
you should also read this article on the Updater Application Block
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp
By the way Slobodan is correct, if you can get DUA to work, then you won't
need BITS and that would be a LOT less work.

Regards,

Sean Gahan
 
K

KM

Don't think it is necessary but just to confirm Anil and other's posts and for record...

DUA dependencies are:

Dependency on "Win32 API - User" caused by "USER32.DLL"
Dependency on "Win32 API - Kernel" caused by "KERNEL32.DLL"
Dependency on "Win32 API - Advanced" caused by "ADVAPI32.DLL"
XPE Agent depends on Windows Subsystem
Windows XP Embedded Agent depends on Service Control Manager (SCM)
Device Update Agent depends on Primitive: WinHTTP
 
J

Joe Fitzgerald

We have a large number of XPe systems that are Pre-SP1 & we'd like to add
the DUA to the units already in the field. Any Ideas/Suggestions on how to
do this?
Thanks,
-JF
 
J

Joe Fitzgerald

These are already fielded devices.
We don't really want the customer to chanage the image in the field.
I am considering making an installation & putting it on our FTP server.
Customers would have to download and install the DUA component, manually.
From there, we can manage the DUPs on the Server.
I just need an idea of what files &/or registration info I need to put into
the installation and if anyone's done this to pre-SP1 systems.

Thanks,
-JF


Slobodan Brcin (eMVP) said:
Hi Joe,

Use non existing DUA to update DUA :)

Now seriously, what do you have on that devices.
Can you boot from USB CD?
Can you boot from network?

Is there any way to boot from some external source some application that will reimage XPe?
Or to replace boot medium with XPe.

If not you will have to make some mechanism that allow you to execute your
update application that will manually install DUA and
reboot device, after that you can use DUA.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
 
J

Joe Fitzgerald

I didn't build the origianal targets, so I'm sot sure if they have BITS -
how can I tell it BITS is in there.
Also, what is BITS?

Thanks,
-JF
 
J

Joe Fitzgerald

I've run Depends & found that DUA has 3 dependcies - advapi32.dll (Adv. Win
32 base API), Kernel32.dll, & User32.dll.
I think all 3 are already included in our basic XPe system - I'll have to
check if there is a version diffrence between SP1 & Pre-SP1 builds.
I'm going to make a test SP1 Target w/ DUA & Regedit - I'll export the Keys
that DUA makes.

Thanks,
-JF


Slobodan Brcin (eMVP) said:
Hi Joe,

I have not done this but it can be done easily since you have a mean to
download your application from the net.
There are two phases in this process.
First you should make sure that your image have all dependencies that are
needed for DUAagent service to work. Probably your image
contain them all. But you will have to check it manually by adding only
DUA component to empty project and disabling autoresolve
dependencies.
Try checking dependencies and make a list of required component and let us
know if you have them in your image already.
Or easier way: Add DUA to your image and try manual resolve of
dependencies. If there are no components required by DUA directly or
indirectly then you are good to go to next phase.

Second phase:

Add DUA to empty project and configure it.
Make build with only this component (auto resolve should be disabled).
Now open XPe build system. hive offline from regedit (make sure that you
run regedit from System account).
And note all changes that DUA have made, it will be easy. Now make your
application that will copy DUAAgent.exe and make these
changes to customers XPe registry. Commit EWF and reboot device.
After that you should have DUA up and running.

Piece of big cake, or perhaps not ;)

Regards,
Slobodan

PS:
If you have problems with this please post here. And let us know of final results.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
 

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