I am writing a software package in C ++, you need to make a link to the uninstaller in the list of installation and removal of programs. I have no idea what the minimum set of parameters in the registry key is and where exactly these parameters should be written - in HKEY_CURRENT_USER or in HKEY_LOCAL-MACHINE - after all, there and there is uninstall. No matter what he wrote by analogy with other installed programs - he could not find his own in the list. Tell me please

  • And what-thread ready type inno setup use? - don Rumata
  • No - there are tweaks to the application package, individual for each user, which can only be made from code, third-party products are not suitable. - Iceman

1 answer 1

Understood himself. If suddenly it will be interesting to anyone how to add your application to the installation and uninstall list - you can write the program name in HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Uninstall \, so that there are no problems with admin rights when writing to HKEY_LOCAL_MACHINE, and as parameters it is enough to specify only two - DisplayName and UninstallString. It is strange that no search query gave me such information.