I marked all Files as Transitive with:

                <Condition>1</Condition>

in my target build. 

So I expected all files to be transitive, all the time. It is only the 
condition that changes from 1 to 0 when and if I remove files. New files, if 
any, that get added to the patch are always added with:

                <Condition>1</Condition>

It looked like it should work and that is why I have each file in its own 
component.

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: Thursday, January 21, 2010 1:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Does patch removal restore removed data files?


It's possible that transitive state ends up in the component state on the 
system, and uninstalling the patch won't restore it to non-transitive. There 
doesn't seem to be an API that actually tells you if a component is currently 
marked transitive. 

Phil Wilson 



-----Original Message-----
From: Tony Juricic [mailto:tjuri...@tradestation.com] 
Sent: Thursday, January 21, 2010 8:19 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Does patch removal restore removed data files?

In my patch application I am removing one executable file and its corresponding 
config file like this:

              <Component Id="MY.EXE" Guid="......" Transitive="yes">
                <File Id="MY.EXE" Name="My.exe" KeyPath="yes" DiskId="1" 
Source="bin\My.exe" />
                <Condition>0</Condition>
              </Component>

              <Component Id="MY.EXE.CONFIG" Guid="......" Transitive="yes">
                <File Id="MY.EXE.CONFIG" Name="My.exe.config" KeyPath="yes" 
DiskId="1" Source="bin\My.exe.config" />
                <Condition>0</Condition>
              </Component>


When I remove this patch, My.exe gets restored but not My.exe.config.

Is this to be expected? Using /lv*x to log patch removal I see nothing 
regarding the config file that would give me the clue why is it not restored.



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.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to