I've just recompiled the installer code using NSIS 2.07 instead of 2.05 but for some reason the uninstaller doesn't allow deleting the root install folder.
I don't recall having this error in NSIS 2.05.
I'm using the below code to delete the install folders:
;**************************************************************************************************
;Delete files created upon installation
;**************************************************************************************************
;Delete "$INSTDIR\Icons\*.*"
;Delete "$INSTDIR\Help\*.*"
;Delete "$INSTDIR\*.*"
;**************************************************************************************************
;Delete folders created upon installation
;**************************************************************************************************
RMDir /r "$INSTDIR"
Also in the script I have:
**************************************************************************************************
;Installer default installation folder
;**************************************************************************************************
InstallDir "$PROGRAMFILES\xxx.yyy\zzz www 2006"
What's going wrong? All sub-folders get deleted just not the root install folder.
Thanks.
I don't recall having this error in NSIS 2.05.
I'm using the below code to delete the install folders:
;**************************************************************************************************
;Delete files created upon installation
;**************************************************************************************************
;Delete "$INSTDIR\Icons\*.*"
;Delete "$INSTDIR\Help\*.*"
;Delete "$INSTDIR\*.*"
;**************************************************************************************************
;Delete folders created upon installation
;**************************************************************************************************
RMDir /r "$INSTDIR"
Also in the script I have:
**************************************************************************************************
;Installer default installation folder
;**************************************************************************************************
InstallDir "$PROGRAMFILES\xxx.yyy\zzz www 2006"
What's going wrong? All sub-folders get deleted just not the root install folder.
Thanks.
Comment