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
Technology Tips and News
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
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
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
Hi,
Use the below command:
setup.exe /a
setup.exe /t:C:\extracted_fil
Do you also know the MSI property to pass to define the agpm server and port?
Mike
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/
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
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.
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.
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
Thanks for that!
In the spirit of 'teach a man to fish' How did you find out what the commands were?
Cheers,