unvirtualizedResources is unlikely to be approved for Jerico’s terminal scenario because Microsoft documents it as intended for certain desktop PC games and packages with external location, and explicitly says it is not intended for other scenarios.
Capability approval and justification
Disabling desktop6:FileSystemWriteVirtualization and desktop6:RegistryWriteVirtualization would make all package-context writes to AppData and HKCU unvirtualized—not merely writes from user-launched terminal processes. Those writes become visible outside the package and remain after uninstall. Microsoft describes this as a broad, non-fine-grained mechanism that often exceeds an app’s requirements.^1^^2^
Your observed Sandbox behavior is therefore consistent with the documented MSIX behavior. However, technical necessity does not establish Store eligibility, and the documented intended scenarios do not include general developer tools.
If you submit with the capability, use Partner Center → submission → Submission options → Restricted capabilities and include:
- Jerico’s terminal/agent architecture and why child shells inherit package virtualization.
- Exact AppData and HKCU tests demonstrating:
- the command executed;
- virtualized result;
- expected result from a normal terminal;
- result with virtualization disabled.
- Why selective directories/keys cannot solve the problem: terminal users can run arbitrary tools whose storage locations Jerico cannot predict.
- Why redirecting Jerico’s own state is insufficient.
- Security boundaries: commands execute only after user authentication and with the signed-in user’s permissions.
- A short tester procedure, test account, and expected results.
Keep the certification notes concise and ensure any required service and test credentials remain available during review.^3^
If approval is denied, certification fails and the report supplies feedback; you may then submit another package without the capability or address the stated concern.^1^
Finding out before completing the submission
Microsoft documents an advance-approval path for restricted capabilities. It normally runs through the Microsoft account team and is explicitly available to managed partners; the same advance-request method may also be used voluntarily before starting a submission.^1^
If Jerico Appnova does not have an account team:
- In Partner Center, select Help (?) → Contact Support.
- Open a Dev Center support case.
- Provide the reserved product identity, capability, manifest fragment, architecture diagram, test matrix, and the justification above.
- Ask whether the case can be routed for advance restricted-capability review.
Dev Center support is the documented public route for submission and certification assistance, but the available documentation does not guarantee that an ordinary support case will produce a binding pre-approval.^4^
Supported alternatives
1. Selective exclusions do not fit arbitrary terminal tools
Windows 11 supports excluding named AppData directories and HKCU keys from virtualization, but those locations must be declared in advance and still require unvirtualizedResources.^2^ That may work for Jerico-owned locations, but not for arbitrary npm, PowerShell, or third-party developer-tool paths.
No documented MSIX child-process “breakaway” mechanism in the cited platform guidance makes arbitrary processes launched by a packaged terminal behave as unpackaged processes. Moving only the shell launch to another packaged executable would therefore not establish the required behavior.
2. Submit Jerico as an unpackaged MSI/EXE
The clearest supported fallback is an unpackaged Win32 submission using an offline .msi or .exe. Microsoft Store accepts this model; the publisher hosts the installer and the application manages its own updates.^5^
This avoids MSIX file/registry virtualization and is the better fit when normal terminal semantics are fundamental. Trade-offs include losing Store-managed MSIX updates, complimentary Store signing, package flighting, and some identity-dependent integration. MSI/EXE submissions also require the installer and relevant binaries to be signed with a trusted CA certificate.^6^
Packaging with external location is another model that retains package identity while using your existing installer and external binaries. Microsoft specifically lists this as a supported unvirtualizedResources scenario, but it should be evaluated with Store support because the capability remains restricted.^7^
Handling updates while the agent is running
0x80073D02 means package resources are in use. The preferred design is:
- Detect or notify the user that an update is ready.
- Stop accepting new terminal sessions.
- Prompt the user to finish active terminal work.
- Terminate child processes only with explicit consent.
- Save state and shut down the background agent completely.
- Allow installation to proceed.
MSIX does not modify a package while its executables, DLLs, or related resources are in use.^8^
For an in-app Store update experience, use StoreContext to download first, then request installation after the agent exits. The API allows the user to install immediately or defer.^9^
var store = Windows.Services.Store.StoreContext.GetDefault();
var updates = await store.GetAppAndOptionalStorePackageUpdatesAsync();
if (updates.Count > 0)
{
// Quiesce sessions and stop the agent before requesting installation.
var result =
await store.RequestDownloadAndInstallStorePackageUpdatesAsync(updates);
}
If Jerico targets Windows 11 24H2 build 26100 or later, it can declare:
<Properties>
<uap17:UpdateWhileInUse>defer</uap17:UpdateWhileInUse>
</Properties>
This defers the update until the user restarts the app or Windows reboots. It takes precedence over force-shutdown deployment options.^10^ For older systems, implement graceful agent shutdown or let the update retry at a later activation; forced shutdown risks losing active terminal work.
References
- App capability declarations
- Flexible virtualization
- Manage submission options for MSIX apps
- Help and guidance for Windows developers
- How to distribute your Win32 application through Microsoft Store
- Code signing options for Windows app developers
- Grant package identity by packaging with external location
- MSIX troubleshooting guide
- Update Store-published apps from your code
- uap17:UpdateWhileInUse