Ok I see the problem now. Thanks :) -----Original Message----- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, June 10, 2009 11:57 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting Unexpected Error 2856
Hmm, MSI SDK says " 2856 Creating a second copy of the dialog [2]. " That doesn't mean anything to me. MacDiarmid, James D wrote: > I'm attempting to rewire my dialogs (previously generated by WixAware) > and I'm getting the forementioned error 2856 when clicking the back > button on the Custom Setup Dialog. Anyone know what this could be? > My custom dialog code follows: > > > <Dialog Id="CustomizeDlg" Title="!(loc.IDS_WIZDLG_CAPTION)" X="50" > Y="50" Width="370" Height="270" RightToLeft="yes"> > <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" > Height="17" Text="!(loc.IDS_BTN_NEXT)" Default="yes"> > <Publish Event="NewDialog" > Value="OutOfDiskDlg">OutOfNoRbDiskSpace = 1</Publish> > <Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish> > <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> > </Control> > <Control Id="Text" Type="Text" X="25" Y="55" Width="320" > Height="20" Text="!(loc.IDS_CUSTOMIZEDLG_TEXT)" /> > <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="369" > Height="44" Text="[BannerBitmap]" Disabled="yes" /> > <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="369" > Height="0" Disabled="yes" /> > <Control Id="Cancel" Type="PushButton" X="304" Y="243" > Width="56" Height="17" Text="!(loc.IDS_BTN_CANCEL)" Cancel="yes"> > <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> > </Control> > <Control Id="Description" Type="Text" X="25" Y="23" Width="280" > Height="15" Text="!(loc.IDS_CUSTOMIZEDLG_DESCRIPTION)" Transparent="yes" > NoPrefix="yes" /> > <Control Id="Title" Type="Text" X="15" Y="6" Width="200" > Height="15" Text="!(loc.IDS_CUSTOMIZEDLG_TITLE)" Transparent="yes" > NoPrefix="yes" /> > <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" > Height="17" Text="!(loc.IDS_BTN_BACK)"> > <Publish Event="NewDialog" > Value="MaintenanceTypeDlg">InstallMode = "Change"</Publish> > <Publish Event="NewDialog" Value="CustomizeDlg">InstallMode > = "Typical" OR InstallMode = "Complete" OR InstallMode = > "Custom"</Publish> > </Control> > <Control Id="Browse" Type="PushButton" X="304" Y="200" > Width="56" Height="17" Text="!(loc.IDS_BTN_BROWSE)"> > <Condition Action="hide">Installed</Condition> > <Publish Event="SelectionBrowse" Value="BrowseDlg">1</Publish> > </Control> > <Control Id="Tree" Type="SelectionTree" X="25" Y="85" > Width="175" Height="95" Text="!(loc.IDS_TREE_SELECTIONS)" > Property="_BrowseProperty" /> > <Control Id="Box" Type="GroupBox" X="210" Y="81" Width="140" > Height="98" Disabled="yes" /> > <Control Id="Reset" Type="PushButton" X="42" Y="243" Width="56" > Height="17" Text="!(loc.IDS_BTN_RESET)"> > <Publish Event="Reset" Value="0">1</Publish> > <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> > </Control> > <Control Id="DiskCost" Type="PushButton" X="111" Y="243" > Width="56" Height="17" Text="!(loc.IDS_BTN_DISKCOST)"> > <Publish Event="SpawnDialog" Value="DiskCostDlg">1</Publish> > <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> > </Control> > <Control Id="ItemDescription" Type="Text" X="215" Y="90" > Width="131" Height="30" Text="!(loc.IDS_ITEMDESCRIPTION)"> > <Subscribe Event="SelectionDescription" Attribute="Text" /> > </Control> > <Control Id="ItemSize" Type="Text" X="215" Y="130" Width="131" > Height="45" Text="!(loc.IDS_ITEMSIZE)"> > <Subscribe Event="SelectionSize" Attribute="Text" /> > </Control> > <Control Id="Location" Type="Text" X="75" Y="200" Width="215" > Height="20" Text="!(loc.IDS_SELECTION_PATH)"> > <Condition Action="hide">Installed</Condition> > <Subscribe Event="SelectionPath" Attribute="Text" /> > <Subscribe Event="SelectionPathOn" Attribute="Visible" /> > </Control> > <Control Id="LocationLabel" Type="Text" X="25" Y="200" > Width="50" Height="10" Text="!(loc.IDS_LOCATIONLABEL)"> > <Condition Action="hide">Installed</Condition> > <Subscribe Event="SelectionPathOn" Attribute="Visible" /> > </Control> > <Control Id="BottomLine" Disabled="yes" Height="2" Type="Line" > Width="306" X="60" Y="234" /> > </Dialog> > > > > > Jim MacDiarmid > EDS, an HP company > U.S. Public Sector > Department of Homeland Security Segment 13600 EDS Drive, A3N-B27 > Herndon, VA 20171 > 703-236-3821(office) > 571-247-2343(cell) > > > ---------------------------------------------------------------------- > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check out > the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users