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

DynamicRegistryFixup with 32 and 64 bit dlls of same name #177

Closed TimMangan closed 2 years ago

TimMangan commented 3 years ago

We saw an issue in packaging up RStudio and using this fixup. The installer adds multiple copies of bit-specific dlls in different foldlers with the same name, and then chooses the folder on the basis of the running process, which might be either bitness depending on how the app was launched.

This fixup should add an optional field for the bitness of the dll in the config, and then check the bitness of the calling process when load library is called.

TimMangan commented 2 years ago

This was resolved in the TimMangan fork with an additional configuration for the DynamicLibraryFixup.