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!
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:
Source: https://habr.com/ru/post/1782773/More articles:Silverlight MouseLeave shows inconsistent behavior - silverlightLong enough time between dispatcher call and execution - c #ΡΡΠΎ ΡΠ°ΠΊΠΎΠ΅ Java API? - javaScroll the DOM tree recursively and remove unnecessary tags? - domWhat is the best way to store date and time in MySQL? - phpLost dates and time zones - javaΡ ΠΎΡΠΎΡΠ°Ρ ΠΏΡΠ°ΠΊΡΠΈΠΊΠ° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ - coding-styleWhat does an empty javascript link mean? - javascriptΠΡΠ±ΠΎΡ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΈ Ρ ΠΎΡΠΊΡΡΡΡΠΌ ΠΈΡΡ ΠΎΠ΄Π½ΡΠΌ ΠΊΠΎΠ΄ΠΎΠΌ Π΄Π»Ρ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ - licensingMSI installer starts auto repair when service starts - windows-installerAll Articles