Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 31st December 2010, 14:28   #1
HeReSY
Junior Member
 
Join Date: Sep 2010
Posts: 8
Uninstaller didn't delete Directories

Hi,

i created an installer with an uninstaller.
The installtion there is no Problem, but when i want to uninstall the application the uninstaller didn't delete the complete installtion directory.

code:
InstallDir $PROGRAMFILES\Company\AppName

After uninstall the AppName folder is deletet, but not the Company folder.

Then i create the same directory structure in the startmenu.
code:

var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "GIRA-SOFTWARE\TKS-Communicator"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP



In the uninstaller section i want to delete this folder with
code:
RMDir /r "$SMPROGRAMS\$ICONS_GROUP"


After uninstalltion the directory isn't delete.

Can someone point me in the right direction, how to delete those folders.

My OS is Windows Vista 64 Service Pack 2
HeReSY is offline   Reply With Quote
Old 31st December 2010, 14:47   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,167
Send a message via ICQ to Yathosho
try SetShellVarContext
Yathosho is offline   Reply With Quote
Old 31st December 2010, 14:54   #3
HeReSY
Junior Member
 
Join Date: Sep 2010
Posts: 8
Thanks,

but now i have the same result as with the installation folder. AppName folder is deleted but not the company folder.
HeReSY is offline   Reply With Quote
Old 31st December 2010, 15:24   #4
HeReSY
Junior Member
 
Join Date: Sep 2010
Posts: 8
Thanks,

but now i have the same result as with the installation folder. AppName folder is deleted but not the company folder.
HeReSY is offline   Reply With Quote
Reply
Go Back   Winamp 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