77162466d50daab83862d7d70e62c12aeba29f1a
Four structural defects in the generated Detection.xml caused Intune's upload wizard to silently fail metadata parsing (empty form, OK button greyed): 1. Missing ToolVersion="1.8.6.0" XML attribute on ApplicationInfo — the wizard uses this to validate the package was produced by a compatible tool. 2. Spurious xmlns="http://schemas.microsoft.com/IntuneWin" namespace — changes element identity for Intune's XML parser (reference emits no namespace). 3. <?xml version="1.0" ?> declaration header — reference uses OmitXmlDeclaration=true. 4. Extra <MacAlgorithm> child element inside EncryptionInfo — not present in the reference FileEncryptionInfo model (svrooij/ContentPrep verified). Fix: switched from toprettyxml() to tostring(xml_declaration=False)+indent(), added ToolVersion attribute, removed xmlns and MacAlgorithm. Tests updated to assert the corrected reference format; all 114 pass. Root cause verified against svrooij/ContentPrep Packager.cs + ApplicationInfo.cs (open-source C# reference implementation of IntuneWinAppUtil.exe). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
34 MiB
Releases
1
ImpTune v2.1.0d
Latest
Languages
Python
64.4%
HTML
23.6%
CSS
9.8%
PowerShell
1%
Jinja
0.9%
Other
0.3%