Runing a .exe file on Windows Start: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
== The Script ==
#redirect [[Running_a_.exe_file_on_Windows_Start]]
<highlight-nsis>
;Runing 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 Runing as Windows Start"
SectionEnd
</highlight-nsis>
 
Page author: [[User:Julio Chinchilla|Julio Chinchilla]]

Latest revision as of 23:48, 4 August 2007