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

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

Problem with Teledeploy

I modified the scripts below in order to uninstall the "Mozilla Maintenance Service".

I put
Action: Launch
Command: I put the schedule_uninst_mozilla_maintenance.bat to call uninstall_mozilla_maintenance.bat
Priority: 5

The scripts are:

uninstall_mozilla_maintenance.bat

rem File uninstall_mozilla_maintenance.cmd
rem Unstested on W9X (command.com) - please run with cmd.exe
rem To only remove service:
rem     sc.exe delete "Mozilla Maintenance Service"
rem

 %System Drive%
 cd "%ProgramFiles%"
 if not exist "Mozilla Maintenance Service" goto end 

 cd "Mozilla Maintenance Service"
 if exist Uninstall.exe call Uninstall.exe /S 
 del *.* /s /q
 cd ..
 rd "Mozilla Maintenance Service" /s /q 
 :end 
 cd 

schedule_uninst_mozilla_maitenance.bat 

#File schedule_uninst_mozilla_maintenance.bat 
copy uninstall_mozilla_maintenance.bat C:\
for /f (tokens=1) %%a in ('time /T') do set /A heure=%%a + 1
at %heure%:10 "C:\uninstall_mozilla_maintenance.bat"

I can not get results and I can not even find the error. 

in Package deployment by (730 points)

3 Answers

0 votes
Did you check all log files? :)
by (200 points)
0 votes
Have you checked the Download.log in the agent's program directory? Usually it is stored in "%ProgramData/OCS Inventory NG/Agent". What does it say?
by (200 points)
0 votes
Hi,

Instead of deleting the update service, you can simply disable it by adding two configuration files:

1) c:\Program...\Mozilla Firefox\mozilla.cfg :

lockPref("app.update.enabled", false);
lockPref("app.update.service.enabled", false);

2) c:\Program...\Mozilla Firefox\defaults\pref\autoconfig.js :

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

Regards
by (6.2k points)
 
Powered by Question2Answer
...