[wix-users] CustomExitDialog conflicts with ExitDialog on sequence when OnExit=success is used
hicham.seffendji at bt.com
hicham.seffendji at bt.com
Wed Sep 28 03:58:26 PDT 2016
Thanks for your reply Phil. The problem is I am not able to renumber or delete the default ExitDialog as I do not have access to its wxs. I know it is available on GitHub but the way I am using it in the project is by reference (not adding the classes). Do you reckon it's a good idea if I checkout the source from GitHug, alter it then build a new binary to use with my project?
Regards,
Hicham
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phil Wilson
Sent: 26 September 2016 18:47
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] CustomExitDialog conflicts with ExitDialog on sequence when OnExit=success is used
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/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list