Chuck schrieb:
> Success!
> 
> Alex Shevchuk wrote:
>> OK, here is the problem.  Upgrade/@Id must have the same value as
>> Product/@UpgradeCode.
> 
> Thank you, Alex. That was the problem. FindRelatedProducts is working and
> only one entry exists in the Add or Remove Programs table after the
> installation of the new version. Now, along with "Do not change the Product
> UpgradeCode," I have "Verify that the Product UpgradeCode is identical to
> the Upgrade ID" in my upgrade checklist.

I guess that this is a common newbie error, I'm new to Wix too and I made the
same mistake a few days ago. I costed me about an hour to figure it out and my
template for new scripts now includes defines for the UpgradeCode and some other
 values:

<!-- The upgrade code (must be the same for <Product UpgradeCode /> and <Upgrade
Id />
The upgrade code must not be changed during the life cycle of the product!
Otherwise the Installer will add an additional entry into Add/Remove Software 
-->
<?define UpgradeCode="YOUR-GUID-HERE"?>
...
and

    <Product Id="$(var.ProductCode)"
               Name="$(var.ProductName)"
               Language="$(var.ProductLanguage)"
               Version="$(var.ProductVersion)"
               Manufacturer="$(var.Manufacturer)"
               UpgradeCode="$(var.UpgradeCode)">
...
        <Upgrade Id="$(var.UpgradeCode)">
...

That way I hopefully don't make the same mistake twice (building an installer is
not really my every day business)

BTW: Is there anything like a tutorial about building Managed Custom Actions
with the DTF? Or some real life examples?

Regards,
Ingo



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to