Hi ,
i need to do the following :
1-  The installer file needs to be signed with an authenticode signature
from a valid third party Certificate Authority such as Verisign.
2-  If installer is .EXE it needs to have an embedded manifest with the
security context properly included.
3-  If installer is .MSI it need to have the Upgrade Table properly filled
out

regarding issue #3 :
i write this code :
<!-- upgrade table -->
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Upgrade Id="my GUID here">
      <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>

this code i search alot to get it
and now my installer just find that another version of my product is
installed and give me message that : please remove other versions before
install
and stop installing
and i need it to remove all old versions and install the newer.

please help.
-- 
Thanks,
Mena S. Beshay
Software Developer , Smart Valley
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to