Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execute a command after uninstall

Tags:

inno-setup

I need my uninstall to run a command after it's removed the files it has installed. [UninstallRun] is no use as I understand it runs BEFORE files are removed. I kind of need a "postuninstall" flag.

Any suggestions as to how I can accomplish the above?

like image 957
eyoopmeduck Avatar asked Sep 13 '11 13:09

eyoopmeduck


1 Answers

See "Uninstall Event Functions" in the documentation. You can use for instance CurUninstallStepChanged when 'CurUninstallStep' is 'usPostUninstall'.

like image 117
Sertac Akyuz Avatar answered Nov 02 '22 23:11

Sertac Akyuz