INNO: prohibit "ignore" when file is in use

I am using Inno Setup for an installer for my windows application. If the user has an app when launching the installer (for example to update), the installer will stop when it cannot replace the file in use and it allows the user to choose whether to abort, ignore, or retry.

I would like it to allow Abort or Retry and remove the Ignore option. Does anyone know how this can be done?

Or, if this cannot be done, how can I make the installer break if the application is running?

+3


source to share


1 answer


An easy way to tell if an app is working requires collaboration with the app, so it's best to decide this before submitting your first version. Use Inno Setup setting AppMutex

.
The Inno Setup knowledge base has for configuring a mutex visible across multiple sessions. For more information, see the AppMutex

Inno Setup help file.



+3


source







All Articles