Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/name/install-handler
Simplify software installations on Windows with Rust.
https://github.com/name/install-handler
Last synced: about 18 hours ago
JSON representation
Simplify software installations on Windows with Rust.
- Host: GitHub
- URL: https://github.com/name/install-handler
- Owner: name
- License: gpl-3.0
- Created: 2023-09-15T11:42:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-21T23:02:00.000Z (about 1 year ago)
- Last Synced: 2024-11-12T13:11:46.851Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Windows Installer Handler
This Rust application is designed to simplify the installation of both MSI and executable (EXE) packages on Windows. It accepts the path to the installer package and any installer-specific arguments, allowing you to automate software installations programmatically.
## Usage
To use this installer handler, follow these steps:
1. Compile the Rust code:
```bash
cargo build --release
```2. Run the application with the following command:
```bash
./target/release/installer_handler
```Replace with the path to the installer file (either a .exe or .msi file) and with any additional arguments required for the installation.
Example usage:
```bash
./target/release/installer_handler "C:\Path\to\installer.exe" "/silent /norestart"
```## Features
- Supports both MSI (.msi) and executable (.exe) installer packages.
- Automatically determines the installer type based on the file extension.
- Provides clear error messages for invalid inputs and installation failures.
- Waits for the installer to complete and reports the exit status.## Resources
[Learn more about MSI error codes](https://learn.microsoft.com/en-us/windows/win32/msi/error-codes)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.