rust-msi icon indicating copy to clipboard operation
rust-msi copied to clipboard

Malformed values

Open russellbanks opened this issue 2 years ago • 1 comments

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

russellbanks avatar Feb 28 '24 17:02 russellbanks

  • https://github.com/mdsteele/rust-msi/pull/18

vedantmgoyal9 avatar Feb 28 '24 18:02 vedantmgoyal9

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

Landay7 avatar Feb 29 '24 20:02 Landay7