[Interest] QtIFW Multiple entries in Apps & features

Elvis Stansvik elvstone at gmail.com
Fri Apr 12 20:02:06 CEST 2019


I cannot find anything about it in the config docs at
https://doc.qt.io/qtinstallerframework/ifw-globalconfig.html

But looking at the patch that added a UUID to the registry uninstall
key (https://codereview.qt-project.org/#/c/104183/2//ALL), it seems it
checks for a "ProductUUID" config key, so try setting that to an fixed
UUID.

Disclaimer: Haven't tested this and haven't used QtIFW :)

Elvis

Den fre 12 apr. 2019 kl 15:37 skrev Harald Vistnes <harald.vistnes at gmail.com>:
>
> Hi,
>
> I am using QtIFW for installing my application. In the Apps & features page in Settings on Windows, my application is listed multiple times. I usually install new versions without first removing the old version.
>
> In regedit I've found the corresponding entries for my application in Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall, each time with a different GUID.
>
> I guess I have set some setting in the QtIFW configuration files incorrectly to cause this behaviour, but I'm not sure what it is. Can anyone point me in the right direction? Why does the application get a new GUID each time? Can one enforce the GUID to remain the same, so that the entry in Apps & features is updated instead of adding new ones? Or can one at least remove old entries when installing?
>
> Thanks,
> Harald
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list