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>To avoid popups when performing an unattended installation of the <ph
|
---|
8 | conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions, the code signing certificates used to sign
|
---|
9 | the drivers needs to be installed in the correct certificate stores on the guest operating system. Failure to do
|
---|
10 | this will cause a typical Windows installation to display multiple dialogs asking whether you want to install a
|
---|
11 | particular driver. </p>
|
---|
12 | <note>
|
---|
13 | <p>On some legacy Windows versions, such as Windows 2000 and Windows XP, the user intervention popups mentioned
|
---|
14 | above are always displayed, even after importing the Oracle certificates. </p>
|
---|
15 | </note>
|
---|
16 | <p>Installing the code signing certificates on a Windows guest can be done automatically. Use the
|
---|
17 | <filepath>VBoxCertUtil.exe</filepath> utility from the <filepath>cert</filepath> folder on the Guest Additions
|
---|
18 | installation CD. </p>
|
---|
19 | <p>Use the following steps: </p>
|
---|
20 | <ol>
|
---|
21 | <li>
|
---|
22 | <p>
|
---|
23 | Log in as Administrator on the guest.
|
---|
24 | </p>
|
---|
25 | </li>
|
---|
26 | <li>
|
---|
27 | <p>
|
---|
28 | Mount the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions .ISO.
|
---|
29 | </p>
|
---|
30 | </li>
|
---|
31 | <li>
|
---|
32 | <p>
|
---|
33 | Open a command line window on the guest and change to
|
---|
34 | the <filepath>cert</filepath> folder on the
|
---|
35 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions CD.
|
---|
36 | </p>
|
---|
37 | </li>
|
---|
38 | <li>
|
---|
39 | <p>
|
---|
40 | Run the following command:
|
---|
41 | </p>
|
---|
42 | <pre xml:space="preserve">VBoxCertUtil.exe add-trusted-publisher vbox*.cer --root vbox*.cer</pre>
|
---|
43 | <p>
|
---|
44 | This command installs the certificates to the
|
---|
45 | certificate store. When installing the same certificate
|
---|
46 | more than once, an appropriate error will be displayed.
|
---|
47 | </p>
|
---|
48 | </li>
|
---|
49 | </ol>
|
---|
50 | <p>To allow for completely unattended guest installations, you can specify a command line parameter to the install
|
---|
51 | launcher: </p>
|
---|
52 | <pre xml:space="preserve">VBoxWindowsAdditions.exe /S</pre>
|
---|
53 | <p>This automatically installs the right files and drivers for the corresponding platform, either 32-bit or 64-bit. </p>
|
---|
54 | <note>
|
---|
55 | <p>By default on an unattended installation on a Vista or Windows 7 guest, there will be the XPDM graphics driver
|
---|
56 | installed. This graphics driver does not support Windows Aero / Direct3D on the guest. Instead, the WDDM
|
---|
57 | graphics driver needs to be installed. To select this driver by default, add the command line parameter
|
---|
58 | <codeph>/with_wddm</codeph> when invoking the Windows Guest Additions installer. This is only required for
|
---|
59 | Vista and Windows 7. </p>
|
---|
60 | </note>
|
---|
61 | <note>
|
---|
62 | <p>For Windows Aero to run correctly on a guest, the guest's VRAM size needs to be configured to at least 128 MB. </p>
|
---|
63 | </note>
|
---|
64 | <p>For more options regarding unattended guest installations, consult the command line help by using the command: </p>
|
---|
65 | <pre xml:space="preserve">VBoxWindowsAdditions.exe /?</pre>
|
---|
66 | </body>
|
---|
67 |
|
---|
68 | </topic>
|
---|