I am writing an inno setup installer for my app. I want this installer to function both as a full installer and as an update depending on this if my app is already installed.
I was able to create an "update" installation with inno setup that will replace old files if my app is already installed. If not, it will just do a full install.
Problem is with uninstall key in Windows. Inno setup creates one uninstall key for every installation. So if I do an update there will be two uninstall keys for my app. If I disable creation of uninstall keys then the full install will not create it.
Can CreateUninstallRegKey and UpdateUninstallLogAppName be turned off in runtime?