Edit agent MSI for GPO
We have updated our K1200 to 5.3 and would like to deploy agents again through GPO but when I edit the MSI file, the field "Registry" is no longer listed. So where do we embed the KBOX server name/IP address?
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
cblake
13 years ago
This is detailed in the 5.3 Admin Guide. There's no longer any need (or support for) editing the MSI.
Command line parameters for the Agent
Windows Installer Tool = msiexec or msiexec.exe
Install flag = /i
Example: msiexec /i ampagent-5.3.12345-x86
Uninstall flag = /x
Example: msiexec /x ampagent-5.3.12345-x86
Silent install = /qn
Example: msiexec /qn /i ampagent-5.3.12345-x86
Log verbose output = /L*v log.txt
Auto set host name = rename agent_installer.msi_hostname.msi
(Renames the install file to the name of the server name, which automatically sets the host name.)
Example: msiexec /qn /i ampagent-5.3.32941-x86_k1000.kace.com.msi
Set properties
PROPERTY=value (Must use ALL CAPS.)
Example: msiexec /qn /i ampagent-5.3.32941-x86.msi HOST=k1000.kace.com
Set server name
set KACE_SERVER=k1000name (Must be followed by an msiexec call to install.)
Example:
set KACE_SERVER=kbox
msiexec /i ampagent-5.2.12345-x86
The ordering of setting the host is as follows:
1. If the installer contains the name of host, use that
2. If KACE_SERVER is set, use that
3. If amp.conf has a server, use that.
4. If smmp.conf has a server, use that (when updating from 5.1). Do not leave empty. Do not set to kbox. Otherwise, the agent will NOT connect to the server.
Command line parameters for the Agent
Windows Installer Tool = msiexec or msiexec.exe
Install flag = /i
Example: msiexec /i ampagent-5.3.12345-x86
Uninstall flag = /x
Example: msiexec /x ampagent-5.3.12345-x86
Silent install = /qn
Example: msiexec /qn /i ampagent-5.3.12345-x86
Log verbose output = /L*v log.txt
Auto set host name = rename agent_installer.msi_hostname.msi
(Renames the install file to the name of the server name, which automatically sets the host name.)
Example: msiexec /qn /i ampagent-5.3.32941-x86_k1000.kace.com.msi
Set properties
PROPERTY=value (Must use ALL CAPS.)
Example: msiexec /qn /i ampagent-5.3.32941-x86.msi HOST=k1000.kace.com
Set server name
set KACE_SERVER=k1000name (Must be followed by an msiexec call to install.)
Example:
set KACE_SERVER=kbox
msiexec /i ampagent-5.2.12345-x86
The ordering of setting the host is as follows:
1. If the installer contains the name of host, use that
2. If KACE_SERVER is set, use that
3. If amp.conf has a server, use that.
4. If smmp.conf has a server, use that (when updating from 5.1). Do not leave empty. Do not set to kbox. Otherwise, the agent will NOT connect to the server.
Posted by:
GillySpy
13 years ago
Posted by:
icn2pcs
13 years ago
Posted by:
GillySpy
13 years ago
Posted by:
icn2pcs
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.