Components won't uninstall

5 messages Options
Embed this post
Permalink
Tony-16

Components won't uninstall

Reply Threaded More More options
Print post
Permalink
We have a project that includes several wixlibs.  These wixlibs all
"export" ComponentGroupRefs to one of two features in our main WiX
project.  Installation appears to be working fine.  But when I
uninstall the application, all of the components from one of the
wixlibs do NOT get uninstalled.  When I run the uninstall with logging
enabled (msiexec /x "myapplication.msi" /l*vx! unapp.txt), the log
shows that all of the components within that wixlibs are NOT selected
for uninstall.

Here's an entry for a compoentn that does NOT get uninstalled...
Component: cmp3FCC6D0CB9841934B61F0C0B219BEC2C; Installed: Local;
Request: Null;   Action: Null;   Client State: Local

Here's an entry for a component that does get uninstalled...
Component: cmp861EF22528A3DB48FAF7A07DD78B91CC; Installed: Local;
Request: Absent;   Action: Absent;   Client State: Local

Why would this happen?  Is there something I could look for in the
install or uninstall logs to give me a clue?
--
Tony

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
john cena-2

Re: Components won't uninstall

Reply Threaded More More options
Print post
Permalink
hello
stop that
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-7

Re: Components won't uninstall

Reply Threaded More More options
Print post
Permalink
In reply to this post by Tony-16
Almost always and Action state of Null means you have a Condition that is
evaluating the Component out. The condition may be on the Feature or it may
be on the Component if the Component is marked Transitive.
If that isn't it, can you provide more detail about the Component and
Feature relationship to debug futher.

virtually, Rob Mensching - RobMensching.com LLC <http://robmensching.com>

On Wed, Oct 21, 2009 at 6:11 AM, Tony <[hidden email]> wrote:

> We have a project that includes several wixlibs.  These wixlibs all
> "export" ComponentGroupRefs to one of two features in our main WiX
> project.  Installation appears to be working fine.  But when I
> uninstall the application, all of the components from one of the
> wixlibs do NOT get uninstalled.  When I run the uninstall with logging
> enabled (msiexec /x "myapplication.msi" /l*vx! unapp.txt), the log
> shows that all of the components within that wixlibs are NOT selected
> for uninstall.
>
> Here's an entry for a compoentn that does NOT get uninstalled...
> Component: cmp3FCC6D0CB9841934B61F0C0B219BEC2C; Installed: Local;
> Request: Null;   Action: Null;   Client State: Local
>
> Here's an entry for a component that does get uninstalled...
> Component: cmp861EF22528A3DB48FAF7A07DD78B91CC; Installed: Local;
> Request: Absent;   Action: Absent;   Client State: Local
>
> Why would this happen?  Is there something I could look for in the
> install or uninstall logs to give me a clue?
> --
> Tony
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Tony-16

Re: Components won't uninstall

Reply Threaded More More options
Print post
Permalink
I believe that is the issue, though behavior is not what I would have expected.
....
<Feature Id="AFEATURE"
               Title="title"
               Description="description"
               Level="1"
               AllowAdvertise="no" >
        <Condition Level="1"><![CDATA[XXX]]></Condition>
        <Condition Level="4"><![CDATA[YYY]]></Condition>
        <Condition Level="0"><![CDATA[ZZZ]]></Condition>

        <ComponentGroupRef Id="Group1" />
        <ComponentGroupRef Id="Group2" />
        <ComponentGroupRef Id="Group3" />
        <ComponentGroupRef Id="Group4" />
        <ComponentGroupRef Id="Group5"/>
        <ComponentGroupRef Id="Group6" />
...

What is odd is only Group6 is not uninstalled.  Group1-5 uninstall
correctly.  I fixed my conditions, I think, by including "OR REMOVE"
on the level1 condition.  It seems to work.  But I need to do a bit
more testing to make sure.

On Wed, Oct 21, 2009 at 10:34 AM, Rob Mensching <[hidden email]> wrote:

> Almost always and Action state of Null means you have a Condition that is
> evaluating the Component out. The condition may be on the Feature or it may
> be on the Component if the Component is marked Transitive.
> If that isn't it, can you provide more detail about the Component and
> Feature relationship to debug futher.
>
> virtually, Rob Mensching - RobMensching.com LLC <http://robmensching.com>
>
> On Wed, Oct 21, 2009 at 6:11 AM, Tony <[hidden email]> wrote:
>
>> We have a project that includes several wixlibs.  These wixlibs all
>> "export" ComponentGroupRefs to one of two features in our main WiX
>> project.  Installation appears to be working fine.  But when I
>> uninstall the application, all of the components from one of the
>> wixlibs do NOT get uninstalled.  When I run the uninstall with logging
>> enabled (msiexec /x "myapplication.msi" /l*vx! unapp.txt), the log
>> shows that all of the components within that wixlibs are NOT selected
>> for uninstall.
>>
>> Here's an entry for a compoentn that does NOT get uninstalled...
>> Component: cmp3FCC6D0CB9841934B61F0C0B219BEC2C; Installed: Local;
>> Request: Null;   Action: Null;   Client State: Local
>>
>> Here's an entry for a component that does get uninstalled...
>> Component: cmp861EF22528A3DB48FAF7A07DD78B91CC; Installed: Local;
>> Request: Absent;   Action: Absent;   Client State: Local
>>
>> Why would this happen?  Is there something I could look for in the
>> install or uninstall logs to give me a clue?
>> --
>> Tony
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> WiX-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
Tony

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-7

Re: Components won't uninstall

Reply Threaded More More options
Print post
Permalink
For pretty much all Conditions the right answer is to have "Installed OR
...".

On Wed, Oct 21, 2009 at 8:12 AM, Tony <[hidden email]> wrote:

> I believe that is the issue, though behavior is not what I would have
> expected.
> ....
> <Feature Id="AFEATURE"
>               Title="title"
>               Description="description"
>               Level="1"
>               AllowAdvertise="no" >
>        <Condition Level="1"><![CDATA[XXX]]></Condition>
>        <Condition Level="4"><![CDATA[YYY]]></Condition>
>        <Condition Level="0"><![CDATA[ZZZ]]></Condition>
>
>        <ComponentGroupRef Id="Group1" />
>        <ComponentGroupRef Id="Group2" />
>        <ComponentGroupRef Id="Group3" />
>        <ComponentGroupRef Id="Group4" />
>        <ComponentGroupRef Id="Group5"/>
>        <ComponentGroupRef Id="Group6" />
> ...
>
> What is odd is only Group6 is not uninstalled.  Group1-5 uninstall
> correctly.  I fixed my conditions, I think, by including "OR REMOVE"
> on the level1 condition.  It seems to work.  But I need to do a bit
> more testing to make sure.
>
> On Wed, Oct 21, 2009 at 10:34 AM, Rob Mensching <[hidden email]>
> wrote:
> > Almost always and Action state of Null means you have a Condition that is
> > evaluating the Component out. The condition may be on the Feature or it
> may
> > be on the Component if the Component is marked Transitive.
> > If that isn't it, can you provide more detail about the Component and
> > Feature relationship to debug futher.
> >
> > virtually, Rob Mensching - RobMensching.com LLC <http://robmensching.com
> >
> >
> > On Wed, Oct 21, 2009 at 6:11 AM, Tony <[hidden email]>
> wrote:
> >
> >> We have a project that includes several wixlibs.  These wixlibs all
> >> "export" ComponentGroupRefs to one of two features in our main WiX
> >> project.  Installation appears to be working fine.  But when I
> >> uninstall the application, all of the components from one of the
> >> wixlibs do NOT get uninstalled.  When I run the uninstall with logging
> >> enabled (msiexec /x "myapplication.msi" /l*vx! unapp.txt), the log
> >> shows that all of the components within that wixlibs are NOT selected
> >> for uninstall.
> >>
> >> Here's an entry for a compoentn that does NOT get uninstalled...
> >> Component: cmp3FCC6D0CB9841934B61F0C0B219BEC2C; Installed: Local;
> >> Request: Null;   Action: Null;   Client State: Local
> >>
> >> Here's an entry for a component that does get uninstalled...
> >> Component: cmp861EF22528A3DB48FAF7A07DD78B91CC; Installed: Local;
> >> Request: Absent;   Action: Absent;   Client State: Local
> >>
> >> Why would this happen?  Is there something I could look for in the
> >> install or uninstall logs to give me a clue?
> >> --
> >> Tony
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> >> is the only developer event you need to attend this year. Jumpstart your
> >> developing skills, take BlackBerry mobile applications to market and
> stay
> >> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> >> http://p.sf.net/sfu/devconference
> >> _______________________________________________
> >> WiX-users mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >>
> >
> >
> > --
> > virtually, Rob Mensching - http://RobMensching.com LLC
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> Tony
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users