Microsoft KB Archive/175234: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
(2 intermediate revisions by the same user not shown)
Line 43: Line 43:
<div class="notice_section">
<div class="notice_section">


IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Restoring Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; Help topic in Regedt32.exe.
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.


</div>
</div>
Line 57: Line 57:
| Microsoft Setup                                  |
| Microsoft Setup                                  |
|                                                  |
|                                                  |
| Setup [/?][/F][/I&lt;INF SRC FILE&gt;]                |
| Setup [/?][/F][/I<INF SRC FILE>]                |
|      [/C &lt;Script Section&gt;][/s SRC PATH&gt;]        |
|      [/C <Script Section>][/s SRC PATH>]        |
|                                                  |
|                                                  |
| /? - generates this usage message.              |
| /? - generates this usage message.              |
Line 65: Line 65:
| /c - defaults to shell commands                  |
| /c - defaults to shell commands                  |
| /s - defaults to current working directory      |
| /s - defaults to current working directory      |
| /t - set INF &lt;var&gt; to &lt;value&gt;. Multiple /T valid |
| /t - set INF <var> to <value>. Multiple /T valid |
| /v - turn on INF syntax checking.                |
| /v - turn on INF syntax checking.                |
|__________________________________________________|
|__________________________________________________|
Line 90: Line 90:
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.<br />
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.<br />
<br />
<br />
For information about how to edit the registry, view the &quot;Changing Keys And Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.<br />
For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.<br />
<br />
<br />
To resolve this problem, perform the following steps:<br />
To resolve this problem, perform the following steps:<br />

Latest revision as of 11:07, 21 July 2020

Knowledge Base


Setup USAGE Popup While Installing OEM Device Driver

Article ID: 175234

Article Last Modified on 10/31/2006



APPLIES TO

  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition



This article was previously published under Q175234

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

While using a Control Panel utility to install an OEM third-party device driver for a new Tape or SCSI device, you get a USAGE popup message screen as follows:

 --------------------------------------------------
| Usage                                            |
|------------------------------------------------- |
| Microsoft Setup                                  |
|                                                  |
| Setup [/?][/F][/I<INF SRC FILE>]                 |
|       [/C <Script Section>][/s SRC PATH>]        |
|                                                  |
| /? - generates this usage message.               |
| /F - Turns off blue background                   |
| /I - defaults to current working Dir + Setup.inf |
| /c - defaults to shell commands                  |
| /s - defaults to current working directory       |
| /t - set INF <var> to <value>. Multiple /T valid |
| /v - turn on INF syntax checking.                |
|__________________________________________________|
                


This problem occurs after you select the device name you want to install as defined in the third party Oemsetup.inf file, but before being prompted for the path to install the driver from, which is usually the floppy drive.

Installing a built-in supported driver from the drop down list will install without problems, this error only occurs while using an OEM driver.

CAUSE

The registry value for SourcePath contains a LONG directory name containing a space(s).

Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Setup SourcePath:REG_SZ:C:\Directory Na( no spaces allowed.)

RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

To resolve this problem, perform the following steps:

  1. Start Registry Editor (Regedt32.exe), and go to the following subkey:

Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Set

  1. Double-click the value: Sourcepath:RE_SZ:directory name.
  2. Either remove the present entry, or remove the spaces from the path.
  3. Quit Registry Editor and run the Control Panel utility to install your third-party driver. The driver should install properly.


STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords: kbbug kbpending kbsetup KB175234