It should not be redistributed in its original form. However, you can copy
and paste the code into your own app. I remember reading that somewhere.
Here it is ![]()
From WINDDK\3790\tools\devcon\devcon.htm:
>>
DevCon may not be redistributed, but is available as a debugging and
development tool. The source code for Devcon can be found at
src\setup\devcon along with documentation and may be freely modified for
private use.
<<<
Mat
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ray Trent
Sent: Tuesday, August 31, 2004 12:43 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] how can my setup.exe install a driver that has no
hardware associated with it?
I would suggest writing a small install program and calling it from your
installer. Itâs amazing how picky some customers can be about which
install program you use, and itâs handier to have a portable way to do
your install.
Interesting question, though: devcon is a DDK sample, and the MSDN
license allows you to use and distribute the sample code. Does that
imply that one could just ship devcon and use it as your install
program, I wonder? Off to the lawyers⌠(just kidding).
Loren Wilton wrote:
>so, from my setup.exe, how can i ârunâ the inf?"
>
>IMO using sc.exe or something similar will be a lot more unfriendly for
>your customers then using the âAdd new hw wizâ.
>
>Do you create your âsetup.exeâ yourself or do you use setup-products from
>WISE or InstallShield? If you create it yourself then it is quite easy to
>just use the Setup API from Platform SDK to install the driver from yourINF
>(thatâs how you ârunâ the INFâŚ).
Its easy enough to create a plugin for the Wise installer that contains
the
necessary guts of Devcon or one of the other installation tools. I did
this
for a couple of my installs where I had to install legacy or USB drivers
or
streaming drivers or some combination.I would imagine there is a plugin concept for InstallShield too, but I
donât
use it so donât know.Basic technique is to work with devcon or one of the other install tools
until you know the calls you need to make to do the install, then pull
that
part out into a dll for the installer.Loren
â
âŚ/ray..
Please remove â.spamblockâ from my email address if you need to contact
me outside the newsgroup.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@encentrus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com