I'm trying to customize the WixUI_Advanced dialog set, and had something
fairly simple, but it doesn't seem to work the way I expected. I'd like the
Welcome dialog to show up always (not just when doing a patch), so I copied
the WixUI_Advanced.wxs internals and changed the InstallSequence at the end
to say
<Show Dialog="WelcomeDlg" Before="AdvancedWelcomeEulaDlg"
>1</Show>
(the condition used to be 'Installed AND PATCH'.
Now, if I run an initial install, things look okay until I get to the end of
the Feature dialog, at which point the AdvancedEulaDlg shows up. Looking at
the MSI in Orca, I see
the following:
Action Condition Sequence
WelcomeDlg 1 1295
AdvancedWelcomeEulaDlg NOT Installed 1296
MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected AND
NOT PATCH 1297
ResumeDlg Installed AND (RESUME OR Preselected)
ProgressDlg
ExecuteAction
The conditions for AdvancedWelcomeEulaDlg and the others are baked into
their .wxs files in UIExtension. I assume what was intended is that during
InstallUISequence, each will be evaluated as an initial condition and that
particular dialog will show up (and none of the others will later evaluate
to true), and then Next and Back definitions will dictate what happens
next. That's reasonable. However, it appears I'm then unable to dictate my
own initial dialog (WelcomeDlg always, in our case). Is there some way to
remove the 'InstallSequence' items for the other dialogs without actually
copying and modifying the dialog .wxs source files? I couldn't find one,
but would love a pointer to something that explains how to do it.
Thanks!
Dave
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users