I have created an installer via Visual Studio Installer for a windows form app, that is needed to run at startup.
I am using Visual Studio 2015, and set it up by adding the registry key HKey_Current_User\Software\Microsoft\Windows\CurrentVersion\Run.
Currently it creates a bat file, in the \Start Menu\Programs\Startup, is this correct behavior?
Locally, I have been able to install it and it runs automatically on startup. But on some machines we are having an access is denied issue on startup.
I am not sure if there is something I can do, to prevent this access is denied exception.
Thanks