Uninstaller removes all files from $INSTDIR
Most of the uninstaller problems seems to be related that uninstaller don't remove install directory, but in my case I just want to remove the installed files from install directory, not the ones which were there before the installer was run.
Here is the uninstall section of my script.
Delete "$INSTDIR\Uninstall.exe"
DeleteRegKey HKLM "SOFTWARE\MyApp"
RMDir /r "$SMPROGRAMS\MyApp"
RMDir /r "$INSTDIR\Data"
Problem is that i just want to remove $INSTDIR\Data directory, but uninstaller removes whole $INSTDIR directory.
Data directory contains hundreds of files and subdirectories, so I am not willing to list them all in uninstall section.
Hope that someone has faced similar problem and found a solution for it.