Wiki source code of WRunCC.exe
Last modified by Sabrina V. on 2026/10/15 06:14
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
19.1 | 1 | The WRunCC.exe file is installed on a machine every time the acmp Agent is installed, but not when using the [[OneScanClient>>doc:ACMP.70.Arbeiten mit der ACMP Console.Clients erfassen.OneScanClient.WebHome]]. |
| |
1.1 | 2 | |
| |
19.1 | 3 | The difference from RunCC.exe is that WRunCC.exe does not display a DOS window while executing a Client Command. |
| |
1.1 | 4 | |
| |
19.1 | 5 | You also have the option to use an additional parameter to make WRunCC.exe wait for n seconds if, for example, WRunCC.exe is included in a login script and the client service has not yet reached the “Started” status. |
| |
1.1 | 6 | |
| |
19.1 | 7 | Otherwise, the syntax is identical: |
| 8 | |||
| 9 | {{{ wruncc.exe Client-Command-GUID [/v:variable name=variable value] [/acmpclientservicetimeout=n] [/additionalwaittime=m]}}} | ||
| 10 | |||
| |
1.1 | 11 | {{aagon.infobox}} |
| |
19.1 | 12 | Please note that before a Client Command can be launched via WRunCC, it must be enabled for interactive use. You can enable interactive use either in the [[Client Command Properties>>doc:ACMP.70.ACMP-Solutions.Desktop Automation.Client Commands.Client Command erstellen.Client Commands neu hinzufügen.Client Command Editor.Menüleiste.Client Command Eigenschaften .WebHome||anchor="HOptions"]] or within the Client Command itself by right-clicking and selecting //Allow Interactive Use//. |
| |
13.1 | 13 | {{/aagon.infobox}} |
| 14 | |||
| 15 | {{aagon.infobox}} | ||
| |
19.1 | 16 | If the client service reaches the “Started” status earlier, WRunCC does not wait for the MaxTimeout to elapse, but continues to run immediately. |
| |
1.1 | 17 | {{/aagon.infobox}} |
| 18 | |||
| 19 | {{aagon.infobox}} | ||
| |
19.1 | 20 | The /additionalwaittime parameter can be used to specify an additional wait time before the Client Command is executed. If no value is specified, the default value (0 seconds) is used. If values are specified for both /acmpclientservicetimeout and /additionalwaittime, the wait time is equal to the sum of both values. |
| |
1.1 | 21 | {{/aagon.infobox}} |
| 22 | |||
| |
19.1 | 23 | Examples: |
| |
1.1 | 24 | |
| 25 | {{{ wruncc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} | ||
| 26 | |||
| 27 | wruncc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} /v:Dir=Temp | ||
| 28 | |||
| 29 | wruncc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} /v:Var1=25 /v:Var2=“D:\“ /acmpclientservicetimeout=45 | ||
| 30 | |||
| 31 | wruncc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} /v:Pfad=“C:\Programme\ACMP“ /acmpclientservicetimeout=30 | ||
| 32 | |||
| 33 | wruncc.exe {3504E24A-0AC7-4BA6-B434-A8C4C0D4B6D2} /v:Pfad=“C:\Programme\ACMP“ /acmpclientservicetimeout=30 /additionalwaittime=10}}} | ||
| 34 | |||
| 35 | {{aagon.infobox}} | ||
| |
19.1 | 36 | The ID can be viewed in the properties of each Client Command. |
| |
1.1 | 37 | {{/aagon.infobox}} |
| 38 | |||
| |
19.1 | 39 | When executing Client Commands to install or uninstall software, be sure to specify the variable //ACTION=uninstall// or //ACTION=install//. If you specify the parameter //INSTALLMODE=uninstall// instead, the CC script will trigger an installation. |
| |
1.1 | 40 | |
| 41 | {{aagon.infobox}} | ||
| |
19.1 | 42 | The ACTION variable is part of all Client Commands that were created using the Package Wizard or are available through the package cloud. |
| |
1.1 | 43 | {{/aagon.infobox}} |
| 44 | |||
| |
19.1 | 45 | After you execute WRunCC.exe from the command line, you will receive an exit code and a brief error message. |
| 46 | The following return values are possible: | ||
| |
1.1 | 47 | |
| |
19.1 | 48 | |(% style="width:113px" %)**Exit-Code**|(% style="width:1251px" %)**Error message** |
| |
1.1 | 49 | |(% style="width:113px" %)-3|(% style="width:1251px" %) A request is already in progress |
| 50 | |(% style="width:113px" %)-2|(% style="width:1251px" %) Client is retired | ||
| 51 | |(% style="width:113px" %)-1|(% style="width:1251px" %) Unspecified error | ||
| 52 | |(% style="width:113px" %)0|(% style="width:1251px" %) OK / Sucessfull execution | ||
| 53 | |(% style="width:113px" %)1|(% style="width:1251px" %) Header is improperly formatted | ||
| 54 | |(% style="width:113px" %)2|(% style="width:1251px" %) Authenticationheader is improperly formatted | ||
| 55 | |(% style="width:113px" %)3|(% style="width:1251px" %) Invalid encryption | ||
| 56 | |(% style="width:113px" %)4|(% style="width:1251px" %) Invalid ClientID | ||
| 57 | |(% style="width:113px" %)5|(% style="width:1251px" %) Session timed out | ||
| 58 | |(% style="width:113px" %)6|(% style="width:1251px" %) IP-Address and session do not match | ||
| 59 | |(% style="width:113px" %)7|(% style="width:1251px" %) Invalid SessionID | ||
| 60 | |(% style="width:113px" %)8|(% style="width:1251px" %) FunctionID is missing | ||
| 61 | |(% style="width:113px" %)9|(% style="width:1251px" %) FunctionID is unknown | ||
| 62 | |(% style="width:113px" %)11|(% style="width:1251px" %) Sendertype is not allowed | ||
| 63 | |(% style="width:113px" %)12|(% style="width:1251px" %) Authentication is required | ||
| 64 | |(% style="width:113px" %)13|(% style="width:1251px" %) Not enough rights | ||
| 65 | |(% style="width:113px" %)14|(% style="width:1251px" %) Already logged in | ||
| 66 | |(% style="width:113px" %)15|(% style="width:1251px" %) Username and/or password is invalid | ||
| 67 | |(% style="width:113px" %)16|(% style="width:1251px" %) Server is busy | ||
| 68 | |(% style="width:113px" %)17|(% style="width:1251px" %) Outdated sender has been denied | ||
| 69 | |(% style="width:113px" %)18|(% style="width:1251px" %) Internal error | ||
| 70 | |(% style="width:113px" %)19|(% style="width:1251px" %) Database error | ||
| 71 | |(% style="width:113px" %)21|(% style="width:1251px" %) IP has been refused | ||
| 72 | |(% style="width:113px" %)22|(% style="width:1251px" %) Fileversions do not match | ||
| 73 | |(% style="width:113px" %)23|(% style="width:1251px" %) User is not licesned | ||
| 74 | |(% style="width:113px" %)25|(% style="width:1251px" %) Webinterface is not active | ||
| 75 | |(% style="width:113px" %)26|(% style="width:1251px" %) Client does not exist | ||
| 76 | |(% style="width:113px" %)27|(% style="width:1251px" %) Client not licensed for action | ||
| |
18.1 | 77 | |(% style="width:113px" %)28|(% style="width:1251px" %) Failed to connect to acmp Server |
| |
1.1 | 78 | |(% style="width:113px" %)29|(% style="width:1251px" %) Operation was aborted by user |
| 79 | |(% style="width:113px" %)30|(% style="width:1251px" %) Selected object could not be found. It was probably deleted from the server. | ||
| 80 | |(% style="width:113px" %)31|(% style="width:1251px" %) Element is locked by another user | ||
| 81 | |(% style="width:113px" %)32|(% style="width:1251px" %) Licensed amount of elements reached, action aborted. | ||
| 82 | |(% style="width:113px" %)33|(% style="width:1251px" %) Operation has been aborted | ||
| 83 | |(% style="width:113px" %)34|(% style="width:1251px" %) No new data version found | ||
| 84 | |(% style="width:113px" %)35|(% style="width:1251px" %) Invalid request | ||
| 85 | |(% style="width:113px" %)36|(% style="width:1251px" %) Element already exists | ||
| 86 | |(% style="width:113px" %)37|(% style="width:1251px" %) Upload failed | ||
| 87 | |(% style="width:113px" %)38|(% style="width:1251px" %) Compression failed | ||
| 88 | |(% style="width:113px" %)39|(% style="width:1251px" %) Max amount for this element type has been reached | ||
| 89 | |(% style="width:113px" %)40|(% style="width:1251px" %) Action is prohibited because multi tenancy is acitve | ||
| 90 | |(% style="width:113px" %)41|(% style="width:1251px" %) Result contains too many items | ||
| |
18.1 | 91 | |(% style="width:113px" %)42|(% style="width:1251px" %) acmp license is invalid |
| |
1.1 | 92 | |(% style="width:113px" %)43|(% style="width:1251px" %) Partial stages of the request were successful |
| 93 | |(% style="width:113px" %)44|(% style="width:1251px" %) Could not delete selected element | ||
| 94 | |(% style="width:113px" %)100|(% style="width:1251px" %) Nothing done. | ||
| 95 | |(% style="width:113px" %)101|(% style="width:1251px" %) Client has been closed unexpectedly. | ||
| 96 | |(% style="width:113px" %)102|(% style="width:1251px" %) Syntax error. Command requires at least one parameter. | ||
| 97 | |(% style="width:113px" %)103|(% style="width:1251px" %) Syntax error. Variable parameters are incorrect. | ||
| 98 | |(% style="width:113px" %)104|(% style="width:1251px" %) First parameter must be a GUID. Please type a command GUID after the run-command. | ||
| |
18.1 | 99 | |(% style="width:113px" %)105|(% style="width:1251px" %) Could not find an acmp Client. Maybe the client is not started. |
| 100 | |(% style="width:113px" %)106|(% style="width:1251px" %) Client Command execution is not possible on Windows NT 4.0, if acmp client is running as application. | ||
| |
1.1 | 101 | |(% style="width:113px" %)107|(% style="width:1251px" %) The following parameter is a system variable and can not be edited by a Client Command. |
| 102 | |(% style="width:113px" %)108|(% style="width:1251px" %) Invalid parameter | ||
| |
18.1 | 103 | |(% style="width:113px" %)109|(% style="width:1251px" %) acmp Client is not in a Container |
| 104 | |(% style="width:113px" %)110|(% style="width:1251px" %) acmp Client service is not running | ||
| |
1.1 | 105 | |(% style="width:113px" %)1001|(% style="width:1251px" %) Error during Client Command execution |
| 106 | |(% style="width:113px" %)1002|(% style="width:1251px" %) Execution skipped. Condition evaluated to false | ||
| 107 | |(% style="width:113px" %)1003|(% style="width:1251px" %) Client Command was not marked as interactive | ||
| 108 | |(% style="width:113px" %)1004|(% style="width:1251px" %) Client Command was not available for execution | ||
| 109 | |(% style="width:113px" %)1005|(% style="width:1251px" %) Not enough licenses to execute Client Command | ||
| 110 | |(% style="width:113px" %)1006|(% style="width:1251px" %) Unexpected error | ||
| 111 | |(% style="width:113px" %)1007|(% style="width:1251px" %) Empty or unknown | ||
| 112 | |(% style="width:113px" %)1008|(% style="width:1251px" %) Unexpected server error during Client Command execution | ||
| 113 | |(% style="width:113px" %)1009|(% style="width:1251px" %) Unexpected error during Client Command execution | ||
| 114 | |(% style="width:113px" %)1010|(% style="width:1251px" %) Server is busy | ||
| 115 | |(% style="width:113px" %)1011|(% style="width:1251px" %) Client Command execution was canceled by user | ||
| 116 | |(% style="width:113px" %)1012|(% style="width:1251px" %) Execution timed out | ||
| 117 | |(% style="width:113px" %)1013|(% style="width:1251px" %) Script was disabled | ||
| 118 | |(% style="width:113px" %)1014|(% style="width:1251px" %) Client update is necessary | ||
| 119 | |(% style="width:113px" %)1015|(% style="width:1251px" %) No released Client Command Version available on Distributed File Repository | ||
| 120 | |(% style="width:113px" %)1016|(% style="width:1251px" %) No Distributed File Repository available for this Client |

