https://github.com/robertcoltheart/deploy
A fluent builder for MSI installation packages.
https://github.com/robertcoltheart/deploy
dotnet msi
Last synced: 5 months ago
JSON representation
A fluent builder for MSI installation packages.
- Host: GitHub
- URL: https://github.com/robertcoltheart/deploy
- Owner: robertcoltheart
- License: mit
- Created: 2016-02-11T12:05:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T21:57:09.000Z (over 2 years ago)
- Last Synced: 2025-09-29T19:52:01.423Z (9 months ago)
- Topics: dotnet, msi
- Language: C#
- Homepage:
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy
[](https://www.nuget.org/packages/Deploy) [](https://github.com/robertcoltheart/deploy/blob/master/LICENSE)
A fluent builder for MSI installation packages.
## Usage
Install the package from NuGet with `nuget install Deploy`.
```csharp
var builder = new PackageBuilder()
.Author("Me")
.Platform(PackagePlatform.X86)
.ProductName("My Product")
.UpgradeCode(Guid.NewGuid())
.File("start.exe", "icon.ico", "Start Shortcut")
.File("dependency.dll")
.Version(new Version(1, 0, 0));
builder.Build("Setup.msi");
```
## Limitations
The package builder is designed to create very simple packages, and thus is limited by the following:
1. **No compression.** Files are packaged as a simple CAB and are not compressed.
2. **No control over icons.** Icons are placed in the root of the start menu only.
3. **No directory control.** All binaries are placed in the `Program Files/[ProductName]` directory. For 32 bit applications on 64-bit systems, the `Program Files (x86)` folder is used.
4. **No custom actions.** For extra actions such as bootstrapping or database setup, a fully-fledged setup suite should be used.
5. **No custom UI.** The MSI will install without prompts and will only show a progress bar.
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.
## License
Deploy is released under the [MIT License](LICENSE)