Forum Discussion
Yojana0787
Mar 01, 2023Copper Contributor
Error while running msixmgr.exe -unpack cmdlet during MSIX App Attach creation on WindowsServer2019
Hi, I am trying to create MSIX App Attach using the PowerShell cmdlet Windows Server 2019 virtual machine hosted on Hyper-V. I am seeing the attached error while running the cmdlet of expand MSI...
- Mar 11, 2023
The applyacls.dll is part of the msmgr distribution and should be in the same folder as the msmgr.exe.
However, unless some things have changed, I think that you will find that you can't use a dynamic VHD and need to use a fixed one. We typically triple the size of the MSIX file as a guess (as the compression in the MSIX file tends to run about 2.5 to 1), and adjust up if needed.
Aniket_Banerjee
Mar 10, 2023Former Employee
Your screenshot shows "failed to load applyacls.dll".
This error comes when ApplyACLs.dll is not present next to msixmgr.exe. In order for -applyacls argument to work, powershell or cmd should be opened in "Administrator" mode and the "ApplyACLs.dll" should be present next to msixmgr.exe.
Can you confirm if ApplyACLs.dll was next to msixmgr.exe when you tried?