I'm building a windows installer for a QT windows application using the QT installer framework. I would like to disable the "Modify" button associated to my application in Windows Apps & Features (application uninstallation).
As far as I understand, the "Modify" button enable/disable status is controlled by the windows registry key "NoModify", located at:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall{GUID}"
The keys and values in this directory are created by the installer.
I've played around with component.addElevatedOperation "GlobalConfig" or component.addOperation "Settings" in my installscript.qs to try to modify the registry but with no success.
Any suggestions?
Thanks in advance