This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uninstall string needed for Safeguard Ver 8

I need the uninstall (for all 3 msi's) string needed for Safeguard Ver 8



This thread was automatically locked due to age.
Parents Reply Children
  • That link is for endpoint, I am looking for safeguard uninstall strings

  • Hello Freebird - This is probably what you need. 

     

    I've just tested this on my own device with client versions listed.

     

    {D3E81C32-7EBC-4733-96BE-5F5A178FF556}, Sophos SafeGuard Client Configuration 8.00.2.13, 8.00.2.13
    {62E54E92-4906-4B21-BFCA-04010831BFBF}, Sophos SafeGuard Client 8.00.0.251, 8.00.0.251
    {840B73E4-F304-4954-8BB2-278F91363E25}, Sophos SafeGuard Preinstall 8.00.0.251, 8.00.0.251

    Used the command string

     

    MsiExec.exe /qn /X{D3E81C32-7EBC-4733-96BE-5F5A178FF556} REBOOT=ReallySuppress ( for the Client config)
    MsiExec.exe /qn /X{62E54E92-4906-4B21-BFCA-04010831BFBF} REBOOT=ReallySuppress (for the Client itself)
    MsiExec.exe /qn /X{840B73E4-F304-4954-8BB2-278F91363E25} REBOOT=ReallySuppress (and finally for the Client pre-install)

     

    Do check which versions you have installed as it may be a different GUID than mine listed.

    You can create the following VBS script (copy and paste this into a notepad doc and rename as "msilist.vbs" and run this from desktop) It'll then list the elements and GUID you need in a file created called msiinfo.txt. This isn't my script but it works well!

    Set fso = CreateObject("Scripting.FileSystemObject")
    Set output = fso.CreateTextFile("msiinfo.txt", True)
    Set installer = CreateObject("WindowsInstaller.Installer")
    On Error Resume Next ' we ignore all errors
    For Each product In installer.ProductsEx("", "", 7)
       productcode = product.ProductCode
       name = product.InstallProperty("ProductName")
       version=product.InstallProperty("VersionString")
       output.writeline (productcode & ", " & name & ", " & version)
    Next
    output.Close