If you've got a verbose log, what does it say around FindRelatedProducts (there 
may be more than one) about finding the older version? 

Phil Wilson 

-----Original Message-----
From: Theo Landman [mailto:tland...@justcroft.com] 
Sent: Tuesday, December 07, 2010 3:21 AM
To: Wix Users mailing list
Subject: [WiX-users] Failing to upgrade

Hello,
I'm trying to debug why a I cannot get WiX 3.0 to remove my older MSI 
installation created with InstallShield. I have the following WiX code 
for upgrading:

<Upgrade Id="BF573C68-EE30-4279-AC28-5D8EE955F137">
<UpgradeVersion OnlyDetect="yes" Property="SELFFOUND"
       Minimum="3.0.0" IncludeMinimum="yes"
           Maximum="3.0.0" IncludeMaximum="yes"
      />
<UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND"
           Minimum="3.0.0" IncludeMinimum="no"
      />
<!-- Upgrade checking -->
<UpgradeVersion OnlyDetect="no" Property="OLDERFOUND"
         Maximum="3.0.0" IncludeMaximum="no"
      />
</Upgrade>

    And

<InstallExecuteSequence>
<Custom Action='AlreadyUpdated' 
After='FindRelatedProducts'>SELFFOUND</Custom>
<Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom>
<RemoveExistingProducts After='InstallInitialize' />
<Custom Action='StoreInstallLocation' After='InstallValidate' />
</InstallExecuteSequence>

The following is a snippet what I get when I install the old 2.2.01 
version of our product
Property(S): UpgradeCode = {BF573C68-EE30-4279-AC28-5D8EE955F137}
Property(S): ARPINSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
Property(S): ProductName = JustCGM Licence Server
Property(S): DialogCaption = InstallShield for Windows Installer
Property(S): ProductVersion = 2.2.01
Property(S): ProductID = None
Property(S): INSTALLDIR = C:\Program Files\Justcroft\jcgmlicsrv\

And this is what I see when I install the newer 3.0.0 release
Property(S): UpgradeCode = {BF573C68-EE30-4279-AC28-5D8EE955F137}
Property(S): ALLUSERS = 1
Property(S): ARPINSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
Property(S): INSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
Property(S): ProductCode = {A18C64B9-BBDB-49DE-AE22-3FE3A115B278}
Property(S): ProductVersion = 3.0.0

What other reasons could there be that despite having the same 
UpgradeCode and the version being higher, the installation still fails 
to remove the older 2.2.01 version?

-- 

    Never argue with idiots. They drag you down to their level, and then
    beat you with experience. — Dilbert 


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to