I am working on an updater. Once the download is done, the updater is automatically launched, then overwrite some files and finally delete itself (using the SelfDel plug-in)
This works well.
Function .onInstSuccess
SelfDel::del
FunctionEnd
However the updater is not deleted in the following case.
At the very beginning of the updater, the user can choose language:
If the user press "cancel" in the window that appear to choose the language, the updater exit and the updater file is not deleted.Function .onInit
;display multilanguage list
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
How can I deal with this case?
Thanks in advance