Yes, I had dug into the MSIs until my (virtual) fingernails bled! Everything 
looked normal.
So it turned out that the client package that I was working against is a really 
old one, and machines that we will be upgrading will actually have a later 
version.  I tried the later version, and my MSI upgrades it just fine.
The main difference with the older package is that it is 32-bit, which I didn't 
realize before, and the new package is a 64-bit one.  Will FindRelatedProducts 
not find a package with a different platform (x86 vs x64)?
One other thing I explored was the ALLUSERS property.  On my package, it was 1. 
 On the old package, it was 2 (with no MSIINSTALLPERUSER).  I tried changing it 
on my MSI, but still no love.  I can't tell you how many times I copied and 
pasted the upgrade code, and went through each character to make sure I had it 
right.  Still FindRelatedProducts showed no hint of detecting it.
So, I really don't have to solve this problem anymore, since a newer (64-bit) 
package is what I'll actually be upgrading.  Unless someone tells me that you 
can't upgrade a 32-bit product with a 64-bit product, this will remain a 
mystery.
Jamie

> Date: Wed, 16 Apr 2014 09:20:51 -0700
> From: Phil Wilson <[email protected]>
> Subject: Re: [WiX-users] WiX-users Digest, Vol 95, Issue 39
> To: "General discussion about the WiX toolset."
>       <[email protected]>
> Message-ID:
>       <caczvpra73kxdxbv26zkgx6m5s_ednjumvhreeqc27lcsrq7...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> If FindRelatedProducts had found anything it would have said so there,
> so I'd do a sanity check on the usual suspects, use Orca on the MSI
> files if you need to verify against MSDN docs. Also, the log would
> show OLDPRODUCTS being set.
> 
> UpgradeCode the same in both products.
> New product has a different Product and Package code.
> New ProductVersion higher in the first 3 digits.
> The new MSI has an upgrade table that you can  verify against the
> older MSI as regards version ranges etc:
> http://msdn.microsoft.com/en-us/library/aa372379(v=vs.85).aspx
> 
> ---------------
> Phil Wilson

                                          
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to