Discussion:
[vbox-dev] VirtualBox msi options
Mathieu .
2014-04-18 02:43:35 UTC
Permalink
Hello,

I asked this on the forum, by was told I would have a better chance on the dev mailing list.

I have a script to deploy the installation of VirtualBox on several computers, and then import and start a particular vm. The issue is that sometimes, a reboot is prompted and then the computer restarts without letting me the time to answer (or does it because it's an unattended install), so i wanted to use the /norestart option to prevent that.

I want to try to give some parameters to the msi so that it start a passive installation and does not force a restart after installation.

VirtualBox-4.3.10-93012-Win.exe --silent --msiparams /norestart

That line does not work because --msiparams expects parameters in the X=Y format.

If I extract the msi and pass those parameters directly, it works, but I lose the automatic install of the certificate done by the .exe (Which was fixed in 4.3.10). Also, it's not very elegant to have a .msi file and a .cab file, I prefer only using one .exe file because ti simplifies my deployement.

Is there a way to use msi options when running the .exe installation file of VirtualBox?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140417/584232fd/attachment.html
Magnus Madsen
2014-04-22 11:09:35 UTC
Permalink
Hi Mathieu,
Running the installation as:

VirtualBox-4.3.10-93012-Win.exe --silent --msiparams REBOOT=ReallySuppress

should give the same effect to the MSI installation as running it manually
with /norestart

Kind regards,
Magnus
Send vbox-dev mailing list submissions to
vbox-dev at virtualbox.org
To subscribe or unsubscribe via the World Wide Web, visit
https://www.virtualbox.org/mailman/listinfo/vbox-dev
or, via email, send a message with subject or body 'help' to
vbox-dev-request at virtualbox.org
You can reach the person managing the list at
vbox-dev-owner at virtualbox.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vbox-dev digest..."
1. VirtualBox msi options (Mathieu .)
----------------------------------------------------------------------
Message: 1
Date: Thu, 17 Apr 2014 22:43:35 -0400
From: "Mathieu ." <a_silversword at hotmail.com>
Subject: [vbox-dev] VirtualBox msi options
To: "vbox-dev at virtualbox.org" <vbox-dev at virtualbox.org>
Message-ID: <SNT148-W6579C9E386CE73C573853F9B5D0 at phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
I asked this on the forum, by was told I would have a better chance on the
dev mailing list.
I have a script to deploy the installation of VirtualBox on several
computers, and then import and start a particular vm. The issue is that
sometimes, a reboot is prompted and then the computer restarts without
letting me the time to answer (or does it because it's an unattended
install), so i wanted to use the /norestart option to prevent that.
I want to try to give some parameters to the msi so that it start a
passive installation and does not force a restart after installation.
VirtualBox-4.3.10-93012-Win.exe --silent --msiparams /norestart
That line does not work because --msiparams expects parameters in the X=Y
format.
If I extract the msi and pass those parameters directly, it works, but I
lose the automatic install of the certificate done by the .exe (Which was
fixed in 4.3.10). Also, it's not very elegant to have a .msi file and a
.cab file, I prefer only using one .exe file because ti simplifies my
deployement.
Is there a way to use msi options when running the .exe installation file
of VirtualBox?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140417/584232fd/attachment-0001.html
------------------------------
_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev
End of vbox-dev Digest, Vol 90, Issue 14
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140422/1691de1a/attachment.html
Loading...