Thanks,

I succeeded with the proposed SqlScript Custom Action:

      <Component Id="DatabasePatchComponent" 
Guid="1B693EEC-443F-4A87-9995-82F3B5E9B181">
        <SqlDatabase Id="..." Server="[SQLSERVER]" Database="..." 
User="SQLUser" CreateOnInstall="yes">
          <SqlScript Id="PatchDatabase" BinaryKey="PatchDatabase" 
ExecuteOnInstall="yes" />
        </SqlDatabase>
      </Component>

      <Binary Id="PatchDatabase" SourceFile="..." />

      <User Id="SQLUser" Name="..." Password="..." />

Note that the parameter 'ExecuteOnInstall' is mandatory for a successful 
completion!


Peter Sliepenbeek | Software Engineer

Piet Joubertstraat 4 | 7315 AV | Apeldoorn | The Netherlands
T: +31 (0)55 368 53 00 | F: +31 (0)55 368 53 11
www.pallas-athena.com

Pallas Athena International
Business Process Management software & solutions

-----Original Message-----
From: Richard [mailto:legal...@xmission.com]
Sent: dinsdag 9 juni 2009 8:44
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action & Temporary File


In article <4a2d4af2.2070...@wixtoolset.org>,
    Rob Mensching <r...@wixtoolset.org>  writes:

> Or just use the standard SqlScript CustomAction for SQL Scripts.

Ah yes, a better solution, to be sure.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to