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.) |
m (Updated author links.) |
||
Line 1: | Line 1: | ||
{|align=right | |||
|<small>Author: [[{{ns:2}}:Julio Chinchilla|Julio Chinchilla]] ([[{{ns:3}}:Julio Chinchilla|talk]], [[{{ns:-1}}:Contributions/Julio Chinchilla|contrib]])</small> | |||
|} | |||
<br style="clear:both;"> | |||
== The Script == | == The Script == | ||
<highlight-nsis> | <highlight-nsis> | ||
Line 14: | Line 18: | ||
SectionEnd | SectionEnd | ||
</highlight-nsis> | </highlight-nsis> | ||
Revision as of 03:03, 30 April 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