Code: Select all
DEFINE REGION: Perform Uninstallation
if Variable REMOVE equals TRUE
Delete Files $TARGETDIR$\\myFile1.txt (when uninstalling)
Delete Files $TARGETDIR$\\myFile2.txt (when uninstalling)
Apply Uninstall (get result into variable SUCCESS)
Set Variable PROGRESS to 100
else
.......