A fluent builder for MSI installation packages.
Install the package from NuGet with nuget install Deploy
.
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");
The package builder is designed to create very simple packages, and thus is limited by the following:
- No compression. Files are packaged as a simple CAB and are not compressed.
- No control over icons. Icons are placed in the root of the start menu only.
- No directory control. All binaries are placed in the
Program Files/[ProductName]
directory. For 32 bit applications on 64-bit systems, theProgram Files (x86)
folder is used. - No custom actions. For extra actions such as bootstrapping or database setup, a fully-fledged setup suite should be used.
- No custom UI. The MSI will install without prompts and will only show a progress bar.
Please read CONTRIBUTING.md for details on how to contribute to this project.
Deploy is released under the MIT License