Old 20th February 2010, 20:34   #1
Maxim30
Member
 
Maxim30's Avatar
 
Join Date: Sep 2005
Location: Martinsicuro -Teramo- Italy
Posts: 76
Nsis does not uninstall the Start Menu folder

Hello,
Nsis does not uninstall the Start Menu folder. Here there my code:

!define NomeSpazi "xxx xxx"
Var Cartella_StartMenu
...
!insertmacro MUI_STARTMENU_WRITE_BEGIN MenuAvvio
CreateDirectory "$SMPROGRAMS\$Cartella_StartMenu"
...
!insertmacro MUI_STARTMENU_WRITE_END
...
Section un.
...
!insertmacro MUI_STARTMENU_GETFOLDER MenuAvvio $0
Delete "$SMPROGRAMS\$0\${NomeSpazi}.lnk"
Delete "$SMPROGRAMS\$0\Help.lnk"
Delete "$SMPROGRAMS\$0\Readme.lnk"
RMDir "$SMPROGRAMS\$0"
...
SectionEnd

This code does not remove any shortcuts created.
How to fix it ?

Massimo
Maxim30 is offline   Reply With Quote
Old 20th February 2010, 21:25   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,176
http://lmgtfy.com/?q=nsis+uninstall+shortcut+fails&l=1

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 20th February 2010, 22:40   #3
Maxim30
Member
 
Maxim30's Avatar
 
Join Date: Sep 2005
Location: Martinsicuro -Teramo- Italy
Posts: 76
Fixed , many thanks.

Massimo
Maxim30 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump