Archive: Eliminate copy of installer


Eliminate copy of installer
Is there a way to prevent the setup.exe from being copied into the install directory?


Well not before the setup is started, but you can always do:

IfFileExists "$INSTDIR\setup.exe" 0 +3
MessageBox MB_OK|MB_ICONSTOP "setup.exe was found in $INSTDIR.$\r$\nIt will be deleted."
Delete "$INSTDIR\setup.exe"


-Stu