mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-16 19:03:46 +00:00
Deployment/Planning: add Sdbinst.exe usage info
Proposed changes: - add Windows Server 2016 to the **Applies to** list - insert sample output from the command Sdbinst.exe /? with description line above the code block - rearrange the command options conventions line so it matches the command output more closely - move the 2 bottom entries in the table to the top to match the command line order more closely Ref. closed issue #1259
This commit is contained in:
@ -20,6 +20,7 @@ ms.topic: article
|
|||||||
- Windows 8.1
|
- Windows 8.1
|
||||||
- Windows 8
|
- Windows 8
|
||||||
- Windows 7
|
- Windows 7
|
||||||
|
- Windows Server 2016
|
||||||
- Windows Server 2012
|
- Windows Server 2012
|
||||||
- Windows Server 2008 R2
|
- Windows Server 2008 R2
|
||||||
|
|
||||||
@ -29,10 +30,28 @@ After you deploy and store the customized databases on each of your local comput
|
|||||||
|
|
||||||
## Command-Line Options for Deploying Customized Database Files
|
## Command-Line Options for Deploying Customized Database Files
|
||||||
|
|
||||||
|
Sample output from the command `Sdbinst.exe /?` in an elevated CMD window:
|
||||||
|
|
||||||
The command-line options use the following conventions.
|
```
|
||||||
|
Microsoft Windows [Version 10.0.14393]
|
||||||
|
(c) 2016 Microsoft Corporation. All rights reserved.
|
||||||
|
|
||||||
Sdbinst.exe \[-q\] \[-?\] \[-u\] \[-g\] \[-p\] \[-u filepath\] \[-g *GUID*\] \[-n *"name"*\]
|
C:\Windows\system32>Sdbinst.exe /?
|
||||||
|
Usage: Sdbinst.exe [-?] [-q] [-u] [-g] [-p] [-n[:WIN32|WIN64]] myfile.sdb | {guid} | "name"
|
||||||
|
|
||||||
|
-? - print this help text.
|
||||||
|
-p - Allow SDBs containing patches.
|
||||||
|
-q - Quiet mode: prompts are auto-accepted.
|
||||||
|
-u - Uninstall.
|
||||||
|
-g {guid} - GUID of file (uninstall only).
|
||||||
|
-n "name" - Internal name of file (uninstall only).
|
||||||
|
|
||||||
|
C:\Windows\system32>_
|
||||||
|
```
|
||||||
|
|
||||||
|
The command-line options use the following conventions:
|
||||||
|
|
||||||
|
Sdbinst.exe \[-?\] \[-p\] \[-q\] \[-u\] \[-g\] \[-u filepath\] \[-g *GUID*\] \[-n *"name"*\]
|
||||||
|
|
||||||
The following table describes the available command-line options.
|
The following table describes the available command-line options.
|
||||||
|
|
||||||
@ -49,6 +68,18 @@ The following table describes the available command-line options.
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
<td align="left"><p>-?</p></td>
|
||||||
|
<td align="left"><p>Displays the Help for the Sdbinst.exe tool.</p>
|
||||||
|
<p>For example,</p>
|
||||||
|
<p><code>sdbinst.exe -?</code></p></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="left"><p>-p</p></td>
|
||||||
|
<td align="left"><p>Allows SDBs installation with Patches</p>
|
||||||
|
<p>For example,</p>
|
||||||
|
<p><code>sdbinst.exe -p C:\Windows\AppPatch\Myapp.sdb</code></p></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
<td align="left"><p>-q</p></td>
|
<td align="left"><p>-q</p></td>
|
||||||
<td align="left"><p>Performs a silent installation with no visible window, status, or warning information. Fatal errors appear only in Event Viewer (Eventvwr.exe).</p>
|
<td align="left"><p>Performs a silent installation with no visible window, status, or warning information. Fatal errors appear only in Event Viewer (Eventvwr.exe).</p>
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -72,18 +103,6 @@ The following table describes the available command-line options.
|
|||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
<p><code>sdbinst.exe -n "My_Database"</code></p></td>
|
<p><code>sdbinst.exe -n "My_Database"</code></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
|
||||||
<td align="left"><p>-?</p></td>
|
|
||||||
<td align="left"><p>Displays the Help for the Sdbinst.exe tool.</p>
|
|
||||||
<p>For example,</p>
|
|
||||||
<p><code>sdbinst.exe -?</code></p></td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td align="left"><p>-p</p></td>
|
|
||||||
<td align="left"><p>Allows SDBs installation with Patches</p>
|
|
||||||
<p>For example,</p>
|
|
||||||
<p><code>sdbinst.exe -p C:\Windows\AppPatch\Myapp.sdb</code></p></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user