MSI prevents registry key recovery

I created an MSI installation through Visual Studio 2008 for my application and added a registry key in Windows \ run to start automatically, but also implemented a function in my application to turn off automatic start. However, when the application restarts, the key is automatically restored.

How to prevent MSI from repairing a key?

Thank!

+3
source share
1 answer

The registry key is restored because it was installed by your package, and the Windows installer knows that it must be present. The following options are possible:

  • , . , Windows.
  • .
+2

Source: https://habr.com/ru/post/1782773/


All Articles