Componentizing 3rd party drivers

G

Guest

Hi,

I have a question concerning componentizing drivers. I want to componentize
the driver for my Intel(R) 82865G Graphics Controller but am unclear on
exactly how to accomplish this. I know xpefiles.com has a component for this
but it's not the latest driver. Thus I went to Intel's website and
downloaded the latest driver.

But the driver uses a self-extracting executable to immediately install so I
have no access to the INF file that I can import into Component Designer.
Thus I used InCtrl5 tool to take a snapshot of the driver installation
process. Here's where my question is, I have the output log of InCtrl5 but
am not sure what to do with it as there is a lot of information there that I
don't know how to decipher.

There are multiple entries under each categery: Keys added, Keys changed,
Values added, Values changed, Values deleted; not to mention the same for
Files added/deleted/changed. I'm not sure how to incorporate this
information into a component, i.e. how do I deal with items changed and
deleted? The added objects I presume need to be added in the component's
file and registry resources.

Any help/direction would be appreciated. If it helps I can email the
InCtrl5 log output, I didn't want to post it on here as it's pretty lengthy.
 
S

Slobodan Brcin \(eMVP\)

Hi George,

All registstry changes for hardware drivers are not relevant since they are done by PnP itself when using informations from
apropriate INF file.
Intel self extracting files usualy can be unpacked by winzip and/or by using special command line switch. Also when you install
inter drivers they extract themself in one temporary or even permament folder where you can find all driver files that you need.

Now if on computer with XPP that has driver installed you go to Device Manager select driver and take properties.
In Tab Driver->Driver Details you will see path to all files that consist driver.
You can copy those files in flat folder (your new repository) and from there you can choose if you want to do things on MS way
trough CD.
Or on manual way that allow you to create one component for all device models.

Regards,
Slobodan
 
G

Guest

Thank you for your reply.

I have a few questions concerning your response.

1) By using Winzip to unpack a file I presume you mean a *.zip file? The
driver is an executable, *.exe. Given that, what special command line switch
can I use to unpack the files?

2) How can I find the temporary and/or permanent folder where files are
extracted to? Must I watch the installation progress window to try and see
where the folder is?

3) I can indentify the files that consist the driver (in Device Manager
driver details). Given that I copy these files into a Rep folder. Bare with
me but, from here what do I do? I can put these files as File resources in
CD but don't I still need to know what registry entries need to done?

Thanks for all your help!

--
Thanks,

George


Slobodan Brcin (eMVP) said:
Hi George,

All registstry changes for hardware drivers are not relevant since they are done by PnP itself when using informations from
apropriate INF file.
Intel self extracting files usualy can be unpacked by winzip and/or by using special command line switch. Also when you install
inter drivers they extract themself in one temporary or even permament folder where you can find all driver files that you need.

Now if on computer with XPP that has driver installed you go to Device Manager select driver and take properties.
In Tab Driver->Driver Details you will see path to all files that consist driver.
You can copy those files in flat folder (your new repository) and from there you can choose if you want to do things on MS way
trough CD.
Or on manual way that allow you to create one component for all device models.

Regards,
Slobodan
 
B

Brad Combs

In addition, you can download the zipped version from here:

http://downloadfinder.intel.com/scr...&OSFullName=Windows* XP Professional&lang=eng

HTH,
Brad

Slobodan Brcin (eMVP) said:
Hi George,

All registstry changes for hardware drivers are not relevant since they
are done by PnP itself when using informations from
apropriate INF file.
Intel self extracting files usualy can be unpacked by winzip and/or by
using special command line switch. Also when you install
inter drivers they extract themself in one temporary or even permament
folder where you can find all driver files that you need.

Now if on computer with XPP that has driver installed you go to Device
Manager select driver and take properties.
In Tab Driver->Driver Details you will see path to all files that consist
driver.
You can copy those files in flat folder (your new repository) and from
there you can choose if you want to do things on MS way
trough CD.
Or on manual way that allow you to create one component for all device
models.

Regards,
Slobodan
 
K

KM

George,

Please see some answers inline...
Thank you for your reply.

I have a few questions concerning your response.

1) By using Winzip to unpack a file I presume you mean a *.zip file? The
driver is an executable, *.exe. Given that, what special command line
switch
can I use to unpack the files?

Some [if not most] of driver packages (especially from Intel) are
self-extracting Exe archives. They use WinZip mostly so you can open up
those Exe's with WinZip just fine. Also, it is very often when a
self-extracting archive executable supports an option to jsut extract files
(typically, -x or -e or etc.)

You can also use the zipped version Brad sent you the link for.
2) How can I find the temporary and/or permanent folder where files are
extracted to? Must I watch the installation progress window to try and
see
where the folder is?

If the above worked for you you don't need to mess with the temp files but
jsut to asnwer your question..
Use FileMon tool (www.sysinternals.com) to see where the files are getting
copied to temporarily.
3) I can indentify the files that consist the driver (in Device Manager
driver details). Given that I copy these files into a Rep folder. Bare
with
me but, from here what do I do? I can put these files as File resources
in
CD but don't I still need to know what registry entries need to done?

As Slobodan outlined, for most PnP drivers you don't need to install
registry entries as those will be populated automatically when PnP installs
the driver INF's. That will happen automatically when you copy all the
driver related files to appropriate Windows directory (typically,
\windows\inf, \windows, \windows\system32).

Another approach would be the one documented in XPE help system - import INF
files using TD or CD tool.

KM
Thanks for all your help!
 
G

Guest

Thank you all for your help! I have learned more about componentizing than
you can typically get by reading alone and "suffering" aimlessly with trial
and error.

--
Thanks,

George


KM said:
George,

Please see some answers inline...
Thank you for your reply.

I have a few questions concerning your response.

1) By using Winzip to unpack a file I presume you mean a *.zip file? The
driver is an executable, *.exe. Given that, what special command line
switch
can I use to unpack the files?

Some [if not most] of driver packages (especially from Intel) are
self-extracting Exe archives. They use WinZip mostly so you can open up
those Exe's with WinZip just fine. Also, it is very often when a
self-extracting archive executable supports an option to jsut extract files
(typically, -x or -e or etc.)

You can also use the zipped version Brad sent you the link for.
2) How can I find the temporary and/or permanent folder where files are
extracted to? Must I watch the installation progress window to try and
see
where the folder is?

If the above worked for you you don't need to mess with the temp files but
jsut to asnwer your question..
Use FileMon tool (www.sysinternals.com) to see where the files are getting
copied to temporarily.
3) I can indentify the files that consist the driver (in Device Manager
driver details). Given that I copy these files into a Rep folder. Bare
with
me but, from here what do I do? I can put these files as File resources
in
CD but don't I still need to know what registry entries need to done?

As Slobodan outlined, for most PnP drivers you don't need to install
registry entries as those will be populated automatically when PnP installs
the driver INF's. That will happen automatically when you copy all the
driver related files to appropriate Windows directory (typically,
\windows\inf, \windows, \windows\system32).

Another approach would be the one documented in XPE help system - import INF
files using TD or CD tool.

KM
Thanks for all your help!
 

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