List of attributes for silent install

I am working to automate server configuration using PowerShell 7. I am using start-process to run the installer. I would like to know if there is a list of arguments the installer will accept. Specifically, I am having issues installing to a custom location as we have a specific drive we install applications to. I’ve been searching everywhere I can think of but cannot find one.

The chapter C Automatic installation of Gpg4win of the Compendium shows parameters which can be used in an automated installation.

As cklassen wrote /D=d:\foo\bar would install to drive d.

A tricky issue can be that windows drive letter mappings are user specific. So if you have a network drive Z:\ mapped for users it may not be available in the Administrator environment the installer is executed in after confirming the UAC prompt. So its best to call the installer from an elevated shell. Otherwise use the UNC path instead of the drive letter like /D=\\ServerName\Foo\Bar

Awesome! Thanks! I definitely agree. In this case it’s a somewhat different animal in that we do have standard naming for our new servers. This is part of a Server configuration automation project for new servers. Eventually we will most likely go to a desired state configuration using something like Ansible. It does make writing scripts easier though. Thanks again!