I've made a installer script
The install works fine
Uninstall too
However the shortcut created on the desktop is not removed (even on an XP machine)
Here is the uninstall section
Section UninstallWhat can be wrong ?
SetShellVarContext all
Delete "$INSTDIR\uninst.exe"
;Desktop
Delete "$DESKTOP\Kairo.lnk"
;Installation directory
Delete "$INSTDIR\Kairo.url"
Delete "$INSTDIR\Kairo.lnk"
Delete "$INSTDIR\Kairo-website.url"
RMDir /r "$INSTDIR"
;Start Menu
Delete "$SMPROGRAMS\Kairo\Kairo.lnk"
Delete "$SMPROGRAMS\Kairo\Uninstall.lnk"
Delete "$SMPROGRAMS\Kairo\Kairo-website.lnk"
RMDir "$SMPROGRAMS\Kairo"
DeleteRegKey HKLM "Software\Kairo"
${un.registerExtension} ".grb" "Grib_Files"
${un.registerExtension} ".grb2" "Grib2_Files"
SetAutoClose true
SectionEnd
Thanks for any help