Bonjour,

j'ai déployé Trend Micro dans mon entreprise en version hébergé chez eux...

j'ai réussi a déployé le client via GPO et un script VB qui se lance au démarrage :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pathOfWFBSHInstaller="msiexec /qn /i \\SERVEUR\Partages$\MSI\WFBS-SVC_Agent_Installer.msi"
strComputer = "." 
strOutput = ""
serviceCount = 0
totalServiceCountToCheck = 3

' check if WFBS-SVR is installed by detecting service ntrtscan, tmlisten, svcGenericHost are exist or not
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Service")
For Each objService in colItems
	strOutput = strOutput & objService.name & vbCr & vbLf
	If objService.name = "ntrtscan" Then
		serviceCount = serviceCount + 1
'		Wscript.Echo "Service " & objService.Caption & " is " & objService.Started 
	ElseIf objService.name = "tmlisten" Then
		serviceCount = serviceCount + 1
'		Wscript.Echo "Service " & objService.Caption & " is " & objService.Started 
	ElseIf objService.name = "svcGenericHost" Then
		serviceCount = serviceCount + 1
'		Wscript.Echo "Service " & objService.Caption & " is " & objService.Started 
	End If
Next

If serviceCount <> totalServiceCountToCheck Then
	Dim WshShell
	Set WshShell = CreateObject("WScript.Shell")
	WshShell.Run pathOfWFBSHInstaller
End if

le problème c'est qu'ils ont supprimé par erreur ma licence et donc perdu toute ma configuration... bref l'horreur...

je souhaiterai réinstaller ce petit MSI qui contient la nouvelle licence du logiciel par dessus le client déjà installé, cependant je ne souhaite pas non plus que ça lance une installation à chaque fois à savoir que les 3 services présents déclenchent l'installation...je n'ai pas d'idée pour contourné cela...

je m'était même dis pourquoi pas rajouter une condition...créer un service factice pour redéclencher le script ?

si vous avez une idée...

cdt