Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Script to install agent on Windows XP to Win 10

does anybody has a commandline script to install the agent on windows clients?

The script must be able to differentiate between 32 o 64 bit and XP to Windows 10 to install/upgrade the agent to the OS specific version.

For example Windows Agent 2.6 can't be installed on 32 bit Windows 10 OS.

2.6 also can't be installed on Windows XP

Kind regards
in OCS Inventory NG agent for Windows by (9.8k points)

1 Answer

0 votes

I used NSIS script to create a custom .exe and i do the checks before executing the agent setup.

https://nsis.sourceforge.io/Main_Page

If you don't succed in creating the NSIS script i can send you my script but you will have to customize it per your usage.

by (180 points)
edited by
 
Powered by Question2Answer
...