1 2 3 4 5 6 7 8 9 10 11 12 13
use msi_extract::{Error, MsiExtractor}; fn main() -> Result<(), Error> { let path = "sample/lib.msi"; // let file = File::open(path)?; let mut x = MsiExtractor::from_path(path)?; // let mut x = MsiExtractor::from_reader(file)?; x.to("sample/out"); Ok(()) }