Skip to content

Package with other dependants is not uninstalled despite BA request to force uninstall it #8962

Open
wixtoolset/wix
#609
@nirbar

Description

@nirbar

WiX Version

4+

.NET or MSBuild or Visual Studio Version

n/a

HeatWave Version

n/a

Windows Version

n/a

Repro Repo

No response

Repro Steps

  1. Create a bundle that installs an optional bundle package
  2. Install the bundle, opt out to install the optional package
  3. Install the optional package standalone (not from the bundle)
  4. Uninstall the bundle, and set package plan request state to force-absent from BA

Actual Result

The optional package is not uninstalled.
Log says:

Will not uninstall package: TEST, found dependents:

Expected Result

The optional package is uninstalled, with a log message saying something like

Ignoring existing dependencies for package TEST because BA asked to force-reboot the package

Acknowledgements

  • I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions