admin管理员组文章数量:1122846
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
.
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
.
1 Answer
Reset to default 0Add 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.
版权声明:本文标题:uninstallation - QtIFW on Windows: how to invoke uninstaller if user tries to uninstall app - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736304153a1932133.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论