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

Various fixes for application compatibility #132

Closed TimMangan closed 4 years ago

TimMangan commented 4 years ago

This PR has three major areas of changes. Most are addressing issues found in specific applications that were recently tested. A) Changes to PsfLauncher:

B) Changes to FileRedirectionFixup:

C) Changes to Tracing/Logging:

dhoehna commented 4 years ago

Yo. About scripts. It came to my attention that the scripts run outside of the container when PSF is built using release mode. I modified the code to make the attribute list closer to CreateProcess. Now Powershell should always launch inside the container.

You mention changes to help with scripts but I don't see it in your changes. Are there any code changes related to scripts?

TimMangan commented 4 years ago

Yo. About scripts. It came to my attention that the scripts run outside of the container when PSF is built using release mode. I modified the code to make the attribute list closer to CreateProcess. Now Powershell should always launch inside the container. You mention changes to help with scripts but I don't see it in your changes. Are there any code changes related to scripts?

I did not attempt to solve the out of container issue. Unfortunately I included the script item in the PR description, but this is not included until the next PR. That PR will add the pseudo-environment variables to allow the script to reference files inside of the package under a %MsixPackageRoot% pseudo-variable.

dhoehna commented 4 years ago

I see. So, this PR has everything in it?

TimMangan commented 4 years ago

I see. So, this PR has everything in it?

Everything in the PR description above except for the note about scripting is in this PR. THe scripting change, plus another 4 or 5 edge case fixes for certain API calls, will be in a follow-on PR once this one clears.