VB script is working fine at the manual installation method but not deploying /executed through SCCM 2012 .
tried deploying both package and applications as well but no luck.
-------------------------------------------
Application data has been reached in Software Center at "Installed Software" phase without any errors.
Used file ,registry ,windows installer detection methods i.e.
Property : "date modified"
operator : "greater than or equal to "
value : by default date
and browsed installation program "removeExcelOpenKey.vbs"
-------------------------------------------------------------------
removeExcelOpenKey.vbs
Dim objExcel
Dim addin
Dim objShell
On Error Resume Next
Set objShell = CreateObject("WScript.Shell")
objShell.Run "msiexec /x {62190FC2-D90E-45A8-9ED8-9C523EC426E2} /qn", 0, True
Set objWb = objExcel.Workbooks("myAddin.xla")
If Not wb Is Nothing Then
wb.RunAutoMacros xlAutoClose
End If
Set objExcel = CreateObject("Excel.Application")
For i = 0 To objExcel.Addins.Count
Set objAddin= objExcel.Addins.item(i)
If objAddin.Name = "HsTbar.xla" Then
objAddin.Installed = False
End If
Next
objExcel.Quit
Set objExcel = Nothing
-------------------------------------
please let me know if something else need to be modified at SCCM 2012 Application management level.
Thanks,
Gc.Hanumareddy