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.