We are using Customized Dialogs for our installer and now when i've created a
custom dialog for the user to select the path to Install the installer fails
with error 2812.

The error description for the code 2812 is "The event[2] is not recognized"
in the Windows Installer Error Message Table.

But i'm unable to debug this can some one help me out as it is of priority.


 <Dialog Id="FolderSelection" Width="500" Height="370" Title="[ProductName]
Installer" NoMinimize="no">
                <Control Type="Bitmap" Id="WelcomeDlg_Cursor" Width="10"
Height="10" X="20" Y="87" Text="Cursor" TabSkip="no" />
                <Control Type="Bitmap" Id="QuantumLeap" Width="173"
Height="380" X="0" Y="0" Text="[BannerBitmap]" />
                <Control Type="Line" Id="BottomLine" Width="325" Height="2"
X="174" Y="300" />
                <Control Type="PushButton" Id="Back" Width="70" Height="22"
X="232" Y="330">
                    <Text>&amp;Back</Text>
                </Control>
                <Control Type="PushButton" Id="Next" Width="70" Height="22"
X="304" Y="330" Default="no">
                    <Text>&amp;Next</Text>
                </Control>
                <Control Type="PushButton" Id="Cancel" Width="70"
Height="22" X="396" Y="330">
                    <Text>&amp;Cancel</Text>
                    <Publish Event="SpawnDialog"
Value="CancelDlg">1</Publish>
                </Control>
                <Control Type="Text" Id="Welcome" Width="145" Height="17"
X="25" Y="50" Transparent="yes">
                    <Text>{\WixUI_Font_White}!(loc.Nav_Welcome)</Text>
                </Control>
                <Control Type="Text" Id="Select" Width="145" Height="17"
X="25" Y="80" Transparent="yes">
                    <Text>{\WixUI_Font_White}!(loc.Nav_Select)</Text>
                </Control>
                <Control Type="Text" Id="Setup" Width="145" Height="17"
X="25" Y="110" Transparent="yes">
                    <Text>{\WixUI_Font_White}!(loc.Nav_Setup)</Text>
                </Control>
                <Control Type="Text" Id="UserDetail" Width="145" Height="17"
X="25" Y="140" Transparent="yes">
                    <Text>{\WixUI_Font_White}   !(loc.Nav_UsrDet)</Text>
                </Control>
                <Control Type="Text" Id="Browse" Width="145" Height="17"
X="25" Y="170" Transparent="yes">
                    <Text>{\WixUI_Font_White_Bold}  
!(loc.Nav_Browse)</Text>
                </Control>
                <Control Type="Text" Id="Feature" Width="145" Height="17"
X="25" Y="200" Transparent="yes">
                    <Text>{\WixUI_Font_White}   !(loc.Nav_Feature)</Text>
                </Control>
                <Control Type="Text" Id="Confirm" Width="145" Height="17"
X="25" Y="230" Transparent="yes">
                    <Text>{\WixUI_Font_White}   !(loc.Nav_Confirm)</Text>
                </Control>
                <Control Type="Text" Id="Finish" Width="145" Height="17"
X="25" Y="260" Transparent="yes">
                    <Text>{\WixUI_Font_White}!(loc.Nav_Finish)</Text>
                </Control>
                <Control Id="LocationLablel" Type="Text" X="180" Y="110"
Width="75" Height="18" TabSkip="no"
Text="{\WixUI_Font_Title}&amp;Location:">
                    <Subscribe Event="SelectionPathOn" Attribute="Visible"
/>
                </Control>
              <Control Id="LocationEdit" Type="Edit" X="260" Y="110"
Width="220" Height="18" Property="COMPANYNAME" Text="[_BrowseProperty]" >
                <Subscribe Event="SelectionPath" Attribute="Text" />
                <Subscribe Event="SelectionPathOn" Attribute="Visible" />
              </Control>
                <Control Type="PushButton" Id="Browse_Btn" Width="70"
Height="22" X="416" Y="142" Text="&amp;Browse" Property="_BrowseProperty">
                    <Publish Event="SelectionBrowse"
Value="BrowsedDlg"></Publish>
                </Control>
            </Dialog>
            <Dialog Id="BrowsedDlg" Width="370" Height="270"
Title="[ProductName] Setup" NoMinimize="yes">
                <Control Id="PathEdit" Type="PathEdit" X="84" Y="202"
Width="261" Height="18" Property="_BrowseProperty" Indirect="yes" />
                <Control Id="OK" Type="PushButton" X="304" Y="243"
Width="56" Height="17" Default="yes" Text="&amp;OK">
                    <Publish Event="SetTargetPath"
Value="[_BrowseProperty]">1</Publish>
                    <Publish Event="EndDialog" Value="Return">1</Publish>
                </Control>
                <Control Id="Cancel" Type="PushButton" X="240" Y="243"
Width="56" Height="17" Cancel="yes" Text="&amp;Cancel">
                    <Publish Event="Reset" Value="0">1</Publish>
                    <Publish Event="EndDialog" Value="Return">1</Publish>
                </Control>
                <Control Id="ComboLabel" Type="Text" X="25" Y="58"
Width="44" Height="10" TabSkip="no" Text="&amp;Look in:" />
                <Control Id="DirectoryCombo" Type="DirectoryCombo" X="70"
Y="55" Width="220" Height="80" Property="_BrowseProperty" Indirect="yes"
Fixed="yes" Remote="yes">
                    <Subscribe Event="IgnoreChange" Attribute="IgnoreChange"
/>
                </Control>
                <Control Id="Up" Type="PushButton" X="298" Y="55" Width="19"
Height="19" ToolTip="Up One Level" Icon="yes" FixedSize="yes" IconSize="16"
Text="Up">
                    <Publish Event="DirectoryListUp" Value="0">1</Publish>
                </Control>
                <Control Id="NewFolder" Type="PushButton" X="325" Y="55"
Width="19" Height="19" ToolTip="Create A New Folder" Icon="yes"
FixedSize="yes" IconSize="16" Text="New">
                    <Publish Event="DirectoryListNew" Value="0">1</Publish>
                </Control>
                <Control Id="DirectoryList" Type="DirectoryList" X="25"
Y="83" Width="320" Height="110" Property="_BrowseProperty" Sunken="yes"
Indirect="yes" TabSkip="no" />
            </Dialog>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installer-error-2812-after-using-customized-dialogs-tp7583326.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to