Skip to content

Prevent users installing to an existing directory even if they acknowledge the danger #78

@lazka

Description

@lazka

If installing to an existing install it shows:

image

But if installing to an existing random directory it shows:

image

While there is a warning, I doubt there is a valid reason for anyone to click "Yes" there. The chance of the user not reading the message and a future uninstall deleting unrelated files is just too big.

The qt installer doesn't have a setting to make this stricter sadly: https://github.com/qtproject/installer-framework/blob/047bb926705b8fa290d2a276ab0869b2afaa96f9/src/libs/installer/packagemanagercore.cpp#L1134

But we could look into if we can abort the installer after that even if the user selected yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions