Page 1 of 1

VirtualBox 5.1.12 unattended installation fails - driver issue?

Posted: 21. Dec 2016, 11:25
by moe
Hey,

So as the title states: VirtualBox 5.1.12 unattended installation fails. The unattended installation is done as a SCCM package. The installer is wrapped inside a batch-file so that it adds VBox's certification to Trusted Publishers if it's missing, and then installers the extracted 64-bit .msi of VirtualBox. All in all the batch looks like this:

Code: Select all

certutil -addstore "TrustedPublisher" oracle-vbox.cer
msiexec.exe /q ALLUSERS=2 /m MSIAWQBQ /i "VirtualBox-5.1.12-r112440-MultiArch_amd64.msi"
We have successfully used this method for years already, but now while doing a routine test for the 5.1.12 installation, the installation fails. SCCM's package installation-related logs only reveal "Script for Package:XXXX, Program: VM VirtualBox failed with exit code 1603" which more or less is a generic error, or a "fatal error", with no further explanation. The installation fails very quickly after the installation starts. The behavior hasn't been yet tested on different environments. The test environment is running on W8.1 with the latest Windows updates. 5.1.10 version of VBox was installed as an existing installation.

To analyze the issue, the batch was ran (with elevated rights, obviously) on a cmd as a silent installation showing the possible interactions. The following driver installation prompt was shown (image taken from web, but the driver installation prompt was the same):
Image
After pressing Install, the installation finished successfully. If the VirtualBox was reinstalled (over, or after an uninstallation) as unattended, the installation still finished successfully.

My question is: is the "Oracle Corporation Universal Serial Bus ..." indeed behind this error? If so, how this can be prevented on an unattended installation?

Re: VirtualBox 5.1.12 unattended installation fails - driver issue?

Posted: 21. Dec 2016, 11:31
by bird
The drivers in 5.1.12 are signed using different certificates. (The previous certificates expires in a few days.)
- bird

Re: VirtualBox 5.1.12 unattended installation fails - driver issue?

Posted: 21. Dec 2016, 11:40
by socratis
I glanced yesterday ever so briefly over the source code changes between 5.1.10 and 5.1.12 and I distinctly remember that the "oracle-vbox.cer" file was missing from the distribution (/src/VBox/Additions/WINNT/tools/oracle-vbox.cer). Maybe because it will expire in 2 days on 2016-12-23? I also remember seeing that there were changes in the certificates handling.

I don't know how that translates to the unattended installation, but you should post a message/note to the Discuss the 5.1.12 release thread and point it here. The developers are more likely to monitor that thread.

If I find anything more interesting I'll let you know...
 Edit: And while I was editing my message, 'bird' was kind enough to explain it. At least I was on the right path... ;) 

Re: VirtualBox 5.1.12 unattended installation fails - driver issue?

Posted: 21. Dec 2016, 13:43
by moe
bird wrote:The drivers in 5.1.12 are signed using different certificates. (The previous certificates expires in a few days.)
- bird
Thanks! That could not have been any faster. With the more recent certificates everything is working again. I indeed had an invisible string tied around my finger for 23th of December, 2016. Although I thought they were already long gone along the version updates, being this close to that date made me suspicious :)

Also thanks to socratis for pointing out the more relevant thread. I wasn't aware of such.

All the best.

Re: VirtualBox 5.1.12 unattended installation fails - driver issue?

Posted: 4. Mar 2021, 12:44
by Gail_Baxter
Hello i know it's an old thread but, i have the same problem here with the virtualbox 6.1
I don't know where can i find the oracle certificates to bypass the question about the bus controller.
Despite my research i don't know where can i found them and i need to create a package for sccm.