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
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).
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With