Request-EndInstallerSession

This command writes a registry value of type DWord EndInstallerSession in the key HKEY_LOCAL_MACHINE\SOFTWARE\NWC Services GmbH\Package Deployment\Session Management\Current and sets the content to 1.

If several packages are pending  installation, the caller can check after a package to see if the above value exists and is set to 1 and terminate a running installation session. If a corresponding package is executed via the provided wrapper in Ivanti DSM, the installer session is terminated with the EndInstallerSession command, if necessary.

The Current key is a so-called volatile key that is automatically deleted at the next system reboot, including the values contained therein. So you do not need to worry about removing the value and the key yourself.

The command has no dialog and has no parameters.


Corresponds to DSM eScript command:

  • EndInstallerSession


See also: