-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow upgrades in packages that register a different installer type #1796
Conversation
Another test case for this is iTunes, it packages a msi inside a exe. If you add this ARP entry:
to the manifest, it works great!
|
This addresses at least one version of Adobe Acrobat, and PowerToys (@crutkas). |
@@ -210,6 +210,21 @@ namespace | |||
PackageMatchFilter(PackageMatchField::Id, MatchType::Exact, "AppInstallerCliTest.TestExeInstaller"))); | |||
} | |||
|
|||
if (input == "TestExeInstallerWithDifferentInstalledType") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of how long this function is getting. Many tests seem to use only a single case of all this and most are used in a single test, so we probably could add a constructor that took the manifests and always returned that. It would also put the search results closer to where it's used. Putting this here to see what others think of doing that..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, making it easy to create specific new cases rather than extending this would be good.
@@ -210,6 +210,21 @@ namespace | |||
PackageMatchFilter(PackageMatchField::Id, MatchType::Exact, "AppInstallerCliTest.TestExeInstaller"))); | |||
} | |||
|
|||
if (input == "TestExeInstallerWithDifferentInstalledType") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, making it easy to create specific new cases rather than extending this would be good.
InstalledTypeComparator
to also consider the installer types listed underAppsAndFeaturesEntries
ExplainInapplicable
to also mention the installed type and other types accepted by the manifest.Closes #1242. Validated that upgrading PowerToys (mentioned in that issue) worked correctly using a local manifest edited to include the
AppsAndFeaturesEntries
and installed typemsi
.Microsoft Reviewers: Open in CodeFlow