Marking the component as permanent didn't' work at all. I wrongly
assumed that patch uninstall is a form of uninstall so it won't
uninstall a permanent file. 

Instead, it is a reinstall and it overwrites higher version files with
lower version from baseline cache.

Also, I am not sure how will REINSTALLMODE affect this behavior. I never
set it so it is presumably default omus. What REINSTALLMODE options
would produce desired result: file version increments as patches get
applied but does not drop when patches get uninstalled? 

IOW, the latest and greatest version ever installed always remains on
the machine. 
Clearly, making component permanent will do this in install/uninstall
scenario but can the same be done when applying/removing patches?

I never see REINSTALLMODE value listed in patch application or patch
removal verbose logs.
At most I find "REINSTALLMODE specifies all files to be overwritten" for
each file in patch removal log.

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Wednesday, February 25, 2009 3:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patch uninstall requires the original base MSI
andIdon't know why

Tony Juricic wrote:
> DLL is supposed to always increase in version so it can be patched up
> but it should never revert to previous version during patch uninstall.


Whether that's true depends on your original product's REINSTALLMODE 
property.

> I
> assume that just marking the file component as Permanent would do this
> for me?
>   

At the cost of leaving the component behind after an uninstall.

-- 
sig://boB
http://joyofsetup.com/





TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) 
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, 
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and 
subscription company, and TradeStation Europe Limited, a United Kingdom, 
FSA-authorized introducing brokerage firm. None of these companies provides 
trading or investment advice, recommendations or endorsements of any kind. The 
information transmitted is intended only for the person or entity to which it 
is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to