View Single Post
Old 11th May 2006, 02:57   #2
Major Dude
Comperio's Avatar
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737

CreateShortCut "$SMPROGRAMS\Startup\My Program.lnk" "$INSTDIR\My Program.exe" \
"some command line parameters" "$INSTDIR\My Program.exe" 2 SW_SHOWNORMAL \
ALT|CTRL|SHIFT|F5 "a description"

A Few notes:
  • $SMPROGRRAMS is a constant for the programs folder under the start menu. Default is for the user's start menu. For all users, use SetShellVarContext. Refer to NSIS help for more info
  • The example CreateShortcut command is from the help files. For a complete list of all the options, refer to NSIS help files
Comperio is offline   Reply With Quote