Linux programs remote execution using "Install application remotely" task in KSC [KES for Linux]
This only applies to KSC 14.2 and below
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:
[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:
[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
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now