Hi,

Iam trying to do major upgrade.

Its doing action but in my control panel it is showing two entries don't
want two entries.

Here is my upgrade code.

<Upgrade Id="5CFFD7A1-03B9-4B07-87C0-9B84555CC15D">

      <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="no" OnlyDetect="yes"
Property="NEWPRODUCTFOUND" Language="1033" />

      <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes"
Maximum="2.0.0.0" IncludeMaximum="no" Property="UPGRADEFOUND"
Language="1033" />

    </Upgrade>

<CustomAction Id="PreventDowngrading" Error="Newer Version Already
Installed" />

    <InstallExecuteSequence>

      <Custom Action="PreventDowngrading"
After="FindRelatedProducts">newProductFound</Custom>

          <RemoveExistingProducts
After="InstallFinalize"></RemoveExistingProducts>

    </InstallExecuteSequence>

Iam changing the product code and maintaining upgrade code same. Through
command line "msiexec /I {.msi} ALLUSERS=1

Please help  me where im doing wrong.

Thanks,

Chaitanya.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to