the problem is, that when installing agent with GPO, computer policy, it doesn't obey parameters, so i.e. when DEPLOY=220.127.116.11, it installs version 18.104.22.168.
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 22.214.171.124 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?