KInstaller arguments
Where can I find a list of all the valid KInstaller command line parameters (KINSTALLER_ARGS) for the 5.0 agent for Windows?
I don't see this in any of the manuals, or in the Knowledgebase, and even running KInstallerSetup.exe --help doesn't do anything. Sande
I don't see this in any of the manuals, or in the Knowledgebase, and even running KInstallerSetup.exe --help doesn't do anything. Sande
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
airwolf
14 years ago
Posted by:
snissen
14 years ago
agent_provision.bat does indeed show some of the arguments, but it's not clear: For example, it says, "REM %4 - optional, SSL_ENABLED", but it doesn't say, or show, what values that 4th parameter can take. (https? 443? yes? ssl? ...)
And agent_provision.bat leaves out features I want (like MSI logging), so I want to run KInstallerSetupSilent.msi myself, with the correct parameters. I just need documentation on what KINSTALLER_ARGS can contain.
If there's no --help built-in, I figure there must be documentation somewhere, maybe even from the KInstallerSetup.exe source code. Sande
And agent_provision.bat leaves out features I want (like MSI logging), so I want to run KInstallerSetupSilent.msi myself, with the correct parameters. I just need documentation on what KINSTALLER_ARGS can contain.
If there's no --help built-in, I figure there must be documentation somewhere, maybe even from the KInstallerSetup.exe source code. Sande
Posted by:
airwolf
14 years ago
Posted by:
snissen
14 years ago
Posted by:
airwolf
14 years ago
Posted by:
GillySpy
14 years ago
Posted by:
snissen
14 years ago
Posted by:
airwolf
14 years ago
But you've demonstrated exactly what I want to know and why: what AMP SSL parameter? I've never seen any information about any such argument, which is why I asked for documentation on all the arguments.         Sande
There is documentation in the batch file itself (agent_provision.bat) for the AMP SSL parameter along with several others.
REM Copyright 2009 Kace Networks, Inc.
REM All rights reserved.
REM
REM File: agent_provision.bat
REM
REM This bat detects the presence of WMI
REM and the .NET Framework before installing the
REM KBOX Agent. If they are not found, they will
REM be installed first.
REM
REM Note, for the 4.0 release we are dropping support for Win 98 and NT.
REM
REM Params:
REM %1 - required, server hostname on which installer sits
REM %2 - required, server path to subdir of installer
REM %3 - optional, if present is kbox server hostname, if not given, defaults to %1
REM %4 - optional, SSL_ENABLED
REM %5 - optional, AMP_SSL
REM %6 - optional, x64 .NET
REM
Posted by:
KevinG
14 years ago
Hi Sande,
SSL_ENABLED = 1 // Use SSL (https / 443) for sending inventory, logs, etc[/align]
AMP_SSL = 1 // Use SSL for AMP communications (https / 52230) for communicating with KBOX, sending requests[/align]
X64_DOTNET = 1 // Passed in as 6th arg to agent_provision.bat - if set to 1 and on a 64-bit OS - do NOT install .NET 1.1
[/align]
You can create a batch file to run dotnetfx.exe and KInstallerSetup.exe in silent mode.
Replacing KBOX_SERVER with the IP or Hostname of the BOX
dotnetfx.exe /q
KInstallerSetup.exe -server=KBOX_SERVER -display_mode=silent -ssl_enabled=0 -amp_ssl=0
SSL_ENABLED = 1 // Use SSL (https / 443) for sending inventory, logs, etc[/align]
AMP_SSL = 1 // Use SSL for AMP communications (https / 52230) for communicating with KBOX, sending requests[/align]
X64_DOTNET = 1 // Passed in as 6th arg to agent_provision.bat - if set to 1 and on a 64-bit OS - do NOT install .NET 1.1
[/align]
You can create a batch file to run dotnetfx.exe and KInstallerSetup.exe in silent mode.
Replacing KBOX_SERVER with the IP or Hostname of the BOX
dotnetfx.exe /q
KInstallerSetup.exe -server=KBOX_SERVER -display_mode=silent -ssl_enabled=0 -amp_ssl=0
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.