gossip/packaging/windows
2023-02-20 18:19:42 +13:00
..
.gitignore polish 0.3.91 files (e.g. Cargo.lock, PKGBUILD) 2023-02-12 13:11:41 +13:00
gossip.ico Windows installer work 2023-02-12 12:43:47 +13:00
gossip.wxs v0.4.90-unstable, to indicate that this branch is the precursor to 0.5.0 2023-02-15 15:21:53 +13:00
README.txt Updated notes on windows packaging 2023-02-20 18:19:42 +13:00

Prerequisite for packaging:

* You need Wix 4 tools installed, probably with DOTNET installed first.
* Copy the gossip.exe here (release build)
* Copy the gossip.png here
* For new versions of gossup, update gossip.wxs
	* UPDATE the Package ProductCode GUID to a new one
    * KEEP the UpgradeCode GUID (it should never change, it ties different versions together)
    * Change a component GUID ONLY IF the absolute path changes.

Compile:

  $ cargo build --release

Copy the binary to the packaging diretory

  $ cp ..\..\target\release\gossip.exec .

Packaging:

  $ wix build gossip.wxs

Move to a versioned filename:

  $ mv gossip.msi gossip.VERSION.msi

Upload to github releases.


----
To install the package, either double-click the MSI, or

  $ msiexec gossip.msi

To remove the package from your windows computer:

  $ msiexec /x gossip.msi