Silent Installation command?

Discussions related to using VirtualBox on Windows hosts.
Kurt_Aust
Posts: 38
Joined: 10. Apr 2009, 04:48
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: XP x64, W2K, 98se

Silent Installation command?

Post by Kurt_Aust »

It used to be so simple:
msiexec /I VirtualBox-2.1.4-42893-Win_amd64.msi /Passive /NoRestart

But with the switch to an integrated *.exe installer, none of the common silent installation switch combinations work.

Does anyone know how to install the latest version silently from the command line?
SlaunchaMan
Posts: 65
Joined: 6. Apr 2009, 22:28
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Ubuntu 18.04
Location: Detroit, MI
Contact:

Re: Silent Installation command?

Post by SlaunchaMan »

The Guest Additions say that the /S switch runs them silently. I'd try that or the /? switch to see a list of options.
Kurt_Aust
Posts: 38
Joined: 10. Apr 2009, 04:48
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: XP x64, W2K, 98se

Re: Silent Installation command?

Post by Kurt_Aust »

Ah, but I'm not after the command to silently install guest additions (where /S works just fine), I'm after the command to silently install VirtualBox itself.
schtebo
Posts: 25
Joined: 11. Apr 2009, 12:16
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: windows 7/xp, debian lenny / ubuntu lucidlynx

Re: Silent Installation command?

Post by schtebo »

i would like to install virtualbox (installation package) silent, but it doesnt work.

could someone plase post a working command?
SlaunchaMan
Posts: 65
Joined: 6. Apr 2009, 22:28
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Ubuntu 18.04
Location: Detroit, MI
Contact:

Re: Silent Installation command?

Post by SlaunchaMan »

Kurt_Aust wrote:Ah, but I'm not after the command to silently install guest additions (where /S works just fine), I'm after the command to silently install VirtualBox itself.
Right. I'm saying try the /S switch on the new installer. Have you?
Kurt_Aust
Posts: 38
Joined: 10. Apr 2009, 04:48
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: XP x64, W2K, 98se

Re: Silent Installation command?

Post by Kurt_Aust »

SlaunchaMan wrote:Right. I'm saying try the /S switch on the new installer. Have you?
Of course I have, the following have been tried:
/S
/Q
/Silent
/Passive
/S /V/Passive

I've also tried extracting it with 7-Zip, but that doesn't give you anything useful.
schtebo
Posts: 25
Joined: 11. Apr 2009, 12:16
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: windows 7/xp, debian lenny / ubuntu lucidlynx

Re: Silent Installation command?

Post by schtebo »

i can confirm this

/s
/quiet

doesnt work with VirtualBox-2.2.0-45846-Win.exe
sugarlee123
Posts: 1
Joined: 23. Apr 2009, 19:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: xp/vista/7

Re: Silent Installation command?

Post by sugarlee123 »

Having the same problem here.
With the old versions the msi installer was quite easy to install silently.
For the new installer i tried every common switch but none of them seem to work for me.

Has anyone got some more information or useful suggestions how to install version 2.2 silently?
ottar
Posts: 5
Joined: 9. Mar 2009, 11:44

Re: Silent Installation command?

Post by ottar »

After installing VirtualBox 2.2 on Vista the msi-files are left in C:\Users\MyUserName\AppData\Local\Temp\VirtualBox. The common.cab file is needed by both of the msi-files. The 'old' commandline-switches will work on these files. Note that you have to be able to view hidden files to see these files in Windows Explorer.
Kurt_Aust
Posts: 38
Joined: 10. Apr 2009, 04:48
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: XP x64, W2K, 98se

Re: Silent Installation command?

Post by Kurt_Aust »

At bit ugly, but the following seems to work (for an x64 system):

Code: Select all

PathToInstaller\VirtualBox-2.2.2-46594-Win.exe /MsiParams /Passive /NoRestart
msiexec /I %Temp%\VirtualBox\VirtualBox-2.2.2-r46594-MultiArch_amd64.msi /Passive /NoRestart
RmDir /S /Q %Temp%\VirtualBox
The supposed silent install switches don't actually work, but at least they extract the *.msi installer to a location where you can get at it (name of *.msi will be different for i386 system).
techieltg
Posts: 4
Joined: 31. Jan 2009, 06:00

Re: Silent Installation command?

Post by techieltg »

This seems to no longer work on VirtualBox 2.2.4. I can perform

Code: Select all

PathToInstaller\VirtualBox-2.2.4-47978-Win.exe /extract /path "%TMP%\VirtualBox" 
To extract the *.msi files, however a dialog box pops up at the end saying that the files were successfully extracted. Does anyone have a way to remove this functionality and provide for a truly silent installation on Windows for VirtualBox 2.2.4?
VB userman
Posts: 12
Joined: 21. Sep 2009, 19:33
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows xp

Re: Silent Installation command?

Post by VB userman »

I can get a semi-silent install by extracting the msi and running VirtualBox-3.0.6-r52128-MultiArch_x86 /quiet /passive /norestart /qn. It shows some UI and I had to click four or five Windows compatibility warnings. Sun - what's up with that? Can I get around it?
sk1
Posts: 6
Joined: 25. Sep 2009, 06:32
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint XFCE 17.1 - 64 Bit - Kernel 4.0.9

Re: Silent Installation command?

Post by sk1 »

From a command prompt run

thenameofthevbfilename.exe -extract

You'll get a message telling you where it was extracted. Usually

C:\Documents And Settings\Your Profile Name\Local Settings\Temp\VirtualBox

You'll have to unhide the system files to find that folder. You will find a common.zip file and 2 .msi file, one for 32bit one for 64bit. Save whichever architecture you have plus the common.zip file. Then just run

thenameofthevbfilename.msi /qb

You can also use /qn instead of /qb if you don't want to see the progress bar.
kalohr
Posts: 2
Joined: 18. Nov 2009, 13:18
Primary OS: Ubuntu 8.04
VBox Version: OSE self-compiled
Guest OSses: none

Re: Silent Installation command?

Post by kalohr »

as far as I know you cannot change driver signing settings from the registry. You also cannot do it via any ip. Refer to microsoft support for the above

the only solution I found was to use windows scripting in order to send keystrokes to the approprate windows and thus configure the driver singing form as a user would.

More information (+the code) available at: http://users.sch.gr/kalohr/2009/livewn.php

kalohr
kalohr
Posts: 2
Joined: 18. Nov 2009, 13:18
Primary OS: Ubuntu 8.04
VBox Version: OSE self-compiled
Guest OSses: none

Re: Silent Installation command?

Post by kalohr »

so, you run the script to disable driver signing and then you use the vbox silent installation (/passive, /qb, etc)

Kalohr
Post Reply