Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silent Administrative Install - Specifying an installation directory

I'm currently trying to add some testing functionality into our builds, and in order to do this I need to be able to perform an administrative install, silently. However, I need to be able to specify the location that it installs too, as the default is on the company-wide network which is no use.

I was wondering if there was a way to specify the installation directory through parameters for this type of operation, and if so how?

Many thanks, Chris

like image 795
Chris Dobinson Avatar asked Aug 04 '10 08:08

Chris Dobinson


People also ask

What does it mean to install software silently?

A silent (or unattended) installation is the ability to install an application package without any user interaction. This means that the user will no longer need to go through the install wizard (and click Next multiple times).

What is silent install command?

In addition to command line installations, administrators can enable silent installations—installations that do not require settings to be specified each time—for Smart View. The silent installation command can be included in scripts to automate installation.

How do I silently install a program?

As you want to install the software silently, find the switch available for silent installation. Use this command to use the silent switch: "softwarename.exe /switch". Once you are done with the silent switch command, sit back and relax. Your software will get installed automatically.


1 Answers

msiexec /a foo.msi TARGETDIR=C:\EXTRACT\ /qn /l*v admin_install.log

/a = admin install of foo.msi /qn fully silent ( /qb! is mostly silent ) /l*v create a verbose log - in case it fails

like image 119
Christopher Painter Avatar answered Oct 01 '22 23:10

Christopher Painter