/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (9)

Posted by: airwolf 14 years ago
Red Belt
0
What is your purpose? Agent_provision.bat allows for some command line parameters - is it not working?
Posted by: snissen 14 years ago
Fourth Degree Green Belt
0
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
Posted by: airwolf 14 years ago
Red Belt
0
I believe the input values for SSL_ENABLED are 0 (for off) and 1 (for on).

If you want a list of arguments or source code (I doubt you'll get source code), I'd suggest you submit a ticket to KACE. Please share your findings here, as they may help someone else in the future.
Posted by: snissen 14 years ago
Fourth Degree Green Belt
0
I don't want the source code. But sometimes, in the source code, a programmer starts with a comment section that lists all the values (or parameters) a particular variable can take. It's that comment section I'm interested in...
Posted by: airwolf 14 years ago
Red Belt
0
I realize that. The only way you'll get the info you're looking for is by submitting a ticket.
Posted by: GillySpy 14 years ago
7th Degree Black Belt
0
I believe the input values for SSL_ENABLED are 0 (for off) and 1 (for on).
Andy is correct. Same values for the AMP SSL option

Note that those are optional parameters. Just leaving them out would be the same as leaving them off.
Posted by: snissen 14 years ago
Fourth Degree Green Belt
0
Thanks to everyone for the specific answers.

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
Posted by: airwolf 14 years ago
Red Belt
0
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
Red Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ