mdsteele / rust-msi

Rust library for reading/writing Windows Installer (MSI) files
MIT License
58 stars 11 forks source link

missing FormattedSDDLText #11

Closed oldoldman closed 2 years ago

oldoldman commented 2 years ago

I'm trying to open the blank template Schema.msi from MSI SDK, Package::open panic with Invalid category: FormattedSDDLTexterror. From this doc it seems FormattedSDDLText is an officially supported data type. Maybe it is missed from rust-msi ? I have compared the Category enum with the official doc, found the following differences

rust-msi            official doc
---------------------------------------
missed              FormattedSDDLText
missed              Time/Date
KeyFormatted        missed
Url                 missed
---------------------------------------
mdsteele commented 2 years ago

Should be easy enough to add FormattedSDDLText and Time/Date. Can you link to the Schema.msi file you're using (or just post the file here) so I can test it out?

oldoldman commented 2 years ago

this is the file I'm trying to open with Schema.zip , or you can check this link for more. Thank you for maintaining this project!

mdsteele commented 2 years ago

Thanks! With the above commit I just pushed (bba603e), reading that Schema.msi file seems to work fine now.