I've managed to have sql:SqlDatabase inside a component without creating it:

 <Component Id="SqlComponentDatabasePatches"
Guid="884CBAAA-C310-4203-81A9-B367C7C897BA">
        <CreateFolder />
        <sql:SqlDatabase Id='SqlDatabasePatch' Database='MyDB'
Server='MYSERVER' CreateOnInstall='no' DropOnUninstall='no'
ContinueOnError='yes'>
          <sql:SqlScript
              Id="JustATest.sql"
              BinaryKey="JustATest.sql"
              ContinueOnError="no"
              ExecuteOnInstall="yes"
              ExecuteOnReinstall="yes"
              ExecuteOnUninstall="no"
              Sequence="100" />
        <sql:SqlScript
              Id="JustATest2.sql"
              BinaryKey="JustATest2.sql"
              ContinueOnError="no"
              ExecuteOnInstall="yes"
              ExecuteOnReinstall="yes"
              ExecuteOnUninstall="no"
              Sequence="101" />
        </sql:SqlDatabase>
      
      </Component>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-SQL-script-without-creating-a-database-tp7597296p7597314.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to