3
votes

I have an installer (NSIS) that creates shortcuts in start menu. When I remove the program uninstall removes the folder from:

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\

unfortunately the folder is still in start menu. Maybe it's just a matter of refreshing the start menu - but how to do it from NSIS uninstaller?

2

2 Answers

7
votes

Win7 is probably doing the same as Vista, and copies/moves the shortcuts to the all users start menu without telling you. Stop this by using RequestExecutionLevel in your script.

See http://nsis.sourceforge.net/Shortcuts_removal_fails_on_Windows_Vista

0
votes

I don't have a copy of Windows 7 so I couldn't say for sure, but have you confirmed the folder you removed is the actual one from the start menu (I'm assuming it is since you created it initially).

You could go to the folder in the start menu, right-click, and open it.

Could be a dumb suggestion though. :)