I think this is a bug .. because if you uninstall the old version and install the new one the path which is used is correct "C:\Program Files\OCS Inventory Agent"
If you install the new version over an old 32 bit one then "C:\Program Files (x86)\OCS Inventory Agent" will be used also for the new version.
So i always recommend to uninstall the old version first via script. For me the update option from new version never worked flawless. Sometimes the service was not replaced with the new version or some files keeping the old version number if you don't unistall the old version before.
I reported this on github .... we will see what the developers are telling us.
Kind regards
Soktra
If you install the new version over an old 32 bit one then "C:\Program Files (x86)\OCS Inventory Agent" will be used also for the new version.
So i always recommend to uninstall the old version first via script. For me the update option from new version never worked flawless. Sometimes the service was not replaced with the new version or some files keeping the old version number if you don't unistall the old version before.
I reported this on github .... we will see what the developers are telling us.
Kind regards
Soktra