Hello wix users!

I have the following <UI> setup:

    <!-- Use the built in WixUI_InstallDir GUI -->
    <UIRef Id="WixUI_InstallDir" />
    <UI>
      <!-- These dialog references are needed for CloseApplication above to 
work correctly -->
      <DialogRef Id="FilesInUse" />
      <DialogRef Id="MsiRMFilesInUse" />
 
      <!-- Here we'll add the GUI logic for installation and updating-->
      <!-- BEGIN UI LOGIC FOR CLEAN INSTALLER -->
      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 
Value="LicenseAgreementDialogOverwritten">1</Publish>
      <Publish Dialog="LicenseAgreementDialogOverwritten" Control="Back" 
Event="NewDialog" Value="WelcomeDlg">1</Publish>
      <Publish Dialog="LicenseAgreementDialogOverwritten" Control="Next" 
Event="NewDialog" Value="InstallDirDlg">LicenseAcceptedOverwritten = 
"1"</Publish>
      <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" 
Value="LicenseAgreementDialogOverwritten">1</Publish>
      <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" 
Value="WinNTCredDlg" Order="4">1</Publish>      
      <Publish Dialog="WinNTCredDlg" Control="Back" Event="NewDialog" 
Value="InstallDirDlg">1</Publish>
      <Publish Dialog="WinNTCredDlg" Control="Next" Event="NewDialog" 
Value="OcsConfigurationDlg">VALIDWINDOWSUSERCREDENTIALS = "1"</Publish>  
      <Publish Dialog="OcsConfigurationDlg" Control="Back" Event="NewDialog" 
Value="WinNTCredDlg">1</Publish>
      <Publish Dialog="OcsConfigurationDlg" Control="Next" Event="NewDialog" 
Value="SqlConfigurationDlg">OCSVALUESVALIDATED = "1" </Publish>
      <Publish Dialog="SqlConfigurationDlg" Control="Back" Event="NewDialog" 
Value="OcsConfigurationDlg">1</Publish>
      <Publish Dialog="SqlConfigurationDlg" Control="Next" Event="NewDialog" 
Value="VerifyReadyDlg">SQLCONNECTIONSTRINGVALIDATED = "1" </Publish>
      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" 
Value="SqlConfigurationDlg">1</Publish>
      <!-- END UI LOGIC FOR CLEAN INSTALLER -->
 
    </UI>

When i run my installation, as soon as i click "Next" in my WinNTCredDlg Dialog,

the installer jumps to the progress bar where it starts installing the 
files(The dialog after VerifyReadyDlg).  

The "Next" Control in my WinNTCredDlg is as follows:
        <Control Type="PushButton" Id="Next" Width="56" Height="17" X="236" 
Y="243" Default="no" Text="!(loc.WixUINext)">
          <Publish Event="DoAction" Value="WindowsAccountValidation">1</Publish>
          <Publish Property="VALIDWINDOWSUSERCREDENTIALS" 
Value="[VALIDWINDOWSUSERCREDENTIALS]">1</Publish>
          <Publish Event="SpawnDialog" Value="InvalidWinNTCredentialsDlg">
            <![CDATA[VALIDWINDOWSUSERCREDENTIALS <> "1" ]]>
          </Publish>
          <Publish Event="EndDialog" Value="Return">
            <![CDATA[VALIDWINDOWSUSERCREDENTIALS <> "0"]]>
          </Publish>
        </Control>

Any ideas? Is there a limit on how many dialogs you can use in the default 
WixUI_InstallDir?

Thanks in advance, 
Stelios


-- 
Stelios Kyprou
Systems Engineer
Formicary - delivering quality financial technology solutions(TM)
www.formicary.net


----------------------------------------------------------------------------
This message is confidential and may be privileged. It is intended solely for
the named addressee. If you are not the intended recipient, please inform us.
Any unauthorised dissemination, distribution or copying hereof is prohibited.

Formicary Limited registered office in England and Wales, address 1 Taillar
Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT number
747644304, does not guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses, interceptions or
interference.
----------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to