I'm building a setup of my app each time I update a feature and like any other app the installer should check if there's already an older version or same directory and uninstall it automatically before installing the current one. This should be done using scrips in the same way a shortcut is created... I tried a solution from this link Workaround for Qt Installer Framework not overwriting existing installation but it didn't work out for me. It kept giving me this message:
Logically we should open maintenance tool when older version are available.