Advanced group policy management tool silent install

Hi,

Anyone know how to silently install the AGPM 4.0 client? As I would like to silently deploy it to my windows admins.

Mike

August 23rd, 2011 1:47pm

Hi,

You can use setup.msi /qn  switch to do the silent install

Standard Installer Command-Line Options (Windows)

msdn.microsoft.com/en-us/library/aa372024(v=vs.85).aspx

Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2011 2:28pm

Normally yes that would be ok the client is an .exe (windows installer xml) and I cannot seem to work out how to extract it.

 

Mike

August 23rd, 2011 3:56pm

Hi,

Use the below command: 

setup.exe /a

setup.exe /t:C:\extracted_fil

Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2011 4:00pm

Do you also know the MSI property to pass to define the agpm server and port?

 

Mike

August 24th, 2011 3:58pm

Hi Mike, 

I don't know the MSI parameters. 

Use the below command to know the available parameters in the msi file.

 

msiexec /i setup.msi /qb /l* out.txt 

More info:

http://www.codeproject.com/KB/install/command_lines_setups.aspx


Have a look at the below link which might be helpful.

 

How to configure the AGPM client via Group Policy to automatically connect to the AGPM server

http://www.grouppolicy.biz/2010/06/how-to-configure-the-agpm-client-via-group-policy-to-automatically-connect-to-the-agpm-server/

 

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2011 4:25pm

I have just tried to extract the msi from the .exe and nothing happens. I'm using the following command.

agpm_40_client_amd64.exe /t:c:\temp\agpm\ /c

 

September 2nd, 2011 8:19am

We got the AGPM 4.0 client to silently install on Win7 x64.

To extract the MSI file, run the client installer agpm_40_client_amd64.exe normally. Look in the Application log for a MsiInstaller entry which describes where the .msi is extracted. On my system it was extracted to C:\Users\<username>\AppData\Local\Applications\Cache\{4C74FDDB-EE93-40C2-BACD-FC892726680F}v4.0.400.0.msi.

Copy the .msi file from the Cache to a desired location, and rename it to a more friendly name. I renamed the msi file to agpm40client_x64.msi.

With this .msi you can use the /qn switch to get a silent install and pass custom properties to it, as expected.

I used command line "agpm40client_x64.msi /qn PORT=4600 ARCHIVELOCATION=<servernamehere> ADD_PORT_EXCEPTION=0 BRAZILIAN_PT=0 CHINESE_S=0 CHINESE_T=0 ENGLISH=1 FRENCH=0 GERMAN=0 ITALIAN=0 JAPANESE=0 KOREAN=0 RUSSIAN=0 SPANISH=0"

I set "ADD_PORT_EXCEPTION=0" because the default client install attempts to configure a port exception in Windows Firewall. If the firewall service is disabled then it cannot configure a port exception and the entire install fails.

  • Proposed as answer by Andykn Monday, July 01, 2013 11:37 AM
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2011 8:26pm

I found it in C:\ProgramData\Applications\Cache\{4C74FDDB-EE93-40C2-BACD-FC892726680F}v4.0.400.0.msi.
  • Proposed as answer by Meshack KE Wednesday, November 20, 2013 4:12 PM
July 1st, 2013 11:38am

Chris,

I've tried your command;

agpm40client_x64.msi /qn PORT=4600 ARCHIVELOCATION=AGMP.CONTOSO.COM ADD_PORT_EXCEPTION=0 BRAZILIAN_PT=0 CHINESE_S=0 CHINESE_T=0 ENGLISH=1 FRENCH=0 GERMAN=0 ITALIAN=0 JAPANESE=0 KOREAN=0 RUSSIAN=0 SPANISH=0

the client is installed,but now when i run gpedit.msc on the client machine and locate AGMP settings on User configuration the "Specify default AGMP Server" still shows not configured.

  1. Does this command change the GP settings on the client machine?
  2. How do i check if the AGMP client has the server and port set right?
  3. How do i test if the client machine and the server are communicating?
  4. I had created a DNS Host(A) record (AGMP.CONTOSO.COM) to point to my AGMP server, is this ok or it could have issues?

Free Windows Admin Tool Kit Click here and download it now
January 24th, 2014 4:40pm

Just in case anyone finds this thread, I found a much nicer way to silent install it (no need to extract files, etc).

agpm_402_client_amd64.exe /msicl "PORT=4600 ARCHIVELOCATION=<SERVERNAME> ADD_PORT_EXCEPTION=01 BRAZILIAN_PT=0 CHINESE_S=0 CHINESE_T=0 ENGLISH=1 FRENCH=0 GERMAN=0 ITALIAN=0 JAPANESE=0 KOREAN=0 RUSSIAN=0 SPANISH=0" /quiet /norestart

agpm_402_client_x86.exe /msicl "PORT=4600 ARCHIVELOCATION=<SERVERNAME> ADD_PORT_EXCEPTION=01 BRAZILIAN_PT=0 CHINESE_S=0 CHINESE_T=0 ENGLISH=1 FRENCH=0 GERMAN=0 ITALIAN=0 JAPANESE=0 KOREAN=0 RUSSIAN=0 SPANISH=0" /quiet /norestart

  • Proposed as answer by BenSBB Tuesday, December 30, 2014 2:34 PM
  • Marked as answer by MikePalmer Saturday, May 16, 2015 5:48 AM
December 30th, 2014 2:34pm

Thanks for that!

In the spirit of 'teach a man to fish' How did you find out what the commands were?

Cheers,

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 11:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics