MySQL++ is a nice wrapper library, not sure how well the GNU LGPL licensing
fits in with WiX though.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, February 06, 2010 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Setting up a MySQL database as part of installation

Personally, if I knew how to communicate with MySQL and had time, I'd
quickly go in and tweak the C++ code (or copy it into a new block of code
then tweak it) to add the MySQL functionality. I expect MSSQL and MySQL
aren't that different... but I honestly haven't played with MySQL much.

Or, you could run an executable and condition it to run correctly in all
configurations. Personally, I dislike trying to get all those conditions
right. It's just too error prone compared to using the WcaComponentTodo()
function in wcautil.lib. <smile/>

On Sat, Feb 6, 2010 at 11:30 AM, William Newbery
<firelan...@hotmail.co.uk>wrote:

>
> I would have a look at writing a proper extension, but write now I have
> 3 fairly large projects under-way so don't have time. Maybe if someone
> reminds me around July when two of those will be finished I'll have
> time to take a look :)
>
> So the best option as of now would be the separate program written
> specially for the task?
>
> > From: r...@robmensching.com
> > Date: Sat, 6 Feb 2010 07:52:04 -0800
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Setting up a MySQL database as part of
> installation
> >
> > MySQL support does not exist today, but it'd be cool if someone
> contributed
> > it!
> >
> > On Sat, Feb 6, 2010 at 7:02 AM, William Newbery <
> firelan...@hotmail.co.uk>wrote:
> >
> > >
> > >  I've just started looking at using WiX to generate my Windows
> installers
> > > and am not sure how to handle this. I've seen a little bit of
> information
> > > regarding MS SQL Server, but not MySQL.
> > >
> > >
> > > I want to prompt the user to enter their database details (hostname,
> > > username, password, etc). I then want to check that the indicated
> database
> > > is a supported version, and set up tables and initial data. I also
> would
> > > like the ability to be able to upgrade the tables (and containing
> data!)
> > > from one version to another, without explicitly writing ALTER TABLE
> commands
> > > for every upgrade path.
> > >
> > >
> > > Is this currently possible with WiX, or is the best option to write my
> own
> > > "database installer" for my application and execute it as a custom
> install
> > > sequence like I can with dxsetup.exe?
> > >
> > >
> > > _________________________________________________________________
> > > Do you have a story that started on Hotmail? Tell us now
> > > http://clk.atdmt.com/UKM/go/195013117/direct/01/
> > >
> > >
>
----------------------------------------------------------------------------
--
> > > The Planet: dedicated and managed hosting, cloud storage, colocation
> > > Stay online with enterprise data centers and the best network in the
> > > business
> > > Choose flexible plans and management services without long-term
> contracts
> > > Personal 24x7 support from experience hosting pros just a phone call
> away.
> > > http://p.sf.net/sfu/theplanet-com
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> > --
> > virtually, Rob Mensching - http://RobMensching.com LLC
> >
>
----------------------------------------------------------------------------
--
> > The Planet: dedicated and managed hosting, cloud storage, colocation
> > Stay online with enterprise data centers and the best network in the
> business
> > Choose flexible plans and management services without long-term
contracts
> > Personal 24x7 support from experience hosting pros just a phone call
> away.
> > http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> _________________________________________________________________
> Do you have a story that started on Hotmail? Tell us now
> http://clk.atdmt.com/UKM/go/195013117/direct/01/
>
>
----------------------------------------------------------------------------
--
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to