The thing to look for in the log of of the upgrade is the
FindRelatedProducts data. It will tell you if it found anything, even if
it's the wrong context (per user etc) to do the upgrade.

Phil  

-----Original Message-----
From: Helge Kruse [mailto:helge.kr...@gmx.net] 
Sent: Friday, February 15, 2013 11:48 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Remove Existing Products

Steven, thanks for reply.

> Did you change the Product Id="some GUID">
Yes, the GUID is auto-generated each time when WiX compiles the source. This
is defined by the <Product Id="*" ...>. But just for
completeness: I just generated a new GUID and repeated the test, without
success.

>     <MajorUpgrade Schedule="afterInstallValidate" AllowDowngrades="no"  
> DowngradeErrorMessage="A newer version of $(var.PlatformProductName) 
> is already installed. Setup will now exit." />

> Comment OUT all of this:
>
>   <Upgrade Id="11111111-2222-3333-55555-6666666666666">
> ...
>     </InstallExecuteSequence>
I did. And I replaced it with the <MajorUpdate ...> while defining
PlatformProductName. Unfortunately there is no change in behavior. I still
get the same error in the log, the old product isn't removed.

I further investigated the log for an install without the old version of the
product. I get the same error for RemoveExistingProduct in the log. That's
strange.

Do you have a minimal but complete example with this kind of
upgrade-definition? I hope I could use it as a template for my product
source.

Regards,
Helge

----------------------------------------------------------------------------
--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly
thought leadership blogs to news, videos, case studies, tutorials, tech
docs, whitepapers, evaluation guides, and opinion stories. Check out the
most recent posts - join the conversation now.
http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to