Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable the components exist warning?

Tags:

inno-setup

So I've made a setup with a lot of components, and I'm updating this setup quite often, so my users has to redownload a new version and always encounter this annoying notification window: Like, enter image description here

It's ok as long as it's small, but when I have a very long list of components, and I have it often, then this window is simply too hight, and cannot be moved or even closed if someone has a low screen resolution. There is a huge problem with this.

My question is simple: how to disable this window, or make it not sticking out of the windows desktop area?

like image 218
Jerry Zoden Avatar asked Feb 04 '14 12:02

Jerry Zoden


1 Answers

You must include the disablenouninstallwarning flag for all your [Components] section entries to disable this warning globally. For example:

[Components]
Name: "app"; Description: "App"; Types: full; Flags: disablenouninstallwarning
Name: "help"; Description: "Help"; Types: full; Flags: disablenouninstallwarning
like image 115
TLama Avatar answered Oct 04 '22 22:10

TLama