[wix-users] Need help with making custom dialog launch SetupTypeDlg
Gary M
garym at oedata.com
Thu Apr 21 20:21:30 PDT 2016
I'll answer my own question:
The SetupTypeDlg does not like the value in property "ProductID".
Code: <Publish Event="NewDialog" Value="SetupTypeDlg">ProductID</Publish>
Fix:
Change property "ProductID to the number "1" and the SetupTypeDlg launches.
Code: Code: <Publish Event="NewDialog" Value="SetupTypeDlg">1</Publish>
On Thu, Apr 21, 2016 at 8:47 PM, Gary M <garym at oedata.com> wrote:
> I'm trying to inserting a custom dialog into the Mondo chain between
> LicenseAgreementDlg and SetupTypeDlg. I started with the tutorial on the
> WIX website.
>
> The custom dialog launches via the LicenseAgreementDlg Next button. The
> custom dialog navigates back as well as executed the "cancel sequence.
>
> The custom dialog will not launch the SetupTypeDlg. I'm at a loss to
> understand why this does not work.
>
>
> This is the bottom of the custom dialog:
>
> <Control Id="BottomLine" Type="Line" X="0" Y="352" Width="370"
> Height="0" />
> <Control Id="Back" Type="PushButton" X="180" Y="361" Width="56"
> Height="17" Text="&Back">
> <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
> </Control>
> <Control Id="Next" Type="PushButton" X="236" Y="361" Width="56"
> Height="17" Default="yes" Text="&Next">
> <Publish Event="NewDialog" Value="SetupTypeDlg">ProductID</Publish>
> </Control>
> <Control Id="Cancel" Type="PushButton" X="304" Y="361" Width="56"
> Height="17" Cancel="yes" Text="Cancel">
> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
> </Control>
> </Dialog>
>
>
> This is the code inserting the custom dialog into the mondo sequence:
> <Fragment>
> <UI Id="UI.WORKFLOW">
> <UIRef Id="WixUI_Mondo" />
> <UIRef Id="WixUI_ErrorProgressText" />
>
> <DialogRef Id="AdminInfoDlg" />
> <!-- tell license dialog to call Admin Info dialog when "Next"
> button is clicked -->
> <Publish Dialog="LicenseAgreementDlg" Control="Next"
> Event="NewDialog" Value="AdminInfoDlg" Order="3">LicenseAccepted =
> "1"</Publish>
> <!-- tell "setup type" dialog to call Admin Info dialog when next
> button is clicked -->
> <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"
> Value="AdminInfoDlg"></Publish>
> </UI>
> </Fragment>
>
>
> thx
> -g
>
>
>
>
More information about the wix-users
mailing list