[wix-users] Fwd: CustomAction

Gustavo Ojeda gustavo.ojeda at tallertechnologies.com
Fri Feb 24 07:58:20 PST 2017


Hi,

My name is Gustavo, and I am trying to handle the default cancel button on
my MSI Installer (I did not define my own UI)
In order to do that I define a custom action like:

*<CustomAction Id="CancelUninstall"      Execute="immediate"
 FileKey="myDll.dll" DllEntry="NotifyCancel"/>*
*<CustomAction Id="OtherAction"      Execute="immediate"
 FileKey="myDll.dll" DllEntry="OtherAction"/>*


And in the install sequence is registered like:

<*InstallExecuteSequence*>
            <*Custom Action*="*CancelUninstall*" *OnExit*="*cancel*" />
            <*Custom Action*="*OtherAction*"      *After*="*InstallFinalize*"
/>
</*InstallExecuteSequence*>

But I am having the following error:

*ICE75: CancelUninstall is a custom action whose source is an installed
file.  It must be sequenced after the CostFinalize action in the
InstallExecuteSequence Sequence table*

What am I missing here? How can I handle this a behaviour like this?

Best Regards,


-- 
<http://www.tallertechnologies.com>
Gustavo Ojeda
Software Engineer

San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina

Phone: +54 351 4217888 / +54 351 4218211
Skype: gvo.ojeda


More information about the wix-users mailing list