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.
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.
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
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