Chaitanya

Are both the original and the update installtion the same type?  If one 
is per-user and the other is per-machine then the upgrade wont work.  
You could also run the Upgrade with verbose logging enabled.  The log 
will tell you why it didnt remove the older version.

Also, give the version you use, I'd go with what Neil suggested and 
investigate and use the <MajorUpgrade> element instead.  It tidies 
things up a lot.

Chris


-----Original Message-----
From: Chaitanya [mailto:chaita...@pointcross.com] 
Sent: Thursday, November 08, 2012 5:18 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem in Major upgrade

Iam using wix 3.5

-----Original Message-----
From: Chris Lord [mailto:chris.l...@atterotech.com]
Sent: 07 November 2012 20:41
To: wix-users
Subject: Re: [WiX-users] Problem in Major upgrade

Chaitanya

What version of Wix are you using?

Chris 

-----Original Message-----
From: Chaitanya [mailto:chaita...@pointcross.com]
Sent: Wednesday, November 07, 2012 4:43 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Problem in Major upgrade

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



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


------------------------------------------------------------------------
------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for 
free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to