moh
moh

Reputation: 53

Installing software using command line silent mode

I am creating batch file to run on azure worker start up task to install GPG software on windows 8 in silent mode or quiet mode -don't want to see UI dialogs

how to pass installation folder or other parameters in command line

I have tried using below line but it shows windows installer popup

msiexec  "c:\gpg4win-2.2.4.exe" /qn

and tried

"c:\gpg4win-2.2.4.exe"

I am getting windows installer UI -GPG win setup UI

Please help me how i can run installation in quite mode by passing required parameters

Upvotes: 2

Views: 13830

Answers (1)

Simon Opelt
Simon Opelt

Reputation: 6211

As the documentation states there are explicit switches and configuration files for your installation scenario. A simple example could be

gpg4win-2.2.4.exe /S /D=D:\Temp\Gpg4win

specifying /S for silent and /D for the destination path which might be relevant for your scenario.

If you need more detailed setting the documentation shows how to prepare a configuration file with fine grained settings.

Upvotes: 1

Related Questions