You don't need the 2nd entry in the InstallUISequence you pasted below. Remove 
it as it's likely giving you false results.

The next button on your "GetRackspaceCreds" dialog is being mapped to something 
called "PrepareDlg" which doesn't exist in your authoring. However that's a 
problem you'll hit after you fix your current issue.

Your problem is that you've used the WelcomeEulaDlg without modification. Open 
up the .wxs for it & you'll see it contains a load of Publish Events to go 
straight into the InstallExecuteSequence. The fact that you've got your dialog 
to spawn once only happens because of the InstallUISequence entry.

I suggest using WiXUI_InstallDir for this type of thing. WiXUI_Minimal doesn't 
lend itself to this sort of modification very easily for this very reason.

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 


-----Original Message-----
From: Rob Emanuele [mailto:robert.emanu...@rackspace.com] 
Sent: 23 October 2013 04:20
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Back/Next Issues

Greetings,

This is my first time trying to add a dialog to the Minimal install.  I'm 
trying to add a credential dialog so installing users can automatically set up 
their configuration.  The new dialog I've inserted has back/next buttons but 
when going back to the WelcomeEula and the hitting next, the credentials dialog 
is skipped.

..snip..

    <UI Id="WixUI_Minimal">
      <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="Minimal" />

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

      <!-- This is the welcome dialog you specified-->
      <DialogRef Id="WelcomeEulaDlg" />

      <!-- Hook the new welcome dialog to the next one in the stack-->
      <Publish Dialog="WelcomeEulaDlg" Control="Install" Event="NewDialog" 
Value="GetRackspaceCreds">1</Publish>

      <Publish Dialog="GetRackspaceCreds" Control="Back" Event="NewDialog" 
Value="WelcomeEulaDlg">1</Publish>
      <Publish Dialog="GetRackspaceCreds" Control="Next" Event="NewDialog" 
Value="PrepareDlg">1</Publish>

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

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceTypeDlg">1</Publish>

      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" 
Value="MaintenanceTypeDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" 
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" 
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
      <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceWelcomeDlg">1</Publish>

      <Property Id="ARPNOMODIFY" Value="1" />

      <Dialog Id="GetRackspaceCreds" Width="370" Height="270" 
Title="!(loc.InstallDirDlg_Title) Credentials">
        <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" 
TabSkip="no" Text="!(loc.WelcomeEulaDlgBitmap)" />
        <Control Id="Title" Type="Text" X="130" Y="6" Width="225" Height="30" 
Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeEulaDlgTitle)" />

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUINext)" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="!(loc.WixUIBack)" />
        <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>
      </Dialog>

      <InstallUISequence>
        <Show Dialog="WelcomeEulaDlg" Before="GetRackspaceCreds">NOT 
Installed</Show>
        <Show Dialog="GetRackspaceCreds" Before="ProgressDlg">NOT 
Installed</Show>
      </InstallUISequence>

    </UI>

..snip..


Thanks for your help,

Rob

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to