microsoft / MSIX-PackageSupportFramework

The Package Support Framework (PSF) is a kit for applying compatibility fixes to packaged desktop applications.
MIT License
115 stars 57 forks source link

Add new RegLegacyFixups fixup type "FakeDelete" #150

Closed TimMangan closed 4 years ago

TimMangan commented 4 years ago

Added a second type of fixup for RegLegacyFixups.

This type allows specification of registry keys/values for situations where the application attempts to cleanup registry entries that are part of the package. As MSIX does not allow this, by faking the deletion and returning a success code to the application it can shut down. Of course, there is no guarantee that this will solve the problem for the application, but in situations where the app is just doing a little cleanup on shutdown it can prevent application crashes on shutdown.

A great example of such an application is Fiddler (which also needs the ModifyKeyAccess fixup type).