[wix-users] RegistryKey removal

Joseph L. Casale jcasale at activenetwerx.com
Mon Jan 15 09:17:17 PST 2018

I have some code which auto generates the wix source for several applications
containing a few components. The code generated accommodates the property
remember pattern for each components available properties. The components
nest their values under a common product key within a key named after the

During uninstall, not all the registry values are being removed, the components
that seem to exhibit the behavior belong to IIS sites that undergo runtime manipulation
of the various IIS MSI database tables, other than that I cannot see the difference
with the other components composed of files and Windows services.

A quick solution while I investigate this is to simply implement an RegistryKey
element with the appropriate removal configuration on uninstall however I
am curious about the ramifications of this discrete component just this element
type. Since several different applications will be produced from this auto generated
code and the component requires a GUID, what am I overlooking by just issuing
a new guid at source generation time every time a package is created?


More information about the wix-users mailing list