<mailto:
bo@askmonty.org>> wrote:
Hi everyone,
I have been looking at getting our binary windows distribution back
on track. One of the options would be to create the zip file like we
did earlier.
Another way would be to create a proper windows installer. For this,
there are several options: NSIS, WIX, etc. I spent a bit of time
investigating the CPack parts of CMake. And during the
investigation, I managed to pretty much write an entire installer.
It was quite easy.
The way this works is to add INSTALL instructions in the
CMakeFiles.txt, plus a bit of extra information for building the
installer package. You can see this in the patch I have attached.
With the patch applied, you have to install NSIS
(
http://nsis.sourceforge.net) and add it to the path. Build MariaDB
in release, and run "cpack" in the MariaDB tree. It's NSIS based
because this seems to be the one cpack works best with.
The question is what direction to continue in. I'd appreciate some
feedback on this, because I'm not certain if it's the right way to
go. It has been pretty easy so far, so I'm pretty happy to continue
with it.
IMHO, the most important thing not implemented in this installer yet
is to set up MariaDB as a service.
I'm going to focus on getting Windows running in KVM for our
buildbot system now. And then I'll get back to this later.
Cheers,
Bo Thorsen.
_______________________________________________
Mailing list:
https://launchpad.net/~maria-developers
Post to :
maria-developers@lists.launchpad.net