https://github.com/heaths/msigetprop-rs
Sample to get MSI property on any platform
https://github.com/heaths/msigetprop-rs
Last synced: 11 months ago
JSON representation
Sample to get MSI property on any platform
- Host: GitHub
- URL: https://github.com/heaths/msigetprop-rs
- Owner: heaths
- License: mit
- Created: 2022-10-04T17:58:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T18:19:31.000Z (over 2 years ago)
- Last Synced: 2025-01-01T10:16:45.983Z (over 1 year ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MSI Property Getter
This is an example using the [`msi`](https://crates.io/crates/msi) crate to get a property from a Windows Installer package on any platform.
To run the example and retrieve the `ProductCode` by default:
```bash
cargo run --example msigetprop -- package.msi
```
You can get additional info (`-v`) or trace (`-vv`) messages, or get another property value (`-p`). See `--help` for more information:
```bash
cargo run --example msigetprop -- --help
```
## Install
If you would like to install the examples:
```bash
cargo install --path . --examples
```
Make sure `~/.cargo/bin` is in your `PATH` to run examples without specifying the full path to the executable each time.