Oct 19 2021 04:12 AM
Hi. I've a question that relates to both optional packages and modification packages.
I have created a "related set" consisting of an .msixbundle (the main package) and an .msix (the optional package). These packages are for sideloading, not for the Microsoft Store. Each package contains standalone executable applications.
I have also created a modification package that adds additional files (specifically, configuration files) to the virtualised filesystem of the main package.
The issue I have is that I want the applications that are part of the optional package to run in the same virtualized context as the main package. Meaning that:
- they would see the same virtualized filesystem;
- they would see the same virtualized registry;
- the modifications made by the modification package would take effect also for the applications in the optional package (so installing the modification package would provide configuration both to the apps in the main package and to the apps in the optional package).
However, the observed behaviour is that the apps in the optional package have a separate virtualized filesystem from those in the main app. Is there a way to change this so that they see the same virtualized resources?
I've also asked a couple of questions about this on Stack Overflow:
Oct 19 2021 07:00 AM
The plot thickens...
I just did some experimentation with running Regedit.exe via Invoke-CommandInDesktopPackage. I was expecting that the two apps would appear to have separate virtualized registries, as with the VFS. But in fact it seems as though they are sharing a virtualized registry. We may be able to switch to using the registry for config instead of configuration files.
Oct 19 2021 08:25 AM