2
votes

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

1
is c:\gpg4win-2.2.4.exe /? helpful? - Stephan
Have you thought about creating a portable version and just xcopy deploying it? The .exe is "probably" no MSI and you should look at gpg4win.org/doc/en/gpg4win-compendium_35.html - Simon Opelt
@Stephan-c:\gpg4win-2.2.4.exe / this command aslo showing UI - moh
@simon - i have to do it azure worker role can not do xcopy... - moh
better fit for serverfault.com - Simon Opelt

1 Answers

1
votes

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.