Was there a reason you wrote a CA to remove the file? Would <RemoveFile /> not suffice?
> On Mar 23, 2015, at 10:53 AM, Nir Bar <nir....@panel-sw.com> wrote: > > You can condition it on REMOVE > <https://msdn.microsoft.com/en-us/library/aa371194%28v=vs.85%29.aspx> > property instead of Installed. > > > > > ----- > Nir Bar > Freelance Developer > Mail: nir....@panel-sw.com > Web: www.panel-sw.com > - C++ On Windows, Linux and Embedded Platforms > - WiX & InstallShield > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Prevent-run-of-Custom-action-if-product-is-installed-tp7599666p7599670.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users