We are using the maven nsis plugin to create an installer for an Eclipse RCP based application, which works great. But the uninstaller does not delete all directories. I have analyzed the generated setup.nsi file and seen that some directories are missing. And due to the missing /R option for rmdir these directories will survive the uninstall process. This is an example:
RMDir /REBOOTOK "$INSTDIR\plugins\plugin-name-126.96.36.199-SNAPSHOT\lib"
RMDir /REBOOTOK "$INSTDIR\plugins\plugin-name-188.8.131.52-SNAPSHOT\META-INF"
RMDir /REBOOTOK "$INSTDIR\plugins"
As you can see, there is RMDir /REBOOTOK "$INSTDIR\plugins\plugin-name-184.108.40.206-SNAPSHOT missing.