It looks like what you have is correct. You have a SAME_VERSION property.
Although you might want to set OnlyDetect to yes if you want to keep the
existing product there and not overwrite it.
Then, use a launch condition to stop the new installation from going through
if SAME_VERSION is found.
There's nothing to prevent multiple products being returned - it just
means there are several installed products on the system that share
the same UpgradeCode. In your case, I guess Nick is saying that one of
the multiples returned might be your own. It looks like the different
languages all share
Thanks for the help Nick and Phil!
You guys have helped me a lot here. I am beginning to see the light.
I've got SAME_VERSION set to NOT only-detect because we use the 4th part of
the version number for upgrades. I've got to allow version 1.0.0x150 to
upgrade 1.0.0x149, for example.
I
I apologize ahead of time for this ancient usage example, but this is legacy
code I am afraid to change ;-)
Note that ProductVersion is defined by me and is something like 1.0.0.99 -
and I know MSI disregards the last level of this version info. Also note
that this MSI is installed Per Machine.
4 matches
Mail list logo