0

On Windows, if you right-click > Uninstall an app, by default it opens the Settings app on Apps > Installed Apps. However for many apps, it will start a custom uninstaller instead.

For an app installed using the Qt Installer Framework (QtIFW) you also get an installer (e.g. MaintenanceTool.exe). This can be executed in uninstaller mode using the --start-uninstaller command line option.

How do I link the two?

In other words, if a user tries to directly uninstall my app, I want it to invoke C:\Program Files\MyApp\MaintenanceTool.exe --start-uninstaller.

2
  • 1
    It's a known issue: bugreports.qt.io/browse/QTIFW-3330 Commented Jan 16 at 0:25
  • Thanks @glennr I didn't realise it was supposed to be part of the functionality. Good to know. I've added a vote FWIW and I'll sit tight. Commented Jan 17 at 14:35

1 Answer 1

0

Add your registry info here. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MaintenanceTool (The name is optional.)

You'll need to provide: UninstallString (Your command for uninstallation, if I'm correct.) InstallLocation (The folder or directory where the person installed their app.)

I don't really have a lot of experience on this kind of thing, so I assume this is the correct answer based on my knowledge.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.