Den 10-05-2010 10:23, Peter Laursen skrev:
3 points/questions:
1) NSIS should be bundled.
How do you mean? It's building a standalone installer, nsis is not needed for installation. It's only needed if you build the installer package.
2) And not installing as a service never was the idea.
It should be installed as a service, but that's not done yet.
3) Will this installer handle upgrading too?
It should :-) I know you did a lot of work on an installer as well. How did you do it, and how far did you get? It might be that I'd continue with your work instead of this. Bo.
On Mon, May 10, 2010 at 12:55, Bo Thorsen <bo@askmonty.org <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 <mailto:maria-developers@lists.launchpad.net> Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp