Guest Addition Install - Silent Installation

Discussions about using Windows guests in VirtualBox.
Post Reply
tsull360
Posts: 5
Joined: 8. Jul 2010, 08:50
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win, Linux

Guest Addition Install - Silent Installation

Post by tsull360 »

Hello,
I'm working with 64-bit Windows 2008 guests, and would like to be able to install the guest additions silently. Currently I recieve 3 prompts to accept Oracle drivers during installation.

Is there a supported method of passing switches to the installer to enable silent installation? Pre install certs? Driver signing cannot be turned off (I would prefer not to anyway), so hopefully there is a more elegent method.

I imagine this is a frequent topic, but my seaching didn't turn it up. Sorry in advance if I missed it.

Thanks,
Tim
twistedlincoln
Posts: 86
Joined: 17. Dec 2008, 17:08
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Nexradix
Contact:

Re: Guest Addition Install - Silent Installation

Post by twistedlincoln »

Running VBoxWindowsAdditions-x86.exe /S will run the installation almost silently -- you will still have to accept two dialogs for the actual driver installation.

You could possibly modify the installer yourself to script the acceptance of these dialogs -- I haven't looked into this myself yet, but since the installer is created using NSIS and the source code is part of the GPL package now, you could change whatever you like if you have the ability to recompile from source.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Guest Addition Install - Silent Installation

Post by Sasquatch »

To avoid the driver installation prompt, you can first check what registry keys are created or modified. Then you can load them silently prior to the silent install. A program that records all system changes is something you can use to see what keys are created/changed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply