I'm using Inno Setup for the installer and I was using this line: Name: "\AppNameHere. The Current Users Startup folder in Windows is. and set the value to the path of the new shell e.g C:your prgm diryourprogram.exe. 1 Place Program shortcut in Startup folder The simplest way would be to place a shortcut of the Program in the Windows Startup folder. 3) add a new string value (Edit > New > String Value) called shell. 2) go to: HKEYCURRENTUSERSoftwareMicrosoftWindows NTCurrentVersionWinlogon. ![]() ![]() ![]() I've got it working with a shortcut in the startup folder with parameters but I was wondering if there is some way to set a registry key that can start my program and pass it parameters like a shortcut would? 1) open regedit (start menu > run, and type in regedit). I am trying to have my application automatically launch and run the log-in logic when Windows starts up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |