Closed kartikdutt-msft closed 8 months ago
Windows version: Latest Canary: 25987 win32-app-iso: version: 0.1.1 MSIX Packaging Tool v1.2023.517.0
Download node from node.js official site (https://nodejs.org/en/download)
Create an MSIX package from msi installer.
Try editting package with steps mentioned in the doc i.e.
Add uap10:TrustLevel="appContainer" reviewsecurity2:RuntimeBehavior="appSilo" in Application.
uap10:TrustLevel="appContainer" reviewsecurity2:RuntimeBehavior="appSilo"
Add xmlns:previewsecurity2="http://schemas.microsoft.com/appx/manifest/preview/windows10/security/2" in Package and previewsecurity2 in ignoreNamespaces.
Update minVersion (max Version higher than min to run on latest canary)
Manifest: <?xml version="1.0" encoding="utf-8"?> <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:previewsecurity2="http://schemas.microsoft.com/appx/manifest/preview/windows10/security/2" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:desktop7="http://schemas.microsoft.com/appx/manifest/desktop/windows10/7" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="previewsecurity2 uap uap10 desktop7 rescap">
Results in Parsing Error:
The Appx package's manifest is invalid. (Exception from HRESULT: 0x80080204)```
Version
Windows version: Latest Canary: 25987 win32-app-iso: version: 0.1.1 MSIX Packaging Tool v1.2023.517.0
Repro Steps
Download node from node.js official site (https://nodejs.org/en/download)
Create an MSIX package from msi installer.
Try editting package with steps mentioned in the doc i.e.
Add
uap10:TrustLevel="appContainer" reviewsecurity2:RuntimeBehavior="appSilo"
in Application.Add xmlns:previewsecurity2="http://schemas.microsoft.com/appx/manifest/preview/windows10/security/2" in Package and previewsecurity2 in ignoreNamespaces.
Update minVersion (max Version higher than min to run on latest canary)
Manifest: <?xml version="1.0" encoding="utf-8"?> <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:previewsecurity2="http://schemas.microsoft.com/appx/manifest/preview/windows10/security/2" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:desktop7="http://schemas.microsoft.com/appx/manifest/desktop/windows10/7" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="previewsecurity2 uap uap10 desktop7 rescap">
Unexpected Results
Results in Parsing Error: