Unattended install
Unattended install
Hi, I'm trying to set up a unattended install of VirtualBox 2.1.4 on Windows. When I use the /qn switch it will still ask me if I want to install the USB driver. Firstly, that's a problem in itself as it won't finnish without attendance, and secondly, if I then choose to not isntall the USB driver, the install fails. Is there a way to tell the installer that I don't want to install USB or network drivers?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Unattended install
Disable the check for unsigned driver installation, then it will go on without Windows asking stupid questions.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: Unattended install
Well, it wouldn't be unattended if someone has to uncheck a checkbox using the mouse... What I'm trying to do is to create an installation for use in training classes for the software that my company makes. Typically, we rent a classroom in some city, with, say, 20 computers. The class often starts at 9:00 in the morning, and before that the lecturer has to install our application on all of the 20 computers. The application itself doesn't take that long to install, but it needs MS SQL Server and MS Office on the same machine as well, so it adds up. It doesn't need access to USB ports or a network, though. So, I figured that I could use VirtualBox to set up a virtual machine and run it from a USB memorystick. To make the process as fast as possible, I need to make an installation (using InnoSetup) that:
1) Installs VirtualBox silently
2) Creates a virtual machine and associates it with the vdi-file on the USB memorystick (using VBoxManage)
3) Places a shortcut on the desktop for starting the virtual machine (using VBoxManage)
What I have now, in the installation script, is something like: msiexec /i VirtualBox-2.1.4-42893-Win_x86.msi /qn
By the way, is what I'm trying to do in line with the licence agreement for VirtualBox?
1) Installs VirtualBox silently
2) Creates a virtual machine and associates it with the vdi-file on the USB memorystick (using VBoxManage)
3) Places a shortcut on the desktop for starting the virtual machine (using VBoxManage)
What I have now, in the installation script, is something like: msiexec /i VirtualBox-2.1.4-42893-Win_x86.msi /qn
By the way, is what I'm trying to do in line with the licence agreement for VirtualBox?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Unattended install
The Driver signing is set in the registry, so you can use a script to change that value. You might have to reboot for the setting to take effect though.
As for the license question, please read the full license. If it's for educational purposes on a school, then it's mostly no problem. Just read it, and ask Sun if you have any questions.
As for the license question, please read the full license. If it's for educational purposes on a school, then it's mostly no problem. Just read it, and ask Sun if you have any questions.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: Unattended install
I have been reading up on Windows Installer and there is something called properties ( http://msdn.microsoft.com/en-us/library ... S.85).aspx ) that can be added to the command line. There seems to be a way to controll which features that should be installed, by using properties, but I don't know enugh to to use it. Do I have to know the 'internal' names of the USB and Network features?
Re: Unattended install
This seems to do the trick 
ADDLOCAL=VBoxApplication
ADDLOCAL=VBoxApplication