Hi VBox users,
I am about to pull my hair out trying to get this working.
Scenario: I want to do a silent install for VBOX.
Silent install commands: MSIEXEC /i C:\VBox\VirtualBox-4.2.0-r80737-MultiArch_x86.msi ADDLOCAL=VBoxApplication ADDLOCAL=VBoxUSB ADDLOCAL=VBoxNetworkFlt ADDLOCAL=VBoxNetworkAdp ADDLOCAL=VBoxPython /quiet /norestart
Result: It installed but has errors of not being able to find the network adapter and failed to access the USB subsystem.
If I do manual install w/o a restart, everything works.
Can someone point me in the right direction of what I am doing wrong? And is there another silent installation command that can avoid the driver signing which I know the above command can but then it comes up with errors.
Many thanks.
Silent install problems / Network / USB
-
VboxNoob
- Posts: 3
- Joined: 18. Oct 2012, 02:57
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: XP
Re: Silent install problems / Network / USB
Does anyone know of a possible solution on why the switches might not be working as expected?
Or if there is a way to avoid the prompt for driver signing and bypassing it for a smooth install?
Advise greatly appreciated.
Or if there is a way to avoid the prompt for driver signing and bypassing it for a smooth install?
Advise greatly appreciated.
Re: Silent install problems / Network / USB
Just for anyone that runs across this on Google.
When using the MSI, put all default MSI options up front, so /i PATH_TO_MSI /qn (quiet) /norestart (or forcerestart) and then add the ADDLOCAL options AFTER. You can also pass in all the ADDLOCAL commands as a comma separated list.
You also don't appear to need to pass in a /norestart if you are using the --silent switch with the EXE and to pass options to the MSI when using the .exe you can use -msiparams ADDLOCAL=VBoxApplication,VBoxEtc -msiparams ALLUSERS=1. (The repeated -msiparams is required for EACH separate option specified.)
When using the MSI, put all default MSI options up front, so /i PATH_TO_MSI /qn (quiet) /norestart (or forcerestart) and then add the ADDLOCAL options AFTER. You can also pass in all the ADDLOCAL commands as a comma separated list.
You also don't appear to need to pass in a /norestart if you are using the --silent switch with the EXE and to pass options to the MSI when using the .exe you can use -msiparams ADDLOCAL=VBoxApplication,VBoxEtc -msiparams ALLUSERS=1. (The repeated -msiparams is required for EACH separate option specified.)