Help me please, I'm new user in wix, but i read a lot about major upgrade...
Well let's me explain.

I have a first installation, but now I want to do a minor upgrade (Update
older files for new files), I don't need uninstall the old version, i just
want replace them.

Mi file wsx is like that.

  <?define RTMProductVersion="1.0.0" ?>
  <?define ProductVersion="2.0.0" ?>

 <Upgrade Id="$(var.UpgradeCode)">
      <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />
      <UpgradeVersion Minimum="$(var.RTMProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
Language="1033" Property="UPGRADEFOUND" OnlyDetect="yes"/>
    </Upgrade>


<CustomAction Id="PreventDowngrading" Error="Una versión mas actualizada del
aplicativo ya se encuentra instalada." />
     
    <InstallExecuteSequence>
      <Custom Action="PreventDowngrading"
After="FindRelatedProducts">NEWPRODUCTFOUND</Custom>
    </InstallExecuteSequence>

But when I try to install de new version, don´t happen nothing.
When I try again to reinstall  de new version with the option Repair, only
in that way the file are updated.


Please help me.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Upgrade-doesn-t-work-tp7584636.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to