shell startup.nsh code example
Example 1: Shell:startup nsis
Delete "$SMPROGRAMS\Startup\${MUI_PRODUCT}.lnk"
Example 2: Shell:startup nsis
CreateShortCut "$SMPROGRAMS\Startup\${MUI_PRODUCT}.lnk" "$INSTDIR\${MUI_FILE}.exe" ""
Delete "$SMPROGRAMS\Startup\${MUI_PRODUCT}.lnk"
CreateShortCut "$SMPROGRAMS\Startup\${MUI_PRODUCT}.lnk" "$INSTDIR\${MUI_FILE}.exe" ""