I'm new to NSIS and has been using it from the past one week.
I encountered a problem while installing the software created using NSIS.
As you know $SMPROGRAMS is the variable containing path to StartMenu\All Programs folder.
My code is somewhat like this
CreateDirectory "$SMPROGRAMS\TestProject" CreateShortCut "$SMPROGRAMS\TestProject\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 CreateShortCut "$SMPROGRAMS\TestProject\TestProject.lnk" "$INSTDIR\TestProject.exe" "" "$INSTDIR\TestProject.exe" 0
For example $INSTDIR, by default contains C:\program files, but when the user selects a different path, $INSTDIR will be changed to the selected path.
Regards
Sunil Kumar B M