Stefan Krueger [MVP] a écrit :
> The component must have the msidbComponentAttributesTransitive bit set 
> (don't know the WiX syntax for this). This should remove the component 
> during (auto-)repair, modify and small and minor updates - probably not what 
> you want. BTW in case of Major Upgrade, Installed is FALSE.
> I don't fully undertsand what you are trying to achieve, bt maybe 
> msidbComponentAttributesNeverOverwrite would do what you want.
>
>   
In fact, what I'm trying to do is:
-on first install, install the file engine.ref and copy it to engine.ini
-on upgrades, only install the file engine.ref, but don't touch to the 
engine.ini file.

I was trying to achieve this through the condition element, but I just 
can make it work... :(

Thanks again.

Fred

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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

Reply via email to