Slashdot Mirror


MySQL Uses Microsoft's Open Source Software

EqualSlash writes "The Windows installer for the upcoming MySQL 4.1 release will be built using Microsoft's first ever open source project - Windows Installer XML toolset(Wix). According to an InternetNews report, they are using Wix to convert the MSI file designed using InstallShield into XML to achieve greater control over the installer. Of course, they are simply using it because it's Open Source (CPL license) and in good faith. Earlier this year, when Microsoft surprised everybody by releasing the Wix project under an open source license, some were cautious about using it, as the specific XML schema it uses might be patented just like the Office xml schema. Whatever.. Rob Mensching, Wix's lead developer, is very happy about MySQL choosing to use Wix for their installer."

14 of 117 comments (clear)

  1. Good news, I guess by __aavhli5779 · · Score: 4, Insightful

    Wait, so what you're implying is...

    Someone open-sourcing something causes more people to use it?!?!?

    If it weren't for the fact that this is MS's open source creation being used, this would not be news.

    In any case, kudos to MySQL for taking the first step with Wix and to Microsoft for trying something they have otherwise sworn against.

    Hopefully more people will use Wix, and most importantly, will modify it and contribute changes. That would be a nice way of showing MS just what open source can offer, something which everyone else seems to have figured out already.

    1. Re:Good news, I guess by Osty · · Score: 4, Informative

      Someone open-sourcing something causes more people to use it?!?!?

      No, it's closer to, "Open-source something causes already open-source-centric people to use it." Also keep in mind that WiX is just a wrapper on top of Microsoft's proprietary Windows Installer bits. Therefore, while you can modify the syntax supported by WiX because that part is open, you can't change core functionality of the installer software (that part is not open).


      and to Microsoft for trying something they have otherwise sworn against.

      Microsoft is not against open source. They've used BSD-licensed software, and more than WiX has been released under an open source license. What Microsoft has "sworn against" is "Free Software" as RMS would call it, or to the rest of us, software using the GPL or other "viral" license.


  2. As long as it's such an unessential.. by Karamchand · · Score: 4, Insightful

    ..components as the Windows installer I don't mind; no, actually I am happy that even MS can contribute a bit to the open source world.

    Simply because the whole MySQL project can't be taken down by MS even though they're using Wix. It's not important enough for the project's life, that's it!

  3. Great news by rnd() · · Score: 5, Insightful

    By opening up the source and making it possible for OSS developers to use a high quality installer, Microsoft has shown that it realizes the importance of Open Source software to its user base.

    --

    Amazing magic tricks

    1. Re:Great news by Osty · · Score: 5, Informative

      By opening up the source and making it possible for OSS developers to use a high quality installer, Microsoft has shown that it realizes the importance of Open Source software to its user base.

      WiX is not the installer. WiX is an XML schema and processor that let's you more easily build MSI installers. There's nothing stopping you from looking up the documentation on the Windows Installer at MSDN and building your own MSI programmatically, or building your own WiX-like processor, or whatever you want. The Windows Installer SDK is part of the Platform SDK, and I'm pretty sure that linking against base platform libraries is allowed even by the GPL (it's one of those things that's frowned upon, but allowed because otherwise you could only write GPL software to run on Linux or HURD).

      Also, Nullsoft's NSIS (I still think they should've carried on the PiMP/SuperPiMP naming, rather than getting all "professional") has been open source and available for years. It doesn't compile down to an MSI installer, but Nullsoft's own format, and the language and installer is pretty powerful. MSIs give you some pretty cool and powerful abilities that you can't do from NSIS, but 90% of all installers don't need much more than the ability to decompress some files, copy them around, and write some regkeys.

  4. Re:WiX problem by Anonymous Coward · · Score: 5, Funny

    I've been trying to get my feet wet with this WiX stuff, but really the documentation is extremely lacking.

    it's open source, duh!

  5. Re:I'd rather they not use it by Zakabog · · Score: 4, Insightful

    Why would you rather they don't use it? So Microsoft thinks open source is a failure and never again makes an open source project?

  6. Re:I'd rather they not use it by omicronish · · Score: 5, Informative

    but that's their call. Surely, there must be other alternatives than using something from M$. It's an installer - can't they use Nullsoft or something else?

    MSIs allow for easy installation of programs across entire Active Directory networks. Sure, you can do this with scripts and silent installs, but MSIs let you do interesting things like per-user installs that migrate to computers with their profiles. A good example of this is TortoiseSVN, which I can install only for myself on a computer on an AD network, and when I go to another lab computer and logon it'll automatically install and yet still be visible to only me.

    There's also a Firefox bug that's requesting an MSI installation option (but I forget the URL). IIRC someone built an MSI package using WiX, and several people have stated that an MSI package is imperative for corporate deployment of Firefox.

    So yeah, there are alternatives, but using MSIs do make things easier for some people, me included.

  7. Next step... by gmuslera · · Score: 4, Funny

    ... Microsoft will add security and a lot of features to MS SQL Server replacing it by MySQL.

  8. Software packaging underrated by Schreckgestalt · · Score: 5, Informative
    I, as a guy working at a large company, dealing with software packaging and software distribution, welcome EVERY PROJECT using WiX.

    Apache already does release an MSI format package, maybe they, too, could convert to WiX.

    And then, there's only PHP left, that should come in an MSI file, and all would be fine.

    OSS programmers should realize how important the installation package is. Because with an intelligent enough package (MSIs for Win32, debs for Debian etc), it's no longer simply copying and possibly files, but real Software Management. This is going to open doors to the large companies.

    And yes, I know, MSI is a Microsoft idea, but it does make sense. Any large customer nowadays wants all the software to be re-packaged in MSI format (hell, repackaging Oracle Client sucks, you can believe me!).

  9. Re:I'd rather they not use it by lintux · · Score: 4, Insightful

    What's the problem with using an installer written by Microsoft if someone is already writing the software for the Microsoft Windows platform anyway? Doesn't make a big difference, if you ask me...

  10. PostgreSQL by dracvl · · Score: 4, Informative
  11. Re:Patents in this kind of case? by Chemicalscum · · Score: 4, Informative
    Since MS used IBM's CPL as the open source license for this software there is nothing to fear on the patent question. The CPL explicitly grants a patent waver for use, development and distribution of the software (it is a viral waver). So Microsoft has legally comitted itself to not using its patents against anyone using this software. They are obviously using the CPL for the same reason that IBM originally introduced the CPL - not to scare off anyone from adopting open source software from a major patent holder, because of fears that it could be a patent trap.

    It is this patent waver as a requirement for distributing the software that makes the CPL incompatible with the GPL as it imposes additional restrictions on redistribution over the GPL. However I understand that the FSF is considering putting in a patent clause in the next version of the GPL which would both make the CPL compatible with the GPL and restrict possible patent abuse.

  12. This would be perfect for Mozilla Firefox, too! by ManxStef · · Score: 4, Interesting

    Assuming there aren't any overriding difficulties with patents or licence problems, this would absolutely ideal for deploying Mozilla Firefox and Thunderbird. One of the biggest issues holding Firefox back from enterprise deployment in MS shops is the fact that there's no MSI installer. This would allow it to be rolled out to all the desktops domain-wide via Group Policy and , as the installer tracks any changes made, it can be rolled-back/uninstalled or upgraded easily. All that would needed to add to that would be some basic properties (hopefully via GPOs also) to allow admins to customise & lock it down a little (say, auto-set the web proxy details), and it'd be perfect!

    In fact, after doing a quick search it looks like someone's already done it (don't know if it uses WiX, though it is mentioned in the Bugzilla listing):
    http://forums.mozillazine.org/viewtopic.php?t=1380 33

    Superb! Finally a way to get rid of IE from the corporate desktops :)