Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.54 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.54 KB

Deploy

NuGet License

A fluent builder for MSI installation packages.

Usage

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");

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 for details on how to contribute to this project.

License

Deploy is released under the MIT License