ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Using AeXNsc.exe in the command line for SMAgent installation

book

Article ID: 150354

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

 

Environment

ITMS 8.x

Resolution

With the ITMS 8.0 release, the help context has been updated if you run aexnsc[http][s].exe /?.

 

AeXNSC.exe [Packager Parameters] [Installer Parameters]

 

Packager Parameters

/? | /h | /help

Show this help

/to:<path>

Path or directory name where to store the extracted files

/noexe

Do not launch the executable file after the extraction

/pass:<password>

Password to use as a key when decrypting the files

/exe:<name>

Name of the executable to launch after the extraction is complete

/cmdln:<params>

Overwrite the stored parameters for target executable with the parameters given in <params>

/nofileui

Do not show information dialog with the filenames that are being extracted

/s

Silent mode, do not show informational dialogs about the installation process

/list:<file>

Save the list of the archived files into the specified file, do not run setup

/extract:<path>

Extract the archived files into the specified directory, do not run setup


------------------------------

Installer Parameters

/server:<server> | /ns:<server>

Assign the Agent to the Notification Server
specified by the host name <server> accessible through HTTP protocol on port 80

/web:<web> | /nsweb:<web>

Assign the Agent to the Notification Server
specified by the URL <web> formatted as http[s]://<host name>[:<port>]

/path:<path>

Install the Agent into the custom folder specified by <path>

/donotstart

Do not start the Agent at the end of installation

/enablestartmenu

Add the Agent shortcut to the Start Menu

/nostartmenu

Do not add the Agent shortcut to the Start Menu

/enabletrayicon

Show the Agent icon in the tray area

/notrayicon

Do not show the Agent icon in the tray area

/addremove

Add the Agent uninstaller to the 'Add/Remove Programs' control panel applet

/noaddremove

Do not add the Agent uninstaller to the 'Add/Remove Programs' control panel applet

/diags

Enables the Agent diagnostics

/nodiags

Disables the Agent diagnostics

/nologging

Disables the logging

/enablelogging:error

Enables the error logging

/enablelogging:warning

Enables the error and warning logging

/enablelogging:info

Enables the error, warning and informational events logging

/enablelogging:debug

Enables the error, warning, informational events and debug events logging

/enablelogging

Enables the default logging

 

Example:

If you need to install the SMAgent using AeXNSC.exe, you could use /ns and /nsweb switch. Both /ns and /nsweb parameters can be used to specify NS server but only one of them is actually needed.
With /ns=<FQDN> you can specify HTTP address of the server only – easy way if you don’t care about HTTPS or a port.
With /nsweb=http[s]://<FQDN>:<port> you can specify the protocol, the name and the port, web resources part of URL is ignored.

/install is optional