Jump to content

Linux programs remote execution using "Install application remotely" task in KSC [KES for Linux]


Recommended Posts

Antipova Anna
Posted

Advice and Solutions (Forum Knowledgebase) Disclaimer. Read before using materials.

Problem

Remote installation tasks finishes with uninformative errors:

Setup process error: Unknown error. (126)

Setup process error: Unknown error. (2)

Solution

1. Create 3rd party installation package (Create installation package -> Create an installation package for the specified executable file.)

2. Specify executable file, for example script.sh

3. Locate this package folder in KSC storage, by default %ProgramData%\KasperskyLab\adminkit\1093\.working\share\Packages\(package_name)

4. Edit .\(package_name)\executable_package.kpd: remove exec\ from Executable path, add DontWrap=1 option. Setup section should read the following:

executable_package.kpd

[Setup]

Executable=script.sh

DontWrap=1

Params=

5. Edit .\(package_name)\exec\executable_package.kpd: remove exec\ from Executable path, add DontWrap=1 option. Setup section should read the following:

exec\executable_package.kpd

[Setup]

Executable=script.sh

DontWrap=1

Params=

6. Copy .\(package_name)\exec\script.sh to .\(package_name)\script.sh

7. Check that in package Settings, "Executable file" changed from exec\script.sh to script.sh

8. Use this package in "install application remotely" task

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...