See the documentation on Setup Script Sections
, particularly the UninstallRun
one at the bottom of the tree:
[UninstallRun]
Filename: "{app}INIT.EXE"; Parameters: "/x"
If you need to do something more complex, you can also do it in code using the Pascal scripting functionality in InnoSetup. See UninstallCodeExample1.iss' in the
InnoSetup 5Examples` folder.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…