Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbroeglin/PoshWix

PoshWix is an opinionated and trivially simple tool to produce MSI packages from PowerShell modules
https://github.com/dbroeglin/PoshWix

Last synced: 3 months ago
JSON representation

PoshWix is an opinionated and trivially simple tool to produce MSI packages from PowerShell modules

Awesome Lists containing this project

README

        

# PoshWix
PoshWix is an opinionated and trivially simple tool to produce MSI packages from PowerShell modules

# Getting started

Ensure the WIX toolset is installed (see http://wixtoolset.org/)

Install the PoshWix module and, in a PowerShell module source directory create
a WIX specification with the same name as your module (for instance `FooBar.wxs`). You can use
the current module's `PoshWix.wxs` file as a sample (juste ensure you change the
UpgradeCode to something else). Then execute:

Write-WixModulePackage

You should get a nice MSI that will install your module in `C:\Windows\system32\WindowsPowerShell\v1.0\Modules`

# Documentation

help Write-WixModulePackage

# TODO

1. Validate version number format to allow for smooth upgrades.

# Disclaimer

This is a work in progress. It is provided without warranty,
even the implied warranty of merchantability, satisfaction or
fitness for a particular use.