What happens in Inno Setup uninstaller to Registry keys without flags?

Viewed 47

If I have following line in my [Registry] section of my Inno Setup script

Root: "HKLM"; Subkey: "SOFTWARE\MySoftware"; ValueType: string; \
    ValueName: "ApplicationDescription"; ValueData: "My cool software";

what will happen when uninstalling? Do I need to add flags: uninsdeletevalue; if it should be removed on uninstall?

1 Answers

As explicitly written in [Registry] section documentation:

By default, registry keys and values created by Setup are not deleted at uninstall time. If you want the uninstaller to delete keys or values, you must include one of the uninsdelete* flags described below.

Related