I finally figured out the problem. I realized that [FILE_DIR_PATH]
had no value on uninstall. This property was obtained by a RegistrySearch
. So, all I had to do to fix it was to declare the property as Secure
:
<Property Id="FILE_DIR_PATH" Secure="yes">
<RegistrySearch ... />
</Property>
I found out that this would solve some problems while trying to fix repair issues with another installer. I found this post useful: Wix installer blanks out registry setting when repairing.
I also found a blog post by Rob Mensching useful with issues of this nature: http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Property-pattern