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
xxxxx@motu.com
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com


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

http://www.microsoft.com/ddk/ddkdocs/Win2k/custom-install_9tnr.htm

-----Original Message-----
From: Yuan Lee [mailto:xxxxx@hotmail.com]
Sent: Thursday, March 23, 2000 12:36 PM
To: NT Developers Interest List
Cc: xxxxx@motu.com
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
xxxxx@motu.com
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: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)