Kaseya Community

Custom Install - Uninstall String Formatting

This question is answered

I can't figure out the format of the uninstall string for a custom installer.

I am trying to use the uninstall string found for the app in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall)

In this case %windir%\System32\msiexec.exe /X{B611B858-9363-42FC-AE47-3430D54CCE1B}

I've tried a number of combinations in the uninstall string and command line arguments fields, but nothing works.

The edit either doesn't save (so I guess isn't accepted), or if I try to uninstall the app, I get "To uninstall Forticlient, an uninstall string must be provided ]"

Any help, advice, examples appreciated.

Verified Answer
  • It seems a fix has been implemented in the new version 9.3.0.19

    Software Deployment and Update

    Fixed an issue with the Software Deployment > Windows Installer > Uninstall String field data not being saved. (PT-171/SDP-1395)

All Replies
  • I just noticed the same problem.  This is a BUG.

    Older customer installers just have a path to an uninstaller.exe in the uninstall string.

    But with new customer installers I can't seem to save the uninstall string.

    what kaseya verison are you running?

  • Would a WMIC command work in your situation to call the uninstall?

    For example:

    Find the exact name of product to be uninstalled...

    C:\wmic product get name     <- this may take a few minuted to run

    Then call the uninstall...

    C:\wmic product where name="application name" call uninstall

    I hope this helps.

  • It seems a fix has been implemented in the new version 9.3.0.19

    Software Deployment and Update

    Fixed an issue with the Software Deployment > Windows Installer > Uninstall String field data not being saved. (PT-171/SDP-1395)

  • Thanks Erwin, yes, it is now working with 9.3.0.19.

    Thanks for your help.