!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
Page instfiles "" showInstFiles
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
Function showInstFiles
!insertmacro MUI_HEADER_TEXT "Installing Application" "Please wait.."
titprog::Start //titprog is the plugin
FunctionEnd
/* rest of the sections here */ Custom Install Page
I'm using a custom install page and I need to put a cancel button on that page and triggering that button the installation ends and rollback all changes it has done so far.. here is my script sample.