When supporting downgrades, set the REINSTALLMODE property. Specifically,
out of the following set of letters, you want either d or a: a, c, d, e, o,
p. Thus, a good value to use would be "amus".

-----Original Message-----
From: Rob Hamflett [mailto:r...@snsys.com] 
Sent: Monday, July 12, 2010 6:29 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Crash during RemoveExistingProducts

How do you get Windows Installer to perform a downgrade?  I find that if
RemoveExistingProducts 
comes after costing, then the current files get removed and the new files
don't get delivered. 
Removing the existing product removes the existing files, which affects the
actions the installer 
needs to take.  Before, the files were not supposed to be installed because
there were newer 
versions on the system.  After the product has been removed the files are no
longer there and the 
ones in the downgrading MSI need to be delivered, but aren't.  Is there a
way around this?  The 
files being downgraded are not shared by other products.

Rob

On 12/07/2010 14:06, Bob Arnson wrote:
> On 7/12/2010 8:17 AM, Rob Hamflett wrote:
>> Some more info.  The problem seems to go away if I move
RemoveExistingProducts to after
>> InstallInitialize.  I currently have it before CostInitialize, because
otherwise downgrades don't
>> work properly.
>>
>
> There are four supported schedulings of RemoveExistingProducts. Before
> CostInitialize isn't one of them.
>


----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to