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.12.3 available

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

Install script to uninstall program

As I run a script to silently uninstall flash player, I need help and tested only the agent shows me the status, I notify it but the client agent does not unpack the package?
in OCS Inventory NG server for Windows by (240 points)

6 Answers

0 votes
hy,  the included files in the zip must be at the top level folder hierachy (no subfolder)

is that the case`try a batchfile

example.cmd
by (24k points)
0 votes

I proceeded to perform that test and it does not work for me, You can send me an example of how to perform unattended script deployment.

by (240 points)
0 votes

this is an old example to uninstall flash.. you need the adobe flash uninstall exe

https://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html#main_Download_the_Adobe_Flash_Player_uninstaller

that is the content of the script

uninstall_flash_player.exe -uninstall

please read this to get an idea how the deployment works

https://miloszengel.com/ocs-inventory-ng-2-3-complete-install-guide-on-debian-8-7-jessie/7/

kind regards

by (24k points)
0 votes

perform the steps does not work @sokatra

Starting OCS Inventory Package Download and Setup Tool on Friday, February 12, 2021 18:30:46.

DOWNLOAD => Running OCS Inventory Download Version 2.8.0.0

DOWNLOAD => Using OCS Inventory FrameWork Version 2.8.0.0

DOWNLOAD => Using network connection with Communication Server

DOWNLOAD => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.8.0.0>

DOWNLOAD => Starting new period of 10 cycles

DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages

DOWNLOAD => No package found, exiting

DOWNLOAD => Unloading communication provider

DOWNLOAD => Execution duration: 00:00:00.

by (240 points)
0 votes
AGENT => Inventory successfully sent

AGENT =>  Communication Server asked for Package Download

ERROR *** DOWNLOAD => Failed to download Metadata file <https://IP/download/1613187865/info> to <C:\ProgramData\OCS Inventory NG\Agent\download\1613187865\info>

DOWNLOAD => Download and setup tool successfully started

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:07.
by (240 points)
edited by
0 votes
is the url accessible by browser?

https://172.20.205.92/download/1613187865/info> to <C:\ProgramData\OCS Inventory NG\Agent\download\1613187865\info>

do you have a cert in in client ?

see here for further instructions

https://miloszengel.com/ocs-inventory-ng-2-5-install-guide-on-debian-stretch-with-ssl-and-deployment/5/

also look here

https://ask.ocsinventory-ng.org/6304/failed-to-download-metadata-file
by (24k points)
edited by
 
Powered by Question2Answer
...