Below is the source code of ConfigSFSDlg.wxs. Feel missed something in 
WixUI_InstallDir_SFS.wxs. How can I get these values from ConfigSFSDlg.wxs to 
be used later?

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Fragment>
   
    <UI>
      <Dialog Id="ConfigSFSDlg" Width="370" Height="270" Title="SFS Assessment 
Engine Web Service Configuration">
      
                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" 
Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}SFS 
Configuration" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" TabSkip="no" Text="$(loc.InstallDirDlgBannerBitmap)" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />

                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="$(loc.WixUINext)">
                        <Publish Event="NewDialog" 
Value="[WixUI_ConfigSFSDlg_Next]">1</Publish>
                        <Condition Action="disable"><![CDATA[SFSPASSWORD <> 
SFSPASSWORD2]]></Condition>
                        <Condition Action="enable">SFSPASSWORD = 
SFSPASSWORD2</Condition>
        </Control>
        
                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="$(loc.WixUIBack)">
          <Publish Event="NewDialog" 
Value="[WixUI_ConfigSFSDlg_Back]">1</Publish>
        </Control>
        
                <Control Id="Cancel" Type="PushButton" X="304" Y="243" 
Width="56" Height="17" Cancel="yes" Text="$(loc.WixUICancel)">
          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
        
                <Control Type="Text" Width="43" Height="17" X="11" Y="51" 
Id="LblUsername" Text="Username:"/>
        <Control Type="Edit" Id="TxtUsername" X="90" Y="51" Width="136" 
Height="17" Property="SFSUSERNAME" />           

                <Control Type="Text" Width="46" Height="17" X="11" Y="78" 
Id="LblPassword" Text="Password:"/>
        <Control Type="Edit" Id="TxtPassword" X="90" Y="78" Width="136" 
Height="17" Property="SFSPASSWORD" Password="yes"/>             
        
                <Control Type="Text" Width="100" Height="17" X="230" Y="78" 
Id="LblPassMatch" Text="Passwords must match">
                        <Condition Action="show"><![CDATA[SFSPASSWORD <> 
SFSPASSWORD2]]></Condition>
                        <Condition Action="hide">SFSPASSWORD = 
SFSPASSWORD2</Condition>
                </Control>
                
                <Control Type="Text" Width="76" Height="17" X="11" Y="105" 
Id="LblPassword2" Text="Confirm Password:"/>
        <Control Type="Edit" Id="TxtPassword2" X="90" Y="105" Width="136" 
Height="17" Property="SFSPASSWORD2" Password="yes"/>          
        
                
                <Control Type="Text" Width="50" Height="17" X="11" Y="132" 
Id="LblEnvironment" Text="Environment:"/>
        <Control Type="ComboBox" ComboList="no" Width="136" Height="17" X="90" 
Y="132" Id="CmbEnv" Property="SFSENVIRONMENT" Text="Development">
                        <ComboBox Property="SFSENVIRONMENT">
                                <ListItem Text="Integration" 
Value="Integration"/>
                                <ListItem Text="Integration 2" 
Value="Integration 2"/>
                                <ListItem Text="System Test" Value="System 
Test"/>
                                <ListItem Text="System Test 2" Value="System 
Test 2"/>
                                <ListItem Text="UAT" Value="UAT"/>
                                <ListItem Text="Production" Value="Production"/>
                                <ListItem Text="Production Support Test" 
Value="Production Support Test"/>
                                <ListItem Text="Training" Value="Training"/>
                                <ListItem Text="Costing" Value="Costing"/>
                        </ComboBox>
                </Control>
                
                
      </Dialog>
    </UI>
  </Fragment>
</Wix>

-----Original Message-----
From: Jirong Hu [mailto:jirong...@gov.ab.ca] 
Sent: Wednesday, June 17, 2009 4:04 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Dialog View did not find a record for the dialog

Action 15:49:45: ConfigSFSDlg. Dialog created
DEBUG: Error 2803:  Dialog View did not find a record for the dialog

I got the above error while installing the msi file. I added a new dialog 
"ConfigSFSDlg" right after the "Welcome" dialog. I have a ConfigSFSDlg.wxs 
defines the screen. Below is a modified version of WixUI_InstallDir.wxs. Am I 
missing something? How does this WixUI_InstallDir.wxs knows about ConfigSFSDlg?


<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Fragment>
        <UI Id="WixUI_InstallDir_SFS">
            <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
            <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
            <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" 
Bold="yes" />

            <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
            <Property Id="WixUI_Mode" Value="InstallDir" />

            <DialogRef Id="ConfigSFSDlg" />
            <DialogRef Id="BrowseDlg" />
            <DialogRef Id="DiskCostDlg" />
            <DialogRef Id="ErrorDlg" />
            <DialogRef Id="FatalError" />
            <DialogRef Id="FilesInUse" />
            <DialogRef Id="MsiRMFilesInUse" />
            <DialogRef Id="PrepareDlg" />
            <DialogRef Id="ProgressDlg" />
            <DialogRef Id="ResumeDlg" />
            <DialogRef Id="UserExit" />

            <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" 
Value="Return" Order="999">1</Publish>
            <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 
Value="ConfigSFSDlg">1</Publish>

            <Publish Dialog="ConfigSFSDlg" Control="Back" Event="NewDialog" 
Value="WelcomeDlg">1</Publish>
            <Publish Dialog="ConfigSFSDlg" Control="Next" Event="NewDialog" 
Value="InstallDirDlg">1</Publish>

                                                <!--
            <Publish Dialog="LicenseAgreementDlg" Control="Back" 
Event="NewDialog" Value="WelcomeDlg">1</Publish>
            <Publish Dialog="LicenseAgreementDlg" Control="Next" 
Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>
                                                -->
            <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" 
Value="ConfigSFSDlg">1</Publish>

....


Thanks
Jirong Hu
Build Master
780-644-5488


This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal, and or privileged 
information. Please contact us immediately if you are not the intended 
recipient of this communication, and do not copy, distribute, or take action 
relying on it. Any communication received in error, or subsequent reply, should 
be deleted or destroyed.
------------------------------------------------------------------------------
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

This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal, and or privileged 
information. Please contact us immediately if you are not the intended 
recipient of this communication, and do not copy, distribute, or take action 
relying on it. Any communication received in error, or subsequent reply, should 
be deleted or destroyed.

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

Reply via email to