gossip/packaging/windows
2024-07-22 11:45:22 +12:00
..
.gitignore
gossip.0.5.0-cjk.wxs
gossip.0.5.0.wxs
gossip.0.5.1-cjk.wxs
gossip.0.5.1.wxs
gossip.0.5.2-cjk.wxs
gossip.0.5.2.wxs
gossip.0.6.0.wxs
gossip.0.7.0.wxs
gossip.0.8.0.wxs
gossip.0.8.1.wxs
gossip.0.8.2.wxs
gossip.0.9.0.wxs
gossip.0.10.0.wxs
gossip.0.11.0.wxs
gossip.0.11.1.wxs
gossip.ico
README.md

WINDOWS

Prerequisite for packaging:

  • You need Wix 4 tools installed, probably with DOTNET installed first.

Compile:

  rustup update
  cargo build --features=lang-cjk --release

Copy the binary to the packaging directory

  cp ..\..\target\release\gossip.exe .

Copy the gossip.png here

  cp ..\..\logo\gossip.png .

For new versions of gossip, update gossip.wxs:

  • UPDATE the Package.Version, SummaryInformation.Description
  • 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.

Packaging:

  wix build gossip.VERSION.wxs

Upload to github releases.


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

  msiexec /i gossip.msi

To remove the package from your windows computer:

  msiexec /x gossip.msi