I'm using a MUI macro to define a function which is executed when the user press cancel:
!define MUI_CUSTOMFUNCTION_ABORT abortFunction In that function I want to delete the installation Folder because I copy some files in a previous custom dialog:Function abortFunction
MessageBox MB_OK "Called"
RmDir /r /REBOOTOK $INSTDIR
FunctionEnd After the installer has been closed the files are all deleted, but the directories still exists. The OutPath isn't set "SetOutPath)Thanks!