[wix-users] Custom Exit Dialog errors
Joel Budreau
joel.budreau at gmail.com
Thu Jul 14 09:02:47 PDT 2016
If you download the wix source and look at wix3\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs you’ll see that it references ‘ExitDialog’. If you open ExitDialog.wxs, in the same folder, you’ll see this at the bottom of the file:
<InstallUISequence>
<Show Dialog="ExitDialog" OnExit="success" Overridable="yes" />
</InstallUISequence>
<AdminUISequence>
<Show Dialog="ExitDialog" OnExit="success" Overridable="yes" />
</AdminUISequence>
You might be able to ‘turn off’ this dialog and enable your custom exit dialog by adding these lines to your wix source:
<InstallUISequence>
<Show Dialog="ExitDialog" Sequence=“<some number>”>NEVER</Show>
</InstallUISequence>
<AdminUISequence>
<Show Dialog="ExitDialog" Sequence=“<some number>”>NEVER</Show>
</AdminUISequence>
Now, the dialog’s sequence in the InstallUISequence and AdminUISequence has been changed, and it’s conditioned to never display. Now you’re free to apply your own custom finish dialog.
- Joel
> On Jul 14, 2016, at 1:02 AM, Matsumura Risa (AA-AS/EOS32) <Risa.Matsumura at uk.bosch.com> wrote:
>
> Hi Joel,
>
> I’m using WixUI_InstallDir.
>
> Thanks,
> Risa
> From: Joel Budreau [mailto:joel.budreau at gmail.com]
> Sent: 13 July 2016 17:41
> To: Matsumura Risa (AA-AS/EOS32) <Risa.Matsumura at uk.bosch.com>
> Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Custom Exit Dialog errors
>
> Are you making use of a wix ui template like WixUI_Advanced or WixUI_InstallDir?
>
> On Wed, Jul 13, 2016 at 8:55 AM, Matsumura Risa (AA-AS/EOS32) <Risa.Matsumura at uk.bosch.com <mailto:Risa.Matsumura at uk.bosch.com>> wrote:
> Hi Joel,
>
> Thank you for your comment. I'm not quite sure how I can remove the existing dialog from my build. What do you need to do to achieve that?
>
> Regards,
> Risa
>
> -----Original Message-----
> From: Joel Budreau [mailto:joel.budreau at gmail.com <mailto:joel.budreau at gmail.com>]
> Sent: 13 July 2016 16:01
> To: Matsumura Risa (AA-AS/EOS32) <Risa.Matsumura at uk.bosch.com <mailto:Risa.Matsumura at uk.bosch.com>>
> Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org <mailto:wix-users at lists.wixtoolset.org>>
> Subject: Re: [wix-users] Custom Exit Dialog errors
>
> MSI can only have one dialog set to OnExit=“success” in each sequence. My guess is that if you want to add this CustomExitDlg, you’ll need to find the existing dialog that’s set to OnExit=“success” and drop it from your build.
>
> - Joel
> > On Jul 13, 2016, at 7:54 AM, Matsumura Risa (AA-AS/EOS32) <Risa.Matsumura at uk.bosch.com <mailto:Risa.Matsumura at uk.bosch.com>> wrote:
> >
> > Hi all,
> >
> > I've created a custom exit dialog but getting errors:
> >
> > LGHT0204: ICE82: This action CustomExitDlg has duplicate sequence number -1 in the table InstallUISequence
> > LGHT0204: ICE82: This action CustomExitDlg has duplicate sequence number -1 in the table AdminUISequence
> >
> >
> > All I did was to create a custom dialog, then added:
> > <InstallUISequence><Show Dialog="CustomExitDlg" OnExit="success" /> </InstallUISequence>
> >
> > <AdminUISequence><Show Dialog=" CustomExitDlg " OnExit="success" Overridable="yes" /></AdminUISequence>
> >
> > and <Publish Dialog="CustomExitDlg" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
> >
> > Has anyone come across the same problem before? Any help appreciated.
> >
> > Thank you,
> > Risa
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ <http://www.firegiant.com/>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ <http://www.firegiant.com/>
More information about the wix-users
mailing list