Skip to content
⌘ NSIS Forum Archive

cannot delete folders with dot in name

2 posts

Saurman#

cannot delete folders with dot in name

I have this code
...
InstallDir "$PROGRAMFILES\SimplyScreensavers.com\Halloween Scenic Reflections"
...

Section Uninstall
...
SetShellVarContext all
RMDir /r "$SMPROGRAMS\SimplyScreensavers.com"
RMDir /r "$INSTDIR"
...
SectionEnd
Both folders with child folders are not removed after uninstallation
kichik#
The first one is probably:



The second one is probably because you've placed the uninstaller in a directory different than $INSTDIR in the installer code. The uninstaller takes $INSTDIR from the directory it's located.