here is my code :

 <!-- upgrade table -->
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Upgrade Id="5eb98548-2b78-429c-99c3-0b48150ced37">
      <UpgradeVersion IgnoreRemoveFailure ="no"
                      Property="OLDERVERSIONBEINGUPGRADED"
                      Minimum="1.0.0.0" IncludeMinimum="yes"
Maximum="$(var.version)" IncludeMaximum="no"
                      OnlyDetect="no" />

      <UpgradeVersion Minimum="$(var.version)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWERVERSIONDETECTED" />
      <!--<UpgradeVersion Property="PREVIOUSFOUND"
                      Minimum="1.0.1.0" IncludeMinimum="yes"
Maximum="$(var.version)" IncludeMaximum="no"
                      OnlyDetect="no" />-->

    </Upgrade>
     <!--to remove previous versions before install-->
    <InstallExecuteSequence>
      <RemoveExistingProducts Before="InstallValidate" />
    </InstallExecuteSequence>

any help.

Thanks,
Mena S. Beshay
Software Developer , Smart Valley
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to