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."

22 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!).

    1. Re:Software packaging underrated by quantum+bit · · Score: 3, Interesting

      Any large customer nowadays wants all the software to be re-packaged in MSI format (hell, repackaging Oracle Client sucks, you can believe me!).

      Sort of a tangent, but I want to send a large "BAH!" to Oracle on behalf of everyone who has to deal with their buggy software. Any software on any OS which cannot properly deal with spaces in filenames is horribly broken in my book. After seeing the awfulness that is the "Oracle Installer" I wonder why anyone thinks their database is so hot.

  9. Re:WiX problem by quantum+bit · · Score: 3, Informative

    You might want to check out MakeMSI. It's also Open Source, has very good documentation, and doesn't require much knowledge of MSI internals (unlike WiX which is mainly just an XML representation of the database).

  10. Now I'm worried . . . by StateOfTheUnion · · Score: 3, Insightful
    I didn't know that MS was doing anything open source, but now that I know, I can't help but worry:

    Is this the first step of MS trying to get into open source and become a major player? Microsoft has never been an innovator, but they are really good at stealing someone else's idea and business model (e.g. netscape, realplayer, etc., etc.) . . .perhaps they will foray into the "give the open source software away for free and sell the services and maintenance" business model. I'm sure that they won't do this for their core products . . . but for other things . . . like development tools or less popular products . . . maybe?

  11. Re:Patents in this kind of case? by azaris · · Score: 3, Insightful

    If Microsoft were to release the project under a OSS license and then nail a competitor that uses it for patent infringement, couldn't the competitor nail them for antitrust violations?

    All this blahblah about Microsoft's patent portfolio would be more convincing if we had at least one recent case of them using patents to shut down independent open source development teams. As it is, I get the feeling I'm listening to Chicken Little on the future of celestial disasters.

  12. 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...

  13. Encouraging developments..... by i_want_you_to_throw_ · · Score: 3, Insightful

    Regarding Open Source: There's nothing to stop Microsoft from putting out Microsoft Linux is there?

    I don't like Microsoft but they will stop being hated so much when they transition themselves from a company that expects to create standards to one that merely contributes to them.

    IBM learned that lesson and geeks love them now but they were the Microsoft of their day.

    As long as MySQL stays MySQL who cares? Maybe Microsoft will FINALLY have a true understanding of what open source is now. (Probably not though...)

  14. PostgreSQL by dracvl · · Score: 4, Informative
  15. 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.

  16. Re:WiX problem by TCM · · Score: 3, Funny

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

    *ROTFL*[1]

    [1] The sound of x+1 Germans falling off their chairs and bouncing around.

    --
    Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  17. Re:I'd rather they not use it by rainwater · · Score: 3, Informative

    Why would you rather they don't use it?

    Because there are much better alternatives like NSIS or the many others. Plus, who wants to require freaking runtime to install software.

  18. 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 :)

  19. The meaning of Wix in german... by sipmeister · · Score: 3, Funny

    ...is to jerk off, or wank, as the Brits would say. My recommendation: don't wix too much, it gives you blisters ;-)