Problem with programmatic component de-selection

Comments

1 comment

  • Avatar
    wojciechka

    The project above seems to work fine and disable the MY_PROG component as well as disable editing it.

    Your project has <allowAddRemoveComponents> option enabled. Is it possible that you are selecting directory that already has the application installed?

    In this case, if the MY_PROG component was already installed, it will always be shown as selected - as the status of current installation forces the component to be selected and non-editable since the installer is not able to remove already existing components - this has to be done using the uninstaller.

    Can you verify if the project above works properly when selecting an empty or non-existant directory?

Please sign in to leave a comment.