Commit 46b42e1
Skip stub inner packages when parsing bundle manifests
Real-world bundles like Microsoft.DesktopAppInstaller include 'stub'
inner packages whose FileName attribute is e.g.
'AppxMetadata\Stub\AppInstaller_x64_stub.msix'. These are metadata-only
placeholders used by the platform for delta servicing — they don't carry
a real block map. Diffing them threw 'Bundle does not contain expected
inner package'.
- BundleManifestParser now normalizes backslash separators and skips
entries under AppxMetadata/.
- New test BundleManifestParser_SkipsStubPackages.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 025f534 commit 46b42e1
3 files changed
Lines changed: 36 additions & 1 deletion
File tree
- MSIXplainer.Core.Tests
- MSIXplainer.Core/Services
- MSIXplainer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
356 | 381 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
65 | 75 | | |
66 | 76 | | |
67 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments