weixin_39534208
weixin_39534208
2020-11-26 10:11

Windows Packaging with WiX

How

Windows will be packaged with WiX which can be automated. Once we're at the windows packaging stage of development, we need to write an XML definition file for our installer.

What we need to do

  • [x] Get a WiX install script up and running
  • [x] Customize our installer's look
  • [ ] Potentially add options for selecting plugins/features to include with installation
  • [ ] Automate installer creation via build system (jenkins)

该提问来源于开源项目:glimpse-editor/Glimpse

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

13条回答

  • weixin_39617006 weixin_39617006 4月前

    Chocolatey and Scoop would be nice.

    点赞 评论 复制链接分享
  • weixin_39534208 weixin_39534208 4月前

    Chocolatey and Scoop would be nice.

    As I said in the previous issue; we have limited capacity to make packaging for a lot of things. WiX will be the official packaging, but if a high-quality community package for chocolatey or scoop appears we could feature it on the website.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    On the automation side of things we can hopefully get it to work with TravisCI.

    Would also suggest investigating how upstream currently packages for Windows. I can already see scripts for creating zip files, etc so there could also be some legacy cruft for us to remove.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    Linking to #58 as there is some duplication happening here.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    32-bit MSI installer for beta testing is available here: https://build.glimpse-editor.org/beta/win32/

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    Current progress on this ticket can be tracked in this repo: https://github.com/TrechNex/glimpse-windows-installer

    I will be creating a new repo in the glimpse-editor once this is complete, with it specifically set up to be reusable.

    Because of the way GUIDs are generated/tracked, there will be a branch for each major release. I will also make sure it is a submodule in the main Glimpse repo.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    I think customizing the installers look and automating with Jenkins should be two new and separate Github Issues. There's no way those things can be achieved for 0.1, but there's an outside chance for 0.2.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    Linking to Jenkins job issue #164

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    Moved to 0.2.0 Candidates as still work to do on 64-bit build and Jenkins job will not be done until after 0.1.0 is released.

    点赞 评论 复制链接分享
  • weixin_39603609 weixin_39603609 4月前

    +1 for making it installable via scoop. It would also be great to have a portable zip download for Windows, instead of an installer.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    For the purposes of the 0.2.0 milestone I'm going to count this as fixed. We should open a separate issue for automating the WiX packaging.

    点赞 评论 复制链接分享
  • weixin_39989215 weixin_39989215 4月前

    Submitted a Scoop manifest patch to the extras bucket: lukesampson/scoop-extras#4842

    With that merged, Glimpse v0.2.0 will be packaged on Windows by winget, Scoop, and Chocolatey.

    点赞 评论 复制链接分享
  • weixin_39592026 weixin_39592026 4月前

    did you see this issue: https://github.com/glimpse-editor/Glimpse/issues/65

    It might be that my previous effort helps you progress. I am not able to get Scoop working on my own Windows machines, so wasn't able to test.

    点赞 评论 复制链接分享