Prepare installer for Windows
pktiuk opened this issue · 5 comments
Allow building Windows installer for AmtiMicroX using cmake
TODO:
-
(first step) allow installing antimicrox using cmake (for now there are missing
.dll
files in target directory) -
select generator for cpack https://cmake.org/cmake/help/latest/manual/cpack-generators.7.html
NSIS seems to be good -
Finish cpack config used for building installer #262
Other things to do:
- Embed icon into executable file #261
Cmake wiki entries about packaging for reference:
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Packaging-With-CPack
StackOverflow topic about package generators link
WIX was already implemented in legacy AntiMicro, but using it was not recommended by previous maintainer link1, link2
I can't say for sure but, that msys2
can provide us any package present in the msys2 package repository. I searched for NSIS and it is present in the repository . So dependency-wise, it should solve the problem.
That's great.
Thank to this, I could try to deal with packaging.
Please feel free to tag me if something comes up, I would be happy to help.