Delete File After Install Inno Setup Tutorial
 admin
Inno Setup File Version
Remarks: Use Flags: dontcopy in the Files section to tell Setup to skip the file during the normal file copying stage. When solid compression is enabled, be sure to list your temporary files at (or near) the top of the Files section. In order to extract an arbitrary file in a solid-compressed installation, Setup must first decompress all prior files (to a temporary buffer in memory). This can result in a substantial delay if a number of other files are listed above the specified file in the Files section.