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?