$SMPROGRAMS not in correct place??
Hey, I'm new to nsis, and I've been having an issue that I'm not sure how to elegantly resolve.
After install I'm creating a shortcut to our application via:
createShortCut '$SMPROGRAMS\Company\Game.lnk' '$INSTDIR\Game.exe'
Taking a quick look at the value of $SMPROGRAMS, I see the following:
C:\Users\david.DOMAIN\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
However, this isn't where the shortcut gets created. It actually is sitting in the hidden folder:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Company
So now my question comes on uninstallation. If I use the same syntax, ie:
Delete '$SMPROGRAMS\Company\*'
RMDir '$SMPROGRAMS\Company'
The startmenu-program files entry doesn't actually get cleared out. The only way for me to get around this, right now, is to literally enter the location of the shortcut and the shortcut's folder...