Hi all,

For posterity's sake, the problem turned out to be that I had changed
the 'Publish' action that generates a 'Return' event when you press
the 'Finish' button. In the original source of WixUI_InstallDir it is:

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

But I removed the condition, so it had become

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

Now according to the WiX documentation the condition of Publish is
"optional", but it does not say what it defaults to when it is not
present. I assumed it would default to "1", but apparently it doesn't.
I still don't really understand what it does default to. It looks like
the event is issued only when no other 'Publish' element matches when
you don't specify a condition.

Regards,
Reinier

2010/1/15 Reinier Lamers <lam...@textkernel.nl>:
> Hi all,
>
> I tried to apply the "How To: Run the installed application after
> installation" chapter from the WiX manual in a WiX file that also
> contains a modified version of the WixUI_InstallDir dialog that does
> not show an EULA confirmation dialog.
>
> I added this Publish tag just before the </UI> closing tag:
>
>            <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction"
>                     Value="LaunchLicenseManager">
>              WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed
>            </Publish>
>
> For some reason, the installation wizard does not exit when it runs
> the application. It does exit when I uncheck the "Launch application"
> checkbox and I press finish.
>
> Must I have made some mistake or is the howto mistaken?
>
> As an extra clue, I see a shell window behind the application window
> when it is run from the installer. Does this mean that the installed
> EXE is a console application? If so, could it help to compile it as a
> GUI application?
>
> --
> Met vriendelijke groet, Kind regards,
> Reinier Lamers
> Textkernel BV
>



-- 
Met vriendelijke groet, Kind regards,
Reinier Lamers
Textkernel BV

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to