Important: Please read the Qt Code of Conduct -

Custom Maintenance Tool

  • In my installer, I used "Execute" operation for installing a software package (i.e.: msiexec /i "xxx.msi" /quiet). I want to uninstall this package on the Maintenance Tool with something like this: ***msiexec /x "xxx.msi"***, but I don’t know how to custom or how to add a script to the Maintenance Tool.

    So, how can one add a script to the Maintenance Tool?

    Thank you in advance for your answers.

  • You can use "UNDOEXECUTE". For example: component.addOperation("Execute", "msiexec", "/i", "xxx.msi", "/quiet", "UNDOEXECUTE", "msiexec", "/x", "xxx.msi");