MSDN: Device Installation Function
This section describes the Setup functions that support device installation on Windows 2000 and later versions of the NT-based operating system
... Most of these functions are not supported on Windows 9x/Me

I want to install a small driver that only have a single sys file like DDK PortIO sample.

Re: [DDK] How can we implement "Device Installation" in Win98 (without by Ray

Ray
Mon May 10 18:50:38 CDT 2004

Depending on how far back you actually have to go, you may still have
access to SetupAPI.dll (the SetupDiXxx functions). I don't remember
whether that was added in 98SE or Me, but I don't think it was in 98,
and it certainly isn't in 95.

The Win95/98 installation API, such as it was, was a 16-bit DLL called
SetupX.dll. The documentation of this is very sparse, but there is some
in the DDK (search for "setupx"). This is a very tricky API to use
correctly, even if you can find the documentation (I seem to recall that
the Me DDK, no longer in print, had a reasonable SetupX doc set, just in
time for it to become totally obsolete :-).

So you have to ask yourself, "Self, how important is it that I be able
to install programmatically on Win9x?"...

Behzad wrote:

> MSDN: Device Installation Functions
> This section describes the Setup functions that support device installation on Windows 2000 and later versions of the NT-based operating system.
> ... Most of these functions are not supported on Windows 9x/Me.
>
> I want to install a small driver that only have a single sys file like DDK PortIO sample.