Hi All,
Sorry the code was not Accompanied in the previous mail... I am
using Wix3.0 I have created a new Dialog 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 in Advance.
Regards
Chandan.
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 10:37 AM
To: Chandan Koushik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Primary Key LicenseAccepted duplicated in table
CheckBox
chandan Koushik wrote:
> <UIRef Id="WixUI_Mondo" />
> ...
> 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.
>
WixUI_Mondo uses WelcomeDlg and LicenseAgreementDlg; WelcomeEulaDlg has
its own license control and LicenseAccepted checkbox. You need to create
a custom dialog set to insert your dialog.
--
sig://boB
http://joyofsetup.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