The RunCC.exe file is archived with each installation of the ACMP Agent on a computer, however, not during the use of the One Scan Client (see Installation of Clients). This file is used to execute Client Commands. This gives you the ability to call a Client Command, for example, from a login script. Such a call also requires the ID of a Client Command. The declaration of variables is optional. The syntax is as follows:
runcc.exe Client-Command-GUID [\v:Variablename=Variablevalue]
Here are a few examples:
runcc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2}
runcc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} \v:Dir=Temp
runcc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} \v:Var1=25 \v:Var2=“D:\“
runcc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} \v:path=“C:\Program Files\ACMP“
Note: |
The ID can be viewed in the properties of each Client Command. |
By calling a client command it is important to ensure that you use the variable ACTION=install or ACTION=uninstall. By using INSTALLMODE=uninstall the client command perfoms on the base of the script an installation.
Note: |
The variable ACTION is a component of all client command were built with the package wizard. All client commands in the package depot are created with the package wizard. |
When RunCC.exe was executed you receive an error-code and a short description.
The follwing return-values are possible:
Error-code |
Description |
0 |
Client Command executed successfully. |
1 |
Unknown error on client |
2 |
Conditions for this Client Command are not fulfilled |
3 |
The specified command is not allowed for interactive usage |
4 |
The specified Client Command could not be found on the server |
5 |
You do not have enough licenses to run the Client Command on this client |
6 |
Unexpected error, e.g. TCP problems |
7 |
Client Command is unknown or empty |
8 |
Server %s not found |
9 |
An error has occured during Client Command execution |
10 |
The ACMP Server is busy |
11 |
Execution canceled by user |
12 |
Connection timeout occured |
13 |
Client Command has no executable version |
14 |
ACMP Client must update before Client Commands can be executed |
100 |
Nothing done |
101 |
Client has been closed unexpectedly |
102 |
Syntax error. Command requires at least one parameter |
103 |
Syntax error. Variable parameters are incorrect |
104 |
First parameter must be a GUID.Please type a command GUID after the run-command |
105 |
Could not find an ACMP Client.Maybe the client is not started |
106 |
Client Command execution is not possible on Windows NT 4.0,if ACMP client is running as application |
107 |
The following parameter is a system variable and can not be edited by a Client Command |
110 |
ACMP Client service is not running |
Last change on 03.12.2014