Hi,
Am trying to execute a .sql file using the sqlscript during the
uninstall and not during install. find the snippet below
<Component Id="cmpB95DC345C6AB4834A9DEBE50735BA626"
Directory="INSTALLLOCATION" Guid="8E4080A9-017F-4DA6-AFD5-ADE4CE35785F" >
<File Id="fil4D7ED92F5AFF4AA69C467451210E3CFB" KeyPath="yes"
Source="$(var.SourceItemsDir)\DeleteDB.sql" />
<util:User Id="SQLUser" Name="[DATABASE_USERNAME]"
Password="[DATABASE_PASSWORD]" />
<sql:SqlDatabase Id="SqlDatabase"
Database="[DATABASE_NAME]"
Server="[DATABASE_SERVERNAME]"
CreateOnUninstall ="yes"
CreateOnInstall ="no"
DropOnInstall ="no"
DropOnUninstall ="yes"
ContinueOnError ="yes"
User="SQLUser">
<sql:SqlScript Id="DeleteDB" ExecuteOnUninstall ="yes"
ExecuteOnInstall ="no" BinaryKey="DeleteDBBinary" ContinueOnError ="yes" />
</sql:SqlDatabase>
</Component>
Can any one help me.
Thanks and Regards
Ravi
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users