[wix-users] CustomExitDialog conflicts with ExitDialog on sequence when OnExit=success is used

Phil Wilson phil.wilson at mvps.org
Mon Sep 26 10:47:12 PDT 2016


There are some reserved numbers for UI exit dialogs, and -1 is the one for a
normal exit dialog (-3 is used for fatal error). Windows Installer goes to
these dialog by number, not by name. If you want to substitute that your own
dialog it must therefore be -1, and renumber or delete the default -1
dialog. Duplicate number aren't a good thing either. 

Phil W 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
hicham.seffendji at bt.com
Sent: Monday, September 26, 2016 3:32 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] CustomExitDialog conflicts with ExitDialog on sequence
when OnExit=success is used

Hi,

I have created MyExitDialog in a separate wxs file with:

      <InstallUISequence>
              <Show Dialog="MyExitDialog" After="VerifyReadyDlg" />
</InstallUISequence>

The project fails to build and complains about:

Error 30 ICE82: This action MyExitDialog has duplicate sequence number -1 in
the table InstallUISequence

The moment I change OnExit to something else (sequence or After/Before), it
works fine. What I really want is OnExit to override the ExitDialog's
behaviour.

I am using WiX 3.9 by the way. Any help would be appreciated


Kind Regards,

Hicham Seffendji

Software Engineer
Mobile Apps, Future Voice.
BT Technology, Service & Operations
PP10, Orion 1 - Adastral Park - Martlesham Heath - Ipswich - SUFFOLK IP5 3RE
email - hicham.seffendji at bt.com<mailto:hicham.seffendji at bt.com>
mobile - 07954 079979


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/





More information about the wix-users mailing list