Are you using conditions in the install execute sequence?

On Fri, Jan 9, 2015 at 9:31 AM, wixtester <sangee...@hotmail.com> wrote:

> Hi,
>
>    I have a scripted custom action to register a COM+ service on install
> and
> unregister it during uninstall.
> It works fine during install, but fails during uninstall.
>
> Custom Action code to unregister
> -------------------------------------
>     <CustomAction Id="Propca_UnReg_Assembly" Property="ca_UnReg_Assembly"
> Value=""[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\Regsvcs.exe"
> /u "[INSTALLFOLDER]SentillionExchange2010PSV2.dll""
> Execute="immediate"/>
>     <CustomAction Id="ca_UnReg_Assembly" BinaryKey="WixCA"
> DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/>
>
>
>
> Log during uninstall contained failed CA call
> ------------------------------------------------
>
> MSI (s) (08:A8) [15:47:25:342]: Executing op:
>
> CustomActionSchedule(Action=ca_UnReg_Assembly,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\Windows\Microsoft.NET\Framework\v2.0.50727\Regsvcs.exe"
> /u "C:\Program Files (x86)\Caradigm\Provisioning Bridge
> Server\Bridges\Exchange\SentillionExchange2010PSV2.dll")
> MSI (s) (08:60) [15:47:25:373]: Invoking remote custom action. DLL:
> C:\Windows\Installer\MSI3C5.tmp, Entrypoint: CAQuietExec
> MSI (s) (08:70) [15:47:25:373]: Generating random cookie.
> MSI (s) (08:70) [15:47:25:373]: Created Custom Action Server with PID 924
> (0x39C).
> MSI (s) (08:08) [15:47:25:405]: Running as a service.
> MSI (s) (08:08) [15:47:25:405]: Hello, I'm your 32bit Elevated custom
> action
> server.
> CAQuietExec:  Microsoft (R) .NET Framework Services Installation Utility
> Version 2.0.50727.7905
> CAQuietExec:  Copyright (c) Microsoft Corporation.  All rights reserved.
> CAQuietExec:
> CAQuietExec:
> The following un-installation error occurred:
> CAQuietExec:  1: Assembly not found: 'C:\Program Files
> (x86)\Caradigm\Provisioning Bridge
> Server\Bridges\Exchange\SentillionExchange2010PSV2.dll'.
> CAQuietExec:  Error 0x80070001: Command line returned an error.
> CAQuietExec:  Error 0x80070001: CAQuietExec Failed
> CustomAction ca_UnReg_Assembly returned actual error code 1603 (note this
> may not be 100% accurate if translation happened inside sandbox)
>
>
>
> I verified that the dll was present on the system, I am therefore wondering
> if "Assembly not found" means unable to access the file.
>
> This is happening on Win 2008 R2 and Win 2012 operating systems.
>
> The 64-bit msi installs 32-bit application under program files (x86). I am
> therefore using the 32-bit CAQuietExec custom action.
>
>
> Any thoughts on what I might be missing here?
>
>
> Thanks,
> sangeeta
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-action-using-CAQuietExec-fails-on-uninstall-likely-permissions-issue-tp7598794.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
"They may forget what you said but they will never forget how you made them
feel." -- Anonymous
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to