mdsteele / rust-msi

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

Malformed values #22

Open russellbanks opened 8 months ago

russellbanks commented 8 months ago

To reproduce:

let mut msi = msi::open(r"path\to\AXISCameraStationSetup.msi")?;
for row in msi.select_rows(Select::table("Property"))? {
    println!(
        "{property:?}: {value:?}",
        property = row[0].as_str().unwrap_or_default(),
        value = row[1].as_str().unwrap_or_default()
    );
}

This results in lots of malformed values such as the below:

"UpgradeCode": "\\leveltext\\'02\\'07.;}{\\levelnumbers\\'0"
"in1440": "&Next"
" }{\\list": "Cancel"
"level": "&Yes"
"\\lev": "&No"

MSI in Orca: image

MSI Direct Download

vedantmgoyal9 commented 8 months ago
Landay7 commented 8 months ago

This is the same problem, that I fix at #18