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

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 15: Line 15:
</highlight-nsis>
</highlight-nsis>


Page author: Julio Chinchilla
Page author: [[User:Julio Chinchilla|Julio Chinchilla]]

Revision as of 12:18, 23 April 2005

The Script

;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

Page author: Julio Chinchilla