Thanks for the link to the wiki http://www.wixwiki.com/index.php?title=WixUI_Custom very useful

But i am still confused, my end goal is to provide a dialog allowing the user to select the website to install to, much like the websetup installer created by visual studio.

The chm manual states ::

  You could insert a dialog between WelcomeDlg and LicenseAgreementDlg by changing the control events for the Back and Next buttons of the dialogs before and after the one you want to add. For example:
  <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="SpecialDlg">1</Publish>
  <Publish Dialog="SpecialDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
  <Publish Dialog="SpecialDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
  <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="SpecialDlg">1</Publish>
  <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>

 

Creating a simple dialog and using this example, pasting it into my WIX file gives me an error

Error LGHT0204: ICE17: PushButton: 'Next' of Dialog: 'InstallDirDlg' does not have an event defined in the ControlEvent table. It is a 'Do Nothing' button.
Error LGHT0204: ICE17: PushButton: 'Back' of Dialog: 'InstallDirDlg' does not have an event defined in the ControlEvent table. It is a 'Do Nothing' button.
Error LGHT0204: ICE17: PushButton: 'ChangeFolder' of Dialog: 'InstallDirDlg' does not have an event defined in the ControlEvent table. It is a 'Do Nothing' button.

Firstly i understand that with a WixUI_Mondo UI, LicenseAgreementDlg next button should wire up to custom install dialog. 
But i do not know the names of all the dialogs, what would this be called.  Is there a of the dialog names somewhere, i have looked in the user guide and the wiki but have not found anything of relevance

Secondly assuming the custom install dialog is called 'CustomInstallDlg' would this be sufficient to display my dialog within the sequence?
     <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomInstallDlg">LicenseAccepted = "1"</Publish>

Have i missed something very fundemental here.

Thanks for all your continued support/help sofar

   
    <UIRef Id="WixUI_Mondo"/>
    <UIRef Id="WixUI_ErrorProgressText" />

    <UI>
      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="SpecialDlg">1</Publish>
      <Publish Dialog="SpecialDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
      <Publish Dialog="SpecialDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="SpecialDlg">1</Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>

<!-- Assume Custom Installation dialog is called CustomInstallDlg
     <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomInstallDlg">LicenseAccepted = "1"</Publish>
-->
     
      <Dialog Width="370" Height="270" Id="SpecialDlg">
          <Control Type="Text" Width="50" Height="17" X="150" Y="116" Id="Hello" TabSkip="no">
            <Text>Hello World</Text>
          </Control>

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel">
          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
        </Dialog>
    </UI>



________________________________________________
Message sent using UebiMiau 2.7.2
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to