We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
Running a .exe file on Windows Start
From NSIS Wiki
Jump to navigationJump to search
| Author: Julio Chinchilla (talk, contrib) |
Of Note
Technically, This method will execute immediately after the user login and will run using the security context of the user.
The Script
;Running a .exe file on Windows Start !include "MUI.nsh" Name "START WINDOWS" OutFile "STRWIN.exe" !insertmacro MUI_LANGUAGE "Spanish" Section WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Run" \ "Notepad" "$WinDir\Notepad.exe" MessageBox MB_OK "The Notepad Running as Windows Start" SectionEnd