Detecting unextracted .exe file while extracting consecutive .exe files to the same location

Comments

1 comment

  • Avatar
    wojciechka

    Can you provide more details on the situation? Usually installers should not unpack the same file multiple times.

    When overwriting, each time the file fails to be overwritten, then the retry/abort/ignore dialog will be shown. However, if an overwrite operation succeeds, no information will be shown to the user.

    If you need to handle the case where some files will be overwritten - i.e. if this happens in combination of specific components being selected, or based on parameters specified by users - you can show a warning. This can be done for example from <componentSelectionValidatoinActionList>, as an action in <readyToInstallActionList> or as a separate page.

    For example:

    <labelParameter> <name>invalid_component_combination</name> <title>Invalid component combination</title> <description>The selected components may conflict, which may cause the installation not to be valid.</description> <explanation></explanation> <image></image> <ruleList> <componentTest> <logic>selected</logic> <name>a</name> </componentTest> <componentTest> <logic>selected</logic> <name>b</name> </componentTest> <componentTest> <logic>selected</logic> <name>c</name> </componentTest> </ruleList> </labelParameter>

Please sign in to leave a comment.