the problem is, that when installing agent with GPO, computer policy, it doesn't obey parameters, so i.e. when DEPLOY=22.214.171.124, it installs version 126.96.36.199.
The same configuration, but called manually (under admin account), works fine. In a log file (C:\Users\<login>\AppData\Local\Temp\OcsLogon.log) there is a message, that:
OCS Inventory NG Agent version 188.8.131.52 already installed, skipping setup
and that is ok.
I had tried to find the same file while installing with computer policy (to check messages), but couldn't get location.
So, where OCS logs files are stored while OCS is installed under system account (GPO computer policy)?
(I checked: windows\system32\config\systemprofile but it's not there),
or why deploy parameter doesn't work under GPO computer policy?