Runing a .exe file on Windows Start: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Added category links.) |
m (Adding new author and category links.) |
||
Line 1: | Line 1: | ||
{{PageAuthor|Julio Chinchilla}} | |||
== The Script == | == The Script == | ||
<highlight-nsis> | <highlight-nsis> | ||
Line 19: | Line 17: | ||
</highlight-nsis> | </highlight-nsis> | ||
[[ | [[Category:Code Examples]] |
Revision as of 13:45, 24 June 2005
Author: Julio Chinchilla (talk, contrib) |
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