Forum Discussion
jansvensenDT
Mar 18, 2021Copper Contributor
MSIX AppAttach - Register App - Administrative rights needed
Hi everyone, i am trying to register applications via PowerShell on a per user basis. Staging as admin works fine. Registering per user fails with the following message: Add-AppxPackage : Depl...
- Mar 19, 2021Your use of the word "staging" makes me think that this is an MSIX App Attach Scenario. As Google Chrome normally includes a service to perform updates, this is likely the cause.
Under MSIX, such an updater is unable to update the contents within the package anyway, and I would normally want to disable the the service for App-V packaging. Although services work in MSIX outside of App Attach, they are currently an issue with App Attach due to the need for elevation.
My advice would be to remove the service for this particular app from the package when packaging under MSIX with or without App Attach.
Mar 19, 2021
Your use of the word "staging" makes me think that this is an MSIX App Attach Scenario. As Google Chrome normally includes a service to perform updates, this is likely the cause.
Under MSIX, such an updater is unable to update the contents within the package anyway, and I would normally want to disable the the service for App-V packaging. Although services work in MSIX outside of App Attach, they are currently an issue with App Attach due to the need for elevation.
My advice would be to remove the service for this particular app from the package when packaging under MSIX with or without App Attach.
Under MSIX, such an updater is unable to update the contents within the package anyway, and I would normally want to disable the the service for App-V packaging. Although services work in MSIX outside of App Attach, they are currently an issue with App Attach due to the need for elevation.
My advice would be to remove the service for this particular app from the package when packaging under MSIX with or without App Attach.
jansvensenDT
Mar 19, 2021Copper Contributor
Hi Timothy,
thank you for reading through my not to clearly described post!
You are very right. I am trying to use MSIX App Attach in my WVD environment. The VHDs i am trying to attach have been downloaded from MS. Scripts and procedure are according to this blogpost: https://wvdlogix.net/containerize-applications
I'll definitely look for any services in those packages. Very good point. Thank you! I'll post an update here.
thank you for reading through my not to clearly described post!
You are very right. I am trying to use MSIX App Attach in my WVD environment. The VHDs i am trying to attach have been downloaded from MS. Scripts and procedure are according to this blogpost: https://wvdlogix.net/containerize-applications
I'll definitely look for any services in those packages. Very good point. Thank you! I'll post an update here.
- jansvensenDTMar 22, 2021Copper ContributorHi again,
Timothy, you were absolutely right. I created new packages without services and everything is working fine now.
Thanks heaps!