VirtualBox 5.1.12 unattended installation fails - driver issue?
Posted: 21. Dec 2016, 11:25
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:
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):

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?
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"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):

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?