Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(misc) Create chocolatey package #1556

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mtancoigne
Copy link

Hello,

We started to work on a Chocolatey package to install Choria on Windows. These are the file to generate a valid .nupkg file, but we don't know how to integrate this in the current build process.

Can we speak about it and see if and how it is possible to push updates to the Chocolatey public repository ?

@mtancoigne
Copy link
Author

Note: the MSI installer was not added to the files and should be placed in tools.

@neomilium
Copy link

@ripienaar Where do you build MSI installer?
In code, it seems talking about the .exe but not .msi.

@ripienaar
Copy link
Member

At present the output from the packager directory is a .bat file that needs running on windows to make the .msi. This is not automated at present.

So getting this to actually build correctly and automatically needs integrating the choco stuff into the packager system and a set of GH Actions written to do the windows stuff. When I did the build automation windows builders werent an option so possible now, but likely a fair bit of work.

I am back working next week.

@ripienaar
Copy link
Member

If you run, on a machine with docker, the following:

PACKAGES=windows_64 rake build 

It will build the following:

choria-0.0.0-windows-amd64.exe
Choria-0.0.0-windows-x86_64-windows.tgz

The 2nd file has all the things you need to run on a windows machine with the wix toolset installed to build a msi.

This is based on packager/buildspec.yaml and packager/templates/windows. We can adjust things so this runs on a windows builder in GHA and probably automate the building of the msi by extending things. But it's all very slanted to running under docker, I am not sure if there are windows containers?

Quite a bit of work here to automate this end to end I am afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants