[wix-users] Fwd: CustomAction

Gustavo Ojeda gustavo.ojeda at tallertechnologies.com
Fri Feb 24 10:58:42 PST 2017


Thanks,

That works!

However now I am having an issue when the custom action is going to be
executed. I get the following
error:

*SFXCA: Failed to get requested CLR info. Error code 0x80131700*

I am still doing some research, but in case someone already handle this
issue please let me know.

Thanks,



On Fri, Feb 24, 2017 at 1:12 PM, Lewis Henderson <henderso at opentext.com>
wrote:

> Hi Gustavo,
>
> When doing CustomActions, I usually use the BinaryKey attribute instead of
> FileKey, and have myDll.dll defined in a <Binary ... /> element.  That
> causes myDll.dll to  be an installer temporary file, and doesn't depend on
> the CostFinalize action.  I hope this helps.
>
>                                 Lewis Henderson
>                                 OpenText Corp.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Gustavo Ojeda
> Sent: Friday, February 24, 2017 10:58 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Fwd: CustomAction
>
> 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,
>
>
> --
> <https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.tallertechnologies.com&d=DwIGaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=
> yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=_
> m3oiSQoRnVn6OQj81DXaN6YJngR6LbZqY5_BrRQozo&s=l1K_
> XasUexwORLWot4uUuPUOcycVYKXQTcqrl2fM66c&e= > Gustavo Ojeda Software
> Engineer
>
> San Lorenzo 47, 3rd Floor, Office 5
>
> Córdoba, Argentina
>
> Phone: +54 351 4217888 / +54 351 4218211
> Skype: gvo.ojeda
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.
> firegiant.com_&d=DwIGaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=
> yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=_
> m3oiSQoRnVn6OQj81DXaN6YJngR6LbZqY5_BrRQozo&s=Ib-
> GYe7QwyVXEqQHJ2nvPkkAwPERRgtPjyYni5fbqbY&e=
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/




-- 
<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