Paste your Product Element too as all that code depends on the Product being 
set up correctly.

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 



-----Original Message-----
From: Mena Samy [mailto:mena.s...@gmail.com] 
Sent: 10 February 2012 11:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] installer don't upgrade

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



------------------------------------------------------------------------------
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