Hi,

Our installer has a requirement to create a db on a local/remote system. I am 
using the SqlDatabase element to do this. It works great on a local machine but 
 not so on a remote machine.   While I am able to create the DB on the remote 
machine on uninstall the DB is not removed.  Why is that? Below is the code 
snippet.

Code Snippet:-
  <Component Id="C_CreateDB" DiskId="1" Guid="OURGUID " KeyPath="yes">
            <sql:SqlDatabase Id="CreateDB"
                             Database="[DBNAME]"
                             Server="[DBSERVER]"
                             CreateOnInstall='yes'
                             DropOnUninstall='yes'
                             ContinueOnError='no'>
              <sql:SqlScript Id='CreateTable'
                             BinaryKey='CreateTable'
                             ExecuteOnInstall='yes'
                             ExecuteOnReinstall='no'
                             ContinueOnError='no'/>
            </sql:SqlDatabase>
          </Component>


Wix version - 3.0.4227.0
WixSqlExtension version - 3.0.0

Is it possible to create DB on a remote machine using wix directly? If not 
what/how are people handling these scenarios?

Thanks in advance.

-Vidya
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to