Hi,
I'm doing an upgrade of a product. The WIX in the original installer
(1.0) for one relevant component looked like this:
<Directory Id="Sample" Name="Sample">
<Component Id="SampleRules" Guid="{my-guid}">
<File Id="myxmlfile.xml" Name="myxmlfile.xml" KeyPath="yes"
Source="..\pathtomyfile\myxmlfile.xml" />
</Component>
</Directory>
In the WIX for the new installer (1.1), I've removed the Sample
directory and the file - I don't want them installed for a fresh 1.1
install. However, during upgrade, if the directory exists, I want to
keep it - even if the user hasn't modified the file.
Unfortunately I didn't forsee the need to remove the folder/file until
now, so I've lost my chance to add a Permanent attribute to the
Component in the 1.0 installer.
Is there a way to somehow block the removal of the component during
upgrade to 1.1, but not install it if it is a fresh install?
Hopefully my ignorance a while back hasn't sunk me now.
Thanks,
Leigh
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users