Hi,
I am new to Wix and want to install database with user interface..
With out user interface I am able to create database but I want to create
with user interface for that,
I am using property and hear is the code....
<User Id="SQLUser" Name="[uname]" Password="[pwd]" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="InstallDir" Name="Acme">
<Component Id="SqlComponent"
Guid="{A4189B2F-8C90-4bbd-A850-644B76AB8B96}">
<SqlDatabase Id="SqlDatabase" Database="AbhiSQL" User="SQLUser"
Server="[sname]" CreateOnInstall="yes" DropOnUninstall="yes"
ContinueOnError="yes">
<SqlScript Id="CreateTable" BinaryKey="CreateTable"
ExecuteOnInstall="no" />
</SqlDatabase>
</Component>
</Directory>
</Directory>
</Directory>
<Binary Id="CreateTable" SourceFile="CreateTable.sql" />
<Feature Id="SqlFeature" Title="SqlFeature" Level="1">
<ComponentRef Id="SqlComponent" />
</Feature>
<Property Id="SQLSERVER">sname</Property>
<Property Id="SQLUSER">uname</Property>
<Property Id="SQLPASSWORD">pwd</Property>
And I have taken the input from control as below....
<Control Id="SN" Type="Edit" Height="15" Width="75" X="236" Y="61"
Property="sname" />
<Control Id="UserN" Type="Edit" Height="15" Width="75" X="236"
Y="100" Property="uname" />
<Control Id="PN" Type="Edit" Height="15" Width="75" X="236" Y="138"
Property="pwd" />
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users