[Interest] QtIFW Multiple entries in Apps & features
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@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] QtIFW Multiple entries in Apps & features
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 : > > 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@qt-project.org > https://lists.qt-project.org/listinfo/interest ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] QtIFW Multiple entries in Apps & features
Great, thanks a lot! That patch seems to explain it all. I'll try setting the ProductUUID key. Harald fre. 12. apr. 2019, 20:02 skrev Elvis Stansvik : > 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.vist...@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@qt-project.org > > https://lists.qt-project.org/listinfo/interest > ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest