Reputation: 443
The uninstall doesn't delete all the start menu folder of my project :s Only the shortcut in desktop is delete.
Delete "$SMPROGRAMS\Advanlab\Uninstall.lnk"
Delete "$SMPROGRAMS\Advanlab\Website.lnk"
Delete "$SMPROGRAMS\Advanlab\Advanlab.lnk"
Delete "$DESKTOP\Advanlab.lnk"
All the code in pastebin: http://pastebin.com/h5TURSPx
Thanks for your help
Upvotes: 2
Views: 2442
Reputation: 101606
You need to use requestexecutionlevel
to disable NT6 compatibility stuff: http://nsis.sourceforge.net/Shortcuts_removal_fails_on_Windows_Vista
Upvotes: 2