I have a project that includes the .NET 4 runtime prerequisite package. When it starts installing it adds the install package to the registry to be run automatically on reboot: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run ... That makes sense since the .NET 4 requires a reboot and the install package should pickup where it left off.
However, even after everything is installed correctly and completely, the registry key remains. That means every time the system is rebooted, the package runs again. How can I prevent this and/or how can I force that registry key to be removed when installation is complete.
FOLLOW US
Get the latest news in Application Packaging