It isn't until MSI 4.5 that CustomActions can get enough data to work 
correctly on patch uninstall. It also requires some really complicated 
code. None of the WiX CustomActions support it yet. You could file a 
feature request if you'd like.

troy hostetter wrote:
> I was able to successfully patch the msi .. had to pass in the transforms on
> the command line as properties .. and found out they had to be all caps in
> the WiX xml.
>
> I am now puzzled on the uninstall of the patch.  I have my xmlConfig
> statements as such:
>
>         <util:XmlConfig    Id="XC__kCEnterprise.Search.web.config.delete.1"
> File="[KCENTERPRISE.ROOT.WEBDIR]web.config" Action="delete" On="uninstall"
>                 ElementPath="//configuration/appSettings" Node="element"
> VerifyPath="add[...@key='SearchDefaultConfigSection'[\]]"
>                 Sequence="20" />
>
> And they do not seem to be executing on uninstall.  Could this be a problem
> with Custom Actions?
>
> On Sun, May 24, 2009 at 10:14 AM, Bob Arnson <b...@joyofsetup.com> wrote:
>
>   
>> troy hostetter wrote:
>>     
>>> error PYRO0260 : Product '{1F6FE067-01BE-4D39-B880-0AEF3E4F84D0}': Table
>>> 'CreateFolder' has a new row 'TARGETDIR/C__Search.AppSettings' added.
>>>       
>> This
>>     
>>> makes the patch not uninstallable.
>>> pyro.exe : error PYRO0261 : This patch is not uninstallable. The 'Patch'
>>> element's attribute 'AllowRemoval' should be set to 'no'.
>>>
>>>       
>> It's telling you that MSI doesn't support uninstalling patches that have
>> new CreateFolder table rows.
>>
>>     
>>> Also, what process (torch, candle, light, pyro) should I set verbose
>>> logging?
>>>       
>> Not tools: Look at the verbose log generated by installing the patch
>> with /L*vx switch to msiexec.
>>
>> --
>> sig://boB
>> http://joyofsetup.com/
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>> is a gathering of tech-side developers & brand creativity professionals.
>> Meet
>> the minds behind Google Creative Lab, Visual Complexity, Processing, &
>> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
>> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>     
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to