Hi All,
      Sorry the code was not Accompanied in the previous mail... I am using
Wix3.0 I have created a new Dialig using the code shown below .

<UIRef Id="WixUI_Mondo" />

                <UI>
                        <Dialog Id="InstallDlg1" Width="370" Height="270" 
Title="[ProductName]
[Setup]" NoMinimize="yes">

                                <Control Id="Title" Type="Text" X="15" Y="10" 
Width="350" Height="15"
Transparent="yes" NoPrefix="yes">
                                        <Text>[DlgTitleFont]Please enter the 
UserName and Password for the My
Database setup.</Text>
                                </Control>
                                <Control Id="UserNameEdit" Type="Edit" X="35" 
Y="75" Width="200"
Height="18" Property="SQLUSER" Text="{80}" />
                                <Control Id="UserName" Type="Text" X="35" 
Y="50" Width="50" Height="10"
TabSkip="no">
                                        <Text>User Name</Text>
                                </Control>
                                <Control Id="PasswordEdit" Type="Edit" X="35" 
Y="145" Width="200"
Height="18" Property="SQLPASSWORD" Text="{80}" />
                                <Control Id="Password" Type="Text" X="35" 
Y="120" Width="50" Height="10"
TabSkip="no">
                                        <Text>Password</Text>
                                </Control>

                                <Control Id="Install" Type="PushButton" X="304" 
Y="243" Width="56"
Height="17" Default="yes" Text="Install now">
                                        <Publish Event="NewDialog" 
Value="ProgressDlg" />
                                        <Publish Event="EndDialog" 
Value="Return" />
                                </Control>
                        </Dialog>

                        <TextStyle Id="DlgFont8" FaceName="Tahoma" Size="8" />
                        <TextStyle Id="DlgFontBold8" FaceName="Tahoma" Size="8" 
Bold="yes" />
                        <TextStyle Id="VerdanaBold13" FaceName="Verdana" 
Size="13" Bold="yes" />

                        <AdminUISequence />

                </UI>

    I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element
    <Show Dialog="InstallDlg1" 
After="WelcomeEulaDlg">INSTALLDATABASE</Show>

But this gives me an error stating 

        The primary key 'LicenseAccepted' is duplicated in table 'CheckBox'. 
Please remove one of the entries or rename a part of the primary key to
avoid the collision.    
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs       10      
1
MyDeployment

Any Help related to this Would be appreciated
       Thanks inAdvance.
Regards 
Chandan.

-- 
View this message in context: 
http://www.nabble.com/Primary-Key-LicenseAccepted-duplicated-in-table-CheckBox-tf4339744.html#a12362144
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to