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.

Agent 2.1.1.3 and Windows XP - empty ocsinventory.ini

Hy, i wanted to deploy the new agent 2.1.1.3 for all Windows Clients - but it looks like that the version 2.1.1.3 does not create a complete ocsinventory.ini on Windows XP Clients (with sp3) in

C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent

I tried manual installation - and also a deplyoyment via ocslogon (also version 2.1.1.3)

Agent will be installed without errorcode - but no service will be installed and no ocsinventory.ini will be written.

 

so i tried older versions.

Version 2.1.1.2 also didn't work
Version 2.2 Alpha also did not work on Windows XP (Internal Version 2.1.1.4)
But 2.1.1.1 will work

Can anyone reproduce this ?

 

Kind regards

 

Sokatra
in OCS Inventory NG agent for Windows by (11.5k points)
edited by

1 Answer

+1 vote
here is a part of the verbose log from manula installation of agent 2.1.1.3

opying new files to directory <C:\Program Files\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF...Result: error
Windows Advanced Firewall is enabled...
Adding custom Windows Firewall rule for <C:\Program Files\OCS Inventory Agent\ocsinventory.exe>...Failed !
Adding custom Windows Firewall rule for <C:\Program Files\OCS Inventory Agent\download.exe>...Failed !
[/NOW] used, so launching "C:\Program Files\OCS Inventory Agent\ocsinventory.exe"...Result: error
Creating startup menu shortCut <C:\Documents and Settings\All Users\Start Menu\Programs\Startup\OCS Inventory NG Systray.lnk> to start Systray applet...
Checking if service OCS Inventory Service is registered into Windows Service Manager...No
Registering OCS Inventory Service into Windows Service Manager...Result: error.
SUCCESS: OCS Inventory NG Agent 2.1.1.3 successfully installed on 07/03/2016 at 10:49:22
;-)

 

 

If a start from the command line the following command

ocsinventory.exe /SAVE_CONF

i will get immediatly a graphical windows with the following errorcode

C:\Program Files\Ocsinventory Agent\OCSInventory.exe is not a valid win32 application

 

With Version 2.1.1 verything works like expected

(no error message)

 

I think this link here can help the developers

http://blogs.msdn.com/b/vsnetsetup/archive/2012/10/16/setup-exe-is-not-a-valid-win32-application.aspx
by (11.5k points)
edited by
 
Powered by Question2Answer
...