gossip/packaging/windows
2023-09-15 14:37:50 +12:00
..
.gitignore polish 0.3.91 files (e.g. Cargo.lock, PKGBUILD) 2023-02-12 13:11:41 +13:00
gossip.0.5.0-cjk.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.5.0.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.5.1-cjk.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.5.1.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.5.2-cjk.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.5.2.wxs Fixup the .wxs files (these weren't originals, they were exported from the .MSI, the originals are lost) 2023-03-27 10:25:05 +13:00
gossip.0.6.0.wxs Some changes to packaging scripts 2023-04-29 15:21:24 +12:00
gossip.0.7.0.wxs packaging stuff 2023-09-15 14:37:50 +12:00
gossip.0.8.0.wxs packaging stuff 2023-09-15 14:37:50 +12:00
gossip.ico Windows installer work 2023-02-12 12:43:47 +13:00
README.txt Packging related changes 2023-06-24 14:42:18 +12:00

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 diretory

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

Copy the gossip.png here

  $ cp ..\..\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 gossip.msi

To remove the package from your windows computer:

  $ msiexec /x gossip.msi