PC Review


Reply
Thread Tools Rate Thread

Device installation during First Boot Agent fails for the first de

 
 
=?Utf-8?B?T3JlZ29uR2hvc3Q=?=
Guest
Posts: n/a
 
      15th Sep 2005
Basically, I have an embedded PC with Windows XP Embedded up and running, and
a PC104 extension card which exposes four serial ports through the ISA bus.
Since the device cannot be installed automatically by windows, I wrote a
command line installation application utilizing the SetupDi*-API and the
Configuration Manager API. The four COM Ports must be installed as separate
devices, and the PC's onboard COM ports must be uninstalled before. All these
tasks work well when executed on the finalized system.

I created six FBA generic command directives to run at phases 9498 to 9503.
Each directive calls my application with the appropriate parameters.
However, the first uninstallation fails with the device node not found by
the Configuration Manager. The following five commands succeed.
The uninstallations seemed to need a reboot, so I added one after the second
uninstall.
Now, the first uninstallation AND the first installation fail (the
installation fails being unable to get the class name from the class GUID).
In other words, the first installation/uninstallation after reboot fails due
to the APIs returning unexpected results. The parameters are all correct,
changing the order of the directives still leads to the first directive
failing.
This is only the case if done by the FBA. If done later, no matter if FBA
tried to do this or not, all commands succeed.

Why does the any first device installation/uninstallation after reboot fail
during FBA? Is there any delayed load? An API I need to call at the beginning
of the program?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista installation fails on first boot-up =?Utf-8?B?c3BvejE5NzU=?= Windows Vista Installation 6 25th Sep 2007 01:55 PM
CF 2.0 Installation Fails on i-Mate JasJar Device Hector Obregon [eMVP] Microsoft Dot NET Compact Framework 4 26th Sep 2005 06:30 PM
Sysprep fails.. (INACCESSIBLE BOOT DEVICE) 0x7b =?Utf-8?B?QW5kcmV3IEdvb2RtYW4=?= Microsoft Windows 2000 0 14th Apr 2004 02:31 AM
XP installation fails at Device Installation AC Windows XP Setup 0 6th Jan 2004 01:13 AM
SP4 installation failed and fails to boot Ken Tao Microsoft Windows 2000 Windows Updates 0 9th Jul 2003 02:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:48 PM.