Deleting Uninstaller
I read in the help file that I should be able to delete the uninstall.exe file from within the uninstaller, but my code does not seem to delete it. Any help would be much appreciated:)
I have pasted in the relevant parts of my script below:
Section "TNM Files" section_1
;Create uninstaller
SetOutPath "$INSTDIR"
WriteUninstaller "Uninstall_TNM.exe"
SectionEnd
Section "Uninstall"
;remove uninstaller
Delete "$INSTDIR\Uninstall_TNM.exe"
SectionEnd