<P>Levi, thanks for this information, i think the penny has finally
dropped. There is no need to recompile anything, just cut and paste
xml.</P>
<P>Using the Wiki example <A
href="http://www.wixwiki.com/index.php?title=WixUI_Custom">http://www.wixwiki.com/index.php?title=WixUI_Custom</A>
as base i have been able to successfully<BR>insert the license key
dialog.</P>
<P>For other people who are stuggling, here is how i did it</P>
<P>To insert the license key dialog described in the <A
href="http://www.wixwiki.com/index.php?title=WixUI_Custom">http://www.wixwiki.com/index.php?title=WixUI_Custom</A>
into the WixUI_Mondo <BR>sequence...</P>
<P>1) Download the WIX source package <BR>2) Extract the package
and browse to the {sourcedir}\src\ext\UIExtension\wixlib<BR>3) Open the
file WixUI_Mondo.wxs and copy the entire <UI> section from
it<BR>4) Replace the Wiki example <UI> section with the
<UI> section from WixUI_Mondo.wxs<BR>5) Add the new
<dialog> code from the example to <UI> section<BR>6) Rewire
the Next and Back buttons, as per the original example<BR>7) Re-insert
the template for the license key entry control
<BR> <Property Id="PIDTemplate" Value="####-####-####-####"
/><BR>8) No need to recompile the WixUIExtension.dll just use -ext
WixUIExtension.dll as normal</P>
<P> </P>
<P><BR>You should end up with something looking similar to this </P>
<P> <!--WixUI_Mondo.wxs includes this so we need
it --><BR> <UIRef Id="WixUI_Common" /></P>
<P> <FONT color=#0000ff size=2></P>
<P><</FONT><FONT color=#a31515 size=2>UI</FONT><FONT color=#0000ff
size=2> </FONT><FONT color=#ff0000 size=2>Id</FONT><FONT color=#0000ff
size=2>=</FONT><FONT size=2>"</FONT><FONT color=#0000ff
size=2>WixUI_Mondo</FONT><FONT size=2>"</FONT><FONT color=#0000ff
size=2>></FONT><BR> <Property
Id="PIDTemplate" Value="####-####-####-####" /></P>
<P> <TextStyle Id="WixUI_Font_Normal"
FaceName="Tahoma" Size="8" /><BR>
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12"
/><BR> <TextStyle Id="WixUI_Font_Title"
FaceName="Tahoma" Size="9" Bold="yes" /></P>
<P> <Property Id="DefaultUIFont"
Value="WixUI_Font_Normal" /><BR>
<Property Id="WixUI_Mode" Value="Mondo" /></P>
<P><BR> <DialogRef Id="ErrorDlg"
/><BR> <DialogRef Id="FatalError"
/><BR> <DialogRef Id="FilesInUse"
/><BR> <DialogRef Id="MsiRMFilesInUse"
/><BR> <DialogRef Id="PrepareDlg"
/><BR> <DialogRef Id="ProgressDlg"
/><BR> <DialogRef Id="ResumeDlg"
/><BR> <DialogRef Id="UserExit"
/></P>
<P> <Publish Dialog="ExitDialog"
Control="Finish" Event="EndDialog" Value="Return"
Order="999">1</Publish><BR>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish><BR> <BR>
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish><BR>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
Value="LicenseKeyDlg" Order="2">LicenseAccepted = "1"</Publish></P>
<P> <Publish Dialog="LicenseKeyDlg"
Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish><BR>
<Publish Dialog="LicenseKeyDlg" Control="Next" Event="ValidateProductID"
Value="[PIDKEY]"
Order="1">1</Publish><BR> <Publish
Dialog="LicenseKeyDlg" Control="Next" Event="NewDialog" Value="SetupTypeDlg"
Order="2">ProductID</Publish><BR>
<BR> <Publish Dialog="SetupTypeDlg"
Control="Back" Event="NewDialog"
Value="LicenseKeyDlg">1</Publish><BR>
<Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish><BR>
<Publish Dialog="SetupTypeDlg" Control="CustomButton" Event="NewDialog"
Value="CustomizeDlg">1</Publish><BR>
<Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish></P>
<P> <Publish Dialog="CustomizeDlg"
Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg"
Order="1">WixUI_InstallMode =
"Change"</Publish><BR> <Publish
Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg"
Order="2">WixUI_InstallMode =
"InstallCustom"</Publish><BR>
<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish></P>
<P> <Publish Dialog="VerifyReadyDlg"
Control="Back" Event="NewDialog" Value="CustomizeDlg"
Order="1">WixUI_InstallMode =
"InstallCustom"</Publish><BR>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR
WixUI_InstallMode =
"InstallComplete"</Publish><BR>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="CustomizeDlg" Order="3">WixUI_InstallMode =
"Change"</Publish><BR> <Publish
Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="MaintenanceTypeDlg" Order="4">WixUI_InstallMode = "Repair" OR
WixUI_InstallMode = "Remove"</Publish></P>
<P> <Publish Dialog="MaintenanceWelcomeDlg"
Control="Next" Event="NewDialog"
Value="MaintenanceTypeDlg">1</Publish></P>
<P> <Publish Dialog="MaintenanceTypeDlg"
Control="ChangeButton" Event="NewDialog"
Value="CustomizeDlg">1</Publish><BR>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton"
Event="NewDialog"
Value="VerifyReadyDlg">1</Publish><BR>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton"
Event="NewDialog"
Value="VerifyReadyDlg">1</Publish><BR>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish></P>
<P><BR> <Dialog Id="LicenseKeyDlg"
Width="370" Height="270" Title="[ProductName]
Setup"><BR> <Control
Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15"
Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}User Information"
/><BR> <Control
Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15"
Transparent="yes" NoPrefix="yes" Text="Enter the following information to
personalize your installation"
/><BR> <Control
Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44"
TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)"
/><BR> <Control
Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /></P>
<P> <Control Id="UserNameLabel"
Type="Text" X="20" Y="60" Width="290" Height="13" Text="Full Name:"
/><BR> <Control
Id="UserName" Type="Edit" X="20" Y="72" Width="320" Height="18"
Property="USERNAME"
Text="47"/><BR> <Control
Id="OrgNameLabel" Type="Text" X="20" Y="93" Width="290" Height="13"
Text="Organization:" /><BR>
<Control Id="OrgName" Type="Edit" X="20" Y="105" Width="320" Height="18"
Property="COMPANYNAME" Text="{53}"
/><BR> <Control
Id="LicenseKeyLabel" Type="Text" X="20" Y="126" Width="290" Height="13"
Text="License Key:" /><BR>
<Control Id="LicenseKey" Type="MaskedEdit" X="20" Y="139" Width="320"
Height="15" Property="PIDKEY" Text="[PIDTemplate]" /></P>
<P> <Control Id="BottomLine"
Type="Line" X="0" Y="234" Width="370" Height="0"
/><BR> <Control Id="Next"
Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes"
Text="Next" /><BR> <Control
Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17"
Text="Back" /><BR> <Control
Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17"
Cancel="yes"
Text="Cancel"><BR>
<Publish Event="SpawnDialog"
Value="CancelDlg">1</Publish><BR>
</Control><BR>
</Dialog><BR> </UI></P>
<P> <BR></P>
<BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">--------- Original Message --------<BR>From:
"Levi Wilson" <***@gmail.com><BR>To: "Scullum"
<***@nildram.co.uk>, "wix-***@lists.sourceforge.net"
<wix-***@lists.sourceforge.net><BR>Subject: Re: [WiX-users] User
Interface Help Needed On Displaying A Custom DIalog<BR>Date: 11/01/07
13:58<BR><BR>I don't believe that you have to recompile the UIExtension.dll
to achieve what you want. If you take a look at <A
href="http://www.wixwiki.com/index.php?title=WixUI_Custom">http://www.wixwiki.com/index.php?title=WixUI_Custom </A>you'll notice that they have a <UIRef /> tag that references the
common dialogs. Then underneath in their <UI /> tag is where
they basically define the same sequence that the WixUI_InstallDir.wxs
defines (found in the src/ext/UIExtension/wixlib directory), and then adds
the appropriate tags in there for the LicenseKeyDlg that they also define in
there. This would be defined in your main .wxs file I believe.
Then you just candle / light it and you should be good to go. You
don't need to recompile the UIExtension.dll.<BR><BR>
<DIV><SPAN class=gmail_quote>On 1/11/07, <B
class=gmail_sendername>Scullum</B> <<A
href="mailto:***@nildram.co.uk">***@nildram.co.uk</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt
0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Sorry for being such an
idiot. I dont know how i missed this in the wiki.. much
appreciated.<BR><BR>So basically, I have to recompile the entire
UIExtension.dll with my necessary dialogs inside; not too much of a
problem. <BR><BR>As an aside has anyone already created a new
UIExtension with IIS settings akin to the freebie websetup installer you get
with VS.<BR><BR>Wishfully thinking that maybe some internal microsoft
product uses this and may release the dialog code as a starting
point<BR><BR>Thanks for all the help thus
far<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial; font-size-adjust: none; font-stretch:
normal"><SPAN class=q>--------- Original Message -------- <BR>From: "Rob
MacFadyen" <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:***@rmtrack.com"
target=_blank>***@rmtrack.com</A>><BR>To: "'Bob Arnson'" <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:***@bobs.org" target=_blank>***@bobs.org</A>>, "'Scullum'"
<<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:***@nildram.co.uk" target=_blank>
***@nildram.co.uk</A>><BR>Cc: <A onclick="return
top.js.OpenExtLink(window,event,this)"
href="mailto:wix-***@lists.sourceforge.net"
target=_blank>wix-***@lists.sourceforge.net</A><BR></SPAN>
<DIV><SPAN class=e id=q_110116d29b7dcff3_2>Subject: RE: [WiX-users] User
Interface Help Needed On Displaying A Custom DIalog<BR>Date: 11/01/07
11:14<BR><BR><FONT face="Courier New" size=2><BR>There's a list of dialogs
(with screen shots) at:<BR><A onclick="return
top.js.OpenExtLink(window,event,this)"
href="http://www.wixwiki.com/index.php?title=UiExtension"
target=_blank>http://www.wixwiki.com/index.php?title=UiExtension</A><BR><BR>Regards,<BR><BR>Rob<BR><BR>-----Original
Message-----<BR>From: <A onclick="return
top.js.OpenExtLink(window,event,this)"
href="mailto:wix-users-***@lists.sourceforge.net"
target=_blank>wix-users-***@lists.sourceforge.net</A><BR>[mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:wix-users-***@lists.sourceforge.net" target=_blank>
wix-users-***@lists.sourceforge.net</A>] On Behalf Of Bob
Arnson<BR>Sent: Wednesday, January 10, 2007 11:57 PM<BR>To: Scullum<BR>Cc:
<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:wix-***@lists.sourceforge.net"
target=_blank>wix-***@lists.sourceforge.net</A><BR>Subject: Re:
[WiX-users] User Interface Help Needed On Displaying A
Custom<BR>DIalog<BR><BR>Scullum wrote:<BR>><BR>> Error LGHT0204:
ICE17: PushButton: 'Next' of Dialog: 'InstallDirDlg'<BR>> does not have
an event defined in the ControlEvent table. It is a 'Do<BR>> Nothing'
button.<BR>><BR><BR>WixUI_Mondo doesn't use InstallDirDlg -- are you
referencing it?<BR><BR>> But i do not know the names of all the dialogs,
what would this be<BR>> called. Is there a of the dialog names somewhere,
i have looked in<BR>> the user guide and the wiki but have not found
anything of relevance<BR>><BR><BR>There's no such list. If you're
customizing the UI, it's assumed you're also<BR>looking at the source code
in src/ext/UIExtension/wixlib.<BR>><BR>> Secondly assuming the custom
install dialog is called<BR>> 'CustomInstallDlg' would this be sufficient
to display my dialog<BR>> within the sequence?<BR>> <Publish
Dialog="LicenseAgreementDlg" Control="Next"<BR>> Event="NewDialog"
Value="CustomInstallDlg">LicenseAccepted =<BR>>
"1"</Publish><BR>><BR><BR>You have to provide an entire dialog set;
you can't just override the<BR>dialogs you're interested in. You have to
replace WixUI_Mondo, for example,<BR>by copying it and updating the
Back/Next control events to refer to your<BR>custom
dialog.<BR><BR>--<BR>sig://boB<BR><A onclick="return
top.js.OpenExtLink(window,event,this)" href="http://bobs.org/"
target=_blank>http://bobs.org</A><BR><BR><BR><BR>-------------------------------------------------------------------------
<BR>Take Surveys. Earn Cash. Influence the Future of IT<BR>Join
SourceForge.net's Techsay panel and you'll get the chance to share
your<BR>opinions on IT & business topics through brief surveys - and
earn cash<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV"
target=_blank>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</A><BR>_______________________________________________<BR>WiX-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:WiX-***@lists.sourceforge.net"
target=_blank>WiX-***@lists.sourceforge.net</A><BR><A onclick="return
top.js.OpenExtLink(window,event,this)"
href="https://lists.sourceforge.net/lists/listinfo/wix-users"
target=_blank>https://lists.sourceforge.net/lists/listinfo/wix-users</A><BR><BR><BR><BR><BR><BR><BR></FONT></SPAN></DIV></DIV></BLOCKQUOTE><BR>
<DIV><SPAN class=e
id=q_110116d29b7dcff3_4><BR>________________________________________________<BR>Message
sent using UebiMiau
2.7.2<BR></SPAN></DIV><BR>-------------------------------------------------------------------------<BR>Take
Surveys. Earn Cash. Influence the Future of IT<BR>Join SourceForge.net's
Techsay panel and you'll get the chance to share your <BR>opinions on IT
& business topics through brief surveys - and earn cash<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV"
target=_blank>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</A><BR><BR>_______________________________________________<BR>WiX-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:WiX-***@lists.sourceforge.net">WiX-***@lists.sourceforge.net</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.sourceforge.net/lists/listinfo/wix-users"
target=_blank>https://lists.sourceforge.net/lists/listinfo/wix-users
</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE><BR />
<BR />
________________________________________________<BR />
Message sent using UebiMiau 2.7.2<BR />