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