Still new to this, thanks for pointing that out.
I did not change the ProductId or the Package version. The package id is
autogenerated, so yes that changed.
Product language and package language are set the same.
Yes, RemoveExistingProducts is scheduled after InstallFinalize
Yes, there is a custom action to prevent downgrading.
Ahhhhhhhhh, just found something. I have two 'Upgrade' sections. I'll look
into this now, thanks for helping me find it!
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Shevchuk
Sent: 04 March 2008 18:07
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade
Ryan,
You did not show all the relevant to major upgrade code:
- Did you change the Product/@Id, Package/@Id, and
Product/@Version?
- Do you have Product/@Language listed in or equal to
Package/@Languages?
- Do you schedule a RemoveExistingProducts action in the
InstallExecutesequence?
- Do you use custom action to prevent downgrading?
Regard,
Alex
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade
In my attempts to force an application to uninstall completely before being
reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another
version of this product is already installed'. I've kind of inherited this
installer so I am still learning about what it does, is it possible that the
upgrade is being stopped by a custom action or is the fault in the code
below?
I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-
major-upgrade.aspx but can't see what I am missing.
Any help would be much appreciated.
<?define FirstProductVersion="0.8.0" ?>
<?define ProductVersion="0.9.0" ?>
<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">
<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel"
Id="*" />
<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">
<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />
<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />
</Upgrade>
Regards
Ryan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users