Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Re: Smart PNP driver installation.

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Dear Sir,
It seems that this way doesn't work on Windows 2000. So do you have any clue
for Windows 2000 ?
Regards,
Yuan Lee

In response to the question :
How can I modify the registry to prevent Windows 98 from presenting a dialog
window for driver location while I have copied all the drivers and INF file
into relative locations? I am trying to write SETUP program by using
InstallShield but what should I do to the registry?

You wrote :
I don't believe it's a documented or recommended technique, but you could
try adding appropriate entries to
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\InstalledFiles". I
discovered that, if the necessary "InstalledFiles" entry for a file doesn't
exist, Windows will think that it needs to install the file (and will prompt
the user for its location). Zero-length binary entries seems to be enough to
make Windows think that it's installed a file previously (although this
probably also tricks it into thinking that it wasn't able to record any
VERSIONINFO for the file, which might be bad).
Regards,
Matt Arnold
[email protected]
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Comments

  • Eliyas_YakubEliyas_Yakub Member Posts: 229
    http://www.microsoft.com/ddk/ddkdocs/Win2k/custom-install_9tnr.htm

    -----Original Message-----
    From: Yuan Lee [mailto:[email protected]]
    Sent: Thursday, March 23, 2000 12:36 PM
    To: NT Developers Interest List
    Cc: [email protected]
    Subject: [ntdev] Re: Smart PNP driver installation.


    Dear Sir,
    It seems that this way doesn't work on Windows 2000. So do you have any clue

    for Windows 2000 ?
    Regards,
    Yuan Lee

    In response to the question :
    How can I modify the registry to prevent Windows 98 from presenting a dialog

    window for driver location while I have copied all the drivers and INF file
    into relative locations? I am trying to write SETUP program by using
    InstallShield but what should I do to the registry?

    You wrote :
    I don't believe it's a documented or recommended technique, but you could
    try adding appropriate entries to
    "HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\InstalledFiles". I
    discovered that, if the necessary "InstalledFiles" entry for a file doesn't
    exist, Windows will think that it needs to install the file (and will prompt

    the user for its location). Zero-length binary entries seems to be enough to

    make Windows think that it's installed a file previously (although this
    probably also tricks it into thinking that it wasn't able to record any
    VERSIONINFO for the file, which might be bad).
    Regards,
    Matt Arnold
    [email protected]
    Professional Music Products
    Mark of the Unicorn, Inc.
    http://www.motu.com

    ______________________________________________________
    Get Your Private, Free Email at http://www.hotmail.com


    ---
    You are currently subscribed to ntdev as: [email protected]
    To unsubscribe send a blank email to $subst('Email.Unsub')
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 26 Feb - 1 Mar 2024 Live, Online