Soroush Rabiei
Soroush Rabiei

Reputation: 10868

Inno setup: uninstall everything installed

I have a iss script that installs a lot of DLLs in {sys} directory. How can I tell inno to delete everything just installed there when uninstalling? It's boring and error prone to explicitly declare "to be deleted" files one by one...

Upvotes: 0

Views: 229

Answers (1)

Miral
Miral

Reputation: 13020

By default Inno will automatically uninstall anything that it installed, unless you have specifically told it not to with specific Flags. So you shouldn't need to do anything explicitly.

Note that there may be special requirements for installing files into {sys} (in particular you should strongly consider using the sharedfile flag), and certain components may require very specific settings to work properly.

Also note that in general you should not install anything to {sys} unless specifically instructed to do so by the vendor of the component in question. (You should never install your own application-private components there, for example.)

Upvotes: 3

Related Questions