chrpai wrote:
> 
> Do you have any feature conditions?   A quick examination and only this
> jumped out at me:
>    
>   First Uninstall:
>    
>   MSI (s) (64:30) [12:09:18:771]: Feature: Service.Config.Upgrade.Feature;
> Installed: Local;   Request: Null;   Action: Null
> MSI (s) (64:30) [12:09:18:771]: Feature:
> WebService.Config.Upgrade.Feature; Installed: Local;   Request: Null;  
> Action: Null
> 

Yes, I do. Here's how it's setup:

    <Upgrade Id="291EC7CC-95E7-4A56-A8C1-77E2571F6629">
      <UpgradeVersion Property="OLDAPPFOUND" IncludeMinimum="yes"
Minimum="0.0.0.0" IncludeMaximum="no" Maximum="$(var.releaseVersion)"/>
      <UpgradeVersion Property="NEWAPPFOUND" IncludeMinimum="no"
Minimum="$(var.releaseVersion)"  OnlyDetect="yes"/>

    </Upgrade>

      <Feature Id="Service.Config.Upgrade.Feature" Level="0"
Display="hidden"
             Absent="disallow" AllowAdvertise="no"
InstallDefault="followParent">
        <Condition Level="1"><![CDATA[OLDAPPFOUND <> ""]]></Condition>
        <ComponentRef Id="Service.Config.Upgrade"/>
      </Feature>

...

      <Feature Id="WebService.Config.Upgrade.Feature" Level="0"
Display="hidden"
             Absent="disallow" AllowAdvertise="no"
InstallDefault="followParent">
        <Condition Level="1"><![CDATA[OLDAPPFOUND <> ""]]></Condition>
        <ComponentRef Id="WebService.Config.Upgrade"/>
      </Feature>

The components are currently empty, but the intention was that I would call
some tasks in there to do backup or migration of the previous version's
configuration files.  However, I'm not wedded to this approach. I've seen on
the mailing lists other approaches which involve saving off the
configuration files elsewhere, uninstalling, allowing the install to
continue, and then doing your config merges at the end. I have a standalone
executable merge tool that we currently use.

FWI, I am currently using 3617 with a couple of patches. Another team in my
organization required the patches to fix a couple of bugs that don't
currently effect me, and we both share the same build environment. I'm not
tied to it, though, I can up/downgrade if necessary to get this to work.
-- 
View this message in context: 
http://www.nabble.com/Need-to-uinstall-twice-after-Major-Upgrade-tp17568377p17580080.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to