Page 1 of 1

Guest Addition Install - Silent Installation

Posted: 23. Dec 2010, 11:43
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

Re: Guest Addition Install - Silent Installation

Posted: 3. Jan 2011, 04:38
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.

Re: Guest Addition Install - Silent Installation

Posted: 5. Jan 2011, 22:28
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.