Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burn detects the same per-user related bundle twice, once for 32-bit and once for 64-bit #7675

Open
barnson opened this issue Aug 12, 2023 · 0 comments
Assignees
Labels

Comments

@barnson
Copy link
Member

barnson commented Aug 12, 2023

  • Which version of WiX are you building with?

v4.0.1

  • Which version of Visual Studio are you building with (if any)?

n/a

  • Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?

n/a

  • Which version of .NET are you building with?

n/a

  • If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?

11 22H2 (22621)

  • Describe the problem and the steps to reproduce it.

Burn looks for related bundles in both 32-bit and 64-bit registry hives. Per-user bundles are registered in HKCU, which doesn't have separate bitness-based hives, so it detects two bundles:

i102: Detected related bundle: {0E40D468-2E78-4343-8B7C-BA7D78D6EB34}, type: Upgrade, scope: PerUser, version: 5.10.0, cached: Yes
i102: Detected related bundle: {0E40D468-2E78-4343-8B7C-BA7D78D6EB34}, type: Upgrade, scope: PerUser, version: 5.10.0, cached: Yes

and then tries to upgrade "two" bundles:

i207: Planned related bundle: {0E40D468-2E78-4343-8B7C-BA7D78D6EB34}, detect type: Upgrade, default plan type: Upgrade, ba plan type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, default requested restore: ForcePresent, ba requested restore: ForcePresent, restore: Install, dependency: None
i207: Planned related bundle: {0E40D468-2E78-4343-8B7C-BA7D78D6EB34}, detect type: Upgrade, default plan type: Upgrade, ba plan type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, default requested restore: ForcePresent, ba requested restore: ForcePresent, restore: Install, dependency: None

which fails for the "second" bundle:

i301: Applying execute package: {0E40D468-2E78-4343-8B7C-BA7D78D6EB34}, action: Uninstall, path: C:\Users\WDAGUtilityAccount\AppData\Local\Package Cache\{0E40D468-2E78-4343-8B7C-BA7D78D6EB34}\installer.exe, arguments: '"C:\Users\WDAGUtilityAccount\AppData\Local\Package Cache\{0E40D468-2E78-4343-8B7C-BA7D78D6EB34}\installer.exe" -uninstall -burn.related.upgrade -burn.ancestors={266FB26A-15E0-4BC6-9050-6D7278532303}'
e000: Error 0x80070003: CreateProcessW failed with return code: 3
  • Describe the behavior you expected and how it differed from the actual behavior.

Per-user bundles shouldn't have two detection passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants