I'm not sure if this is according to Best Practices or not, but you could also 
change the component code of the file whose version is downgraded so that it is 
a different component than the "newer" version.

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, April 11, 2011 4:41 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Supporting downgrades with Key paths

The decision to replace files (or not) is associated with Costing, and that's 
happened by the time your RemoveExistingProducts runs. 

You could try sequencing RemoveExistingProducts before CostInitialize. That 
should behave like a complete uninstall followed by a new install. I've used 
that, I think I had a support incident with MS on that when there was a problem 
similar to yours, and it's ok (even though undocumented). But: you probably 
won't get your features migrated. The lack of integration with the incoming 
install also means you may see two sets of FilesInUse dialogs, potentially one 
as the old product uninstalls and another from the new install.  


Phil Wilson 

-----Original Message-----
From: Michael Tissington [mailto:michael_tissing...@ciqual.com]
Sent: Monday, April 11, 2011 6:44 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Supporting downgrades with Key paths

The log file does not report any files in use.

-----Original Message-----
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com]
Sent: 11 April 2011 14:18
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Supporting downgrades with Key paths

Check which files are in use during your upgrade. Replacement of files in use 
requires a reboot.

-----Original Message-----
From: Michael Tissington [mailto:michael_tissing...@ciqual.com]
Sent: Monday, April 11, 2011 4:18 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Supporting downgrades with Key paths

I've tried that and it fixes the problem but introduces another, that at the 
end of the install it now asks me to reboot (when there is no need to)

-----Original Message-----
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com]
Sent: 11 April 2011 13:08
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Supporting downgrades with Key paths

You can change REINSTALLMODE to always reinstall files during upgrade.

-----Original Message-----
From: Michael Tissington [mailto:michael_tissing...@ciqual.com]
Sent: Monday, April 11, 2011 3:39 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Supporting downgrades with Key paths

I have a problem with downgrades.

I have RemoveExistingProducts scheduled before InstallInitialize.

I have a component with the keypath set to a file (.exe)

When I downgrade the version number of the exe is older so the install marks 
the component as not valid for install because a latter version has been 
detected even thou the RemoveExistingProducts is removeing the entire package.

Any ideas how to fix this please?


----------------------------------------------------------------------------
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming smartphone on the nation's most 
reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming smartphone on the nation's most 
reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming smartphone on the nation's most 
reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming smartphone on the nation's most 
reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming smartphone on the nation's most 
reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes not 
days. Key insights are discussed in the 2010 Forrester Wave Report as part of 
an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to