VicGar
Posts: 5
Joined: Thu Jan 02, 2025 11:47 am

MSIX File Redirection crashes on Windows 11 24H2

Hello.

After installing an MSIX package using

PS> Add-AppProvisionedPackage -online -packagepath "MyApp.MSIX" -skiplicense

... application wokrs ok on a Win11 10.0.22631 computer but fails on a Win11 10.0.26100 computer.

The error appears when executing Import-Module ..... (powershell sentence inside the app.) at FileRedirectionFixup64.dll with AccessViolationException at MapUrlToZone function.

MSIX was built using Advance Installer Version 22.6 (829E43A9)

Attached file Crash_evtx_.7z contains records to import into Event Viewer with error details.

Is there any Advance Installer update that corrects this error?

Thanks in advance.

Vicente.
Attachments
Crash_evtx_.7z
(4.64 KiB) Downloaded 39 times
Daniel
Posts: 8274
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MSIX File Redirection crashes on Windows 11 24H2

Hi Vicente,

It seems the attached .7z archive on our forums is password protected.

Can you please share with us by email at support at advancedinstaller dot com your archive password so we can double check the logged events?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8274
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MSIX File Redirection crashes on Windows 11 24H2

Hi Vicente,

I am following up here as agreed with the workaround solution we found for this issue.

After further troubleshooting on this we were unable to find out the root cause of the file redirection issue. There seems to be a crash generated by the Microsoft's Package Support Framework SDK itself, but we really could not identify the exact cause that generates the file redirection module crash.

As a workaround solution we were able to avoid this file redirection crash by making use of the "InstalledLocationVirtualization" flag into your setup project.

To implement the workaround you should proceed like this:

1. go to "Declarations" page of your setup project

2. right click on "Package Declarations" item and use the "Add Package Declaration -> Installed Location Virtualization" context menu option

3. save and rebuild your setup project
screenshot.png
screenshot.png (98.03 KiB) Viewed 96 times
Hope this will help other customers facing the same issue in the future.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”