Thanks Eitan If you have the sample code to do this. Could you please pass me that?
Thanks, Pankaj -----Original Message----- From: Eitan Behar [mailto:ei...@baconao.net] Sent: Thursday, February 26, 2009 1:19 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Help required to execute Sql files Write a C# Custom Action using DTF, and pass it as parameter the folder with the sql scripts. The function then can just use OLEDB or SQLCMD to run the scripts. Eitan -----Original Message----- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Thursday, February 26, 2009 10:35 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Help required to execute Sql files Hi, I need a help to execute bunch of SQL files which are not part of my WXS / MSI but need to execute them through my MSI during installation. All these SQL files are present at some shared location which is changing on a day to day basis like (addition of new SQL script, deletion or modification). I want to execute all the SQL files present in the particular folder using my MSI. If anybody has done that please guide me how to go ahead for that. Thanks, Pankaj ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users