1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="additions-windows-install-unattended-certs">
|
---|
4 | <title>Installing Code Signing Certificates</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>
|
---|
8 | To avoid popups when performing an unattended installation
|
---|
9 | of the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions, the code signing
|
---|
10 | certificates used to sign the drivers needs to be installed
|
---|
11 | in the correct certificate stores on the guest operating
|
---|
12 | system. Failure to do this will cause a typical Windows
|
---|
13 | installation to display multiple dialogs asking whether you
|
---|
14 | want to install a particular driver.
|
---|
15 | </p>
|
---|
16 | <note>
|
---|
17 | <p>
|
---|
18 | On some legacy Windows versions, such as Windows 2000 and
|
---|
19 | Windows XP, the user intervention popups mentioned above
|
---|
20 | are always displayed, even after importing the Oracle
|
---|
21 | certificates.
|
---|
22 | </p>
|
---|
23 | </note>
|
---|
24 | <p>
|
---|
25 | Installing the code signing certificates on a Windows guest
|
---|
26 | can be done automatically. Use the
|
---|
27 | <filepath>VBoxCertUtil.exe</filepath> utility from the
|
---|
28 | <filepath>cert</filepath> folder on the Guest Additions
|
---|
29 | installation CD.
|
---|
30 | </p>
|
---|
31 | <p>
|
---|
32 | Use the following steps:
|
---|
33 | </p>
|
---|
34 | <ol>
|
---|
35 | <li>
|
---|
36 | <p>
|
---|
37 | Log in as Administrator on the guest.
|
---|
38 | </p>
|
---|
39 | </li>
|
---|
40 | <li>
|
---|
41 | <p>
|
---|
42 | Mount the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions .ISO.
|
---|
43 | </p>
|
---|
44 | </li>
|
---|
45 | <li>
|
---|
46 | <p>
|
---|
47 | Open a command line window on the guest and change to
|
---|
48 | the <filepath>cert</filepath> folder on the
|
---|
49 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions CD.
|
---|
50 | </p>
|
---|
51 | </li>
|
---|
52 | <li>
|
---|
53 | <p>
|
---|
54 | Run the following command:
|
---|
55 | </p>
|
---|
56 | <pre xml:space="preserve">VBoxCertUtil.exe add-trusted-publisher vbox*.cer --root vbox*.cer</pre>
|
---|
57 | <p>
|
---|
58 | This command installs the certificates to the
|
---|
59 | certificate store. When installing the same certificate
|
---|
60 | more than once, an appropriate error will be displayed.
|
---|
61 | </p>
|
---|
62 | </li>
|
---|
63 | </ol>
|
---|
64 | <p>
|
---|
65 | To allow for completely unattended guest installations, you
|
---|
66 | can specify a command line parameter to the install
|
---|
67 | launcher:
|
---|
68 | </p>
|
---|
69 | <pre xml:space="preserve">VBoxWindowsAdditions.exe /S</pre>
|
---|
70 | <p>
|
---|
71 | This automatically installs the right files and drivers for
|
---|
72 | the corresponding platform, either 32-bit or 64-bit.
|
---|
73 | </p>
|
---|
74 | <note>
|
---|
75 | <p>
|
---|
76 | By default on an unattended installation on a Vista or
|
---|
77 | Windows 7 guest, there will be the XPDM graphics driver
|
---|
78 | installed. This graphics driver does not support Windows
|
---|
79 | Aero / Direct3D on the guest. Instead, the WDDM graphics
|
---|
80 | driver needs to be installed. To select this driver by
|
---|
81 | default, add the command line parameter
|
---|
82 | <codeph>/with_wddm</codeph> when invoking the Windows
|
---|
83 | Guest Additions installer. This is only required for Vista
|
---|
84 | and Windows 7.
|
---|
85 | </p>
|
---|
86 | </note>
|
---|
87 | <note>
|
---|
88 | <p>
|
---|
89 | For Windows Aero to run correctly on a guest, the guest's
|
---|
90 | VRAM size needs to be configured to at least 128 MB.
|
---|
91 | </p>
|
---|
92 | </note>
|
---|
93 | <p>
|
---|
94 | For more options regarding unattended guest installations,
|
---|
95 | consult the command line help by using the command:
|
---|
96 | </p>
|
---|
97 | <pre xml:space="preserve">VBoxWindowsAdditions.exe /?</pre>
|
---|
98 | </body>
|
---|
99 |
|
---|
100 | </topic>
|
---|