All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
[16:50:54] Agent: xxxxxx is going to execute "Last McAfee Update" script ...
[16:50:54] Script started, invalid result received:
----------
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Windows\TEMP\TMP-48~1.BAT(1, 8 ) Microsoft JScript compilation error: Expected ';'
----------
thx alex
if i use : cmd /c cscript /E:VBScript %Script% %Params%
i still get
[17:17:20] Agent: xxxxx is going to execute "Last McAfee Update" script ...
[17:17:21] Script started, invalid result received:
----------
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Windows\TEMP\TMP-29~1.BAT(18, 1) Microsoft VBScript runtime error: Type mismatch: '[string: "2016/06/22"]'
----------
>i still get
As I see you get different error - Type mismatch: '[string: "2016/06/22"]'
Probably here?
DateAdd("s",lastUp,"01/01/1970 00:00:00") while lastUp = "2016/06/22"
You read "2016/06/22" from the registry? and then trying to use this string instead of number that should represent seconds?