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

41 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. Re:Good news, I guess by Fulcrum+of+Evil · · Score: 2, Insightful

      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.

      To be more specific, they're against software taht can't be incorporated into their software and then resold with impunity.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    3. Re:Good news, I guess by _Sprocket_ · · Score: 2, Informative


      To be more specific, they're against software taht can't be incorporated into their software and then resold with impunity.


      Yet Microsoft includes GNU/GPL utilities incorporated within their Services For Unix product that has been both sold and given away over the years. With impunity.
    4. Re:Good news, I guess by Fulcrum+of+Evil · · Score: 2, Funny

      Yet Microsoft includes GNU/GPL utilities incorporated within their Services For Unix product that has been both sold and given away over the years. With impunity.

      By incorporated, I mean using the source as part of a product, not bundling existing programs and distributing them.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
  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. WiX problem by Random+Web+Developer · · Score: 2, Interesting

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

    It looks neat but there's no way to find out the complex stuff without generating an xml from an msi or something.

    --
    Artists against online scams http://www.aa419.org/
    1. 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!

    2. Re:WiX problem by Random+Web+Developer · · Score: 2, Insightful

      Look, I just want to create installers, I don't care about their source, and I definitely don't consider source a replacement for documentation or an open source licence an excuse to not have documentation.

      I remember a video from a presentation where it was mentioned that the doc's are being worked on, but as long as they aren't available I won't use the thing.

      --
      Artists against online scams http://www.aa419.org/
    3. 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).

    4. 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
    5. Re:WiX problem by PGillingwater · · Score: 2, Informative

      Just to explain for the language impaired. In the German language, "Wix" relates (although with a slightly different spelling) to the word for masturbation, therefore getting one's feet wet as a result of "wix" is seriously funny for German speakers, and not something to enjoy.

      --
      Paul Gillingwater
      MBA, CISSP, CISM
  5. Not the first? by Handyman · · Score: 2, Informative

    The Windows Template Library is released as CPL as well. I don't know since when this has been, but the product has been in existence for quite some time now.

    1. Re:Not the first? by Osrin · · Score: 2, Informative

      WiX was the first, WTL came later.

  6. 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?

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

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

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

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

  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?

    1. Re:Now I'm worried . . . by Man+in+Spandex · · Score: 2, Interesting

      I don't think we should worry. I think MS understood that OSS is more than just for enthusiasts and that there is potential. I'm pretty sure they are testing this with WiX to see how far it goes and how popular it gets and if it's a success on a long shot, that they will create other projects for the same reason.

      Sure its MS and they're evil in some way but remember, they aren't SCO :o

  11. Re:I'd rather they not use it by haruchai · · Score: 2, Interesting

    How could they possibly think that Open Source is a failure? The average Joe may think that Open Source is the hot new thing but lots of BIG companies have embraced it in the last few years.

    Besides, M$ doesn't really give a damn about embracing Open Source - what they care about is if it is possible to look like they're playing nice with their perceived biggest and keep on making money at the same time.
    All MySQL's use of this does is allow them to point and say "Look, we're good guys now - if we weren't why would they use our stuff?!"

    I have some reservations about SUN but I admit to being impressed when they released the source for Solaris 8 under their Sun Community Source License - I downloaded a copy of the entire code myself when it was first announced - and now they claim to be actively trying to release Solaris under a full Open Source License.
    Sorry, but as things stand ( especially with Blusterin' Ballmer running around the world trying to shout down any opposing technology). the most you get out of me is admiration for M$ marketing savvy, their toughness and some of their tech.
    As far as their motives go, I'll wait for some real evidence of change - this ain't it.

    --
    Pain is merely failure leaving the body
  12. 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.

  13. Re:Patents in this kind of case? by StateOfTheUnion · · Score: 2, Informative
    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?

    I don't think so . . . assuming MS's open source license is truly open source by the definition that I think most people at /. beleive in, there would be no antitrust issue. Just a patent and license issue.

    Antitrust issues are typically abuses of monopolistic or nearly monopolistic market power. Opensourcing a patented technology and suing for infringement is something that is not necessarily predicated on a monopolistic market . . . little guys can do this to (assuming they can afford to pay the lawyers).

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

  15. 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...)

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

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

  19. Windows Centric by nurb432 · · Score: 2, Interesting

    Whey have an installer for each OS you are supporting? It seems counter productive..

    Wouldnt it be better just to use a single installer for everything?

    I know there are commercial ones ( like installanywhere ) and im sure there are opensourced ones.. If not, then perhaps its time for one.

    --
    ---- Booth was a patriot ----
    1. Re:Windows Centric by Bert64 · · Score: 2, Interesting

      Wouldnt it be ironic to port WiX to linux.. You can bet microsoft made it windows only for a reason, and porting it to linux would be amusing at the very least.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  20. 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 :)

  21. 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 ;-)

  22. Unless... by Phil+John · · Score: 2, Informative

    your company produces a product that somehow incorporates/depens on MySQL, in which case you want it for all developers, but not anyone else. Brilliant, set that up in AD and your set, the devs have MySQL on ANY terminal they use whilst those people who aren't in the dev group are blissfully unaware it even exists.

    --
    I am NaN
  23. Re:Patents in this kind of case? by mdfst13 · · Score: 2, Interesting

    There is alrady a patent clause in the GPL. The current clause says that software cannot be distributed under the GPL if it is patent encumbered. It seems (did not RTFL) this license goes a step further and includes (and requires!) a patent license as part of it.

    Not sure how the FSF will proceed here. The comments they sent me regarding the Sveasoft abuses of the GPL implied that they did not consider a license that virally applies contract terms to be valid. I.e. they would not be able to enforce a license that demands that patent rights be waived if you redistribute. The current GPL works the other way; if you hold patent rights, you can't redistribute under the GPL.

    Note: the issue here is not Microsoft. The issue arises when IBM redistributes the software. Does it automatically get protection from IBM's patent portfolio?

  24. About the license... by polyp2000 · · Score: 2, Insightful

    Suppose I wanted to port WiX to run and install linux applications on linux (if i felt there were good reason to do so) would the license allow me to do so? And what-if I wanted to build an application for linux that used parts of WiX code ? say the XML parsing code or something?

    Could using parts of microsofts open source offerings (in some cases) act as a double whammy against possible patent suits in the future? They aint gonna sue project (X) if it means project (Y) which they quite like might be affected etc.

    If projects like MySQL are making the decision to use WiX it might be nice if their products used the same installer no matter which operating system is select as the base.

    Nick

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:About the license... by fluce · · Score: 2, Informative
      WiX is not an installer. It's a tool to help producing MSI files. I think it doesn't even produce MSI file by itself and needs other MS SDK tools.

      The installer itself is a closed-source service for Windows only.

  25. Re:I see that Slashdot is changing by haruchai · · Score: 2, Interesting

    You're probably right. I've seen ( and posted ) opinions on a variety of subjects that have either been ignored or modded up that were much more inflammatory than what I posted on this topic.

    However, anything I've recently written about Microsoft has been modded Troll or Flamebait, very quickly. I suspect that there are shills doing searches on well-known nicknames like M$ or Micro$shit - I only ever use the former although I have referred to posters who have bashed non-MS OSes unfairly as Micro$ofties, or, if they have been posting untruths, as Bill-lickers.
    However, I do my best to shoot down posters who bash Windows or other OSes undeservedly.

    --
    Pain is merely failure leaving the body
  26. Re:I see that Slashdot is changing by benhaha · · Score: 2, Informative

    I had the exact same problems. I lowered the motherboard speed and they went away.

    I think it is out-of-spec ram, memtest results and Mandrake notwithstanding.

    I suspect that it is an interaction between the memory and the graphics card which is exposed by features used by the windows drivers but not used by the mandrake drivers.

    Hope this helps.

    --
    NO ID: BEING FREE MEANS NOT HAVING TO PROVE IT