Reputation: 2151
I construct installer with custom dialogs and want to set action for the Next
button to go to the directory selection dialog. So I use this code:
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Event="NewDialog" Value="InstallDirDlg">1</Publish>
</Control>
But the InstallDirDlg
dialog is unknown here because I don't include WixUI_InstallDir
schema.
So can I include it somehow or I should find the InstallDirDlg
source and copy it to my .wxs
?
(I try to modify the samples code SampleCustomUI7.wxs
from the WiX tutorial).
Upvotes: 1
Views: 3333
Reputation: 12245
I think you should refer to documentation, it has exactly this example in chapter "Customizing Built-in WixUI Dialog Sets", based on your "WixUI_InstallDir" UI type:
Inserting a custom dialog into a built-in dialog set
Upvotes: 1