View Single Post
Old 4th December 2021, 15:24   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,529
Classic NSIS does not write anything anywhere automatically, you need to save the folder name in the installer. You can save it in a .ini file or in the registry. Restore the variable in your uninstaller.

Ideally you should just have a single shortcut in $SMPROGRAMS. The Microsoft guidelines say you should not create shortcuts to updaters/uninstallers/help etc.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote