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

Make engine skip planning if there are any downgrade related bundles #140

Merged
merged 3 commits into from
Mar 14, 2022

Conversation

rseanhall
Copy link
Contributor

@rseanhall rseanhall commented Mar 14, 2022

Comment on lines +1361 to +1362
if (BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_DOWNGRADE == pRelatedBundle->planRelationType &&
pRelatedBundle->fPlannable && !fUninstalling && BOOTSTRAPPER_RELATION_UPGRADE != relationType)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure which way to go here. If the related bundle isn't plannable (registered in ARP, but missing from the package cache so it can't be run), should it block the current bundle from downgrading it?

Comment on lines +1075 to +1078
if (m_fSuppressDowngradeFailure)
{
*phrStatus = S_OK;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be a feature in the engine instead of wixstdba.

@rseanhall rseanhall merged commit 9453eaa into wixtoolset:develop Mar 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wixstdba downgrade hangs Missing tests for Burn integration test bundles
1 participant