Hi Fokes: I've got the following installer code that creates some folders with components in: <Directory Id="COMPANYDATAFOLDER" Name="Raised Bar"> <Directory Id="ProductDataFolder" Name="Surface Reader"> <Directory Id="ProtocolsDataFolder" Name="Protocols"> <Component Id="MackieProtocol" Guid="9FEBA063-8B6B-46D7-9FF5-DEB91E334DC6"> <File Id="Mackiesrp" Source="files\program data\protocols\Mackie Control.SRP"/> </Component> </Directory> <Directory Id="SurfacesDataFolder" Name="Surfaces">
</Directory> <Directory Id="AppsDataFolder" Name="Apps"> <Component Id="SonarMackieAppConfig" Guid="4C44EB15-BF98-45A7-9A25-F1F714C1E2DC"> <File Id="SonarMackieSra" Source="files\program data\apps\SONARPDR.EXE-Mackie Control.SRA"/> </Component> </Directory> </Directory> The folders I'm creating are not being removed on uninstall. I'm aware of the component guid not needing to be empty, but as this is a weekly release of 3.6, I didn't think that now applied. I've then tried adding a registry key for the folder I wish to remove and using the RemoveFoldersEx from the util extension as follows: <RegistryKey Root="HKLM" Key="SOFTWARE\Raised Bar\Surface Reader\$(var.SRMajorMinor)"> <RegistryValue Name="InstallRoot" Value="[INSTALLFOLDER]" Type="string"/> <RegistryValue Name="ProductVersion" Value="[ProductVersion]" Type="string" /> <RegistryValue Name="DataFolder" Value="[COMPANYDATAFOLDER]" Type="string"/> </RegistryKey> <util:RemoveFolderEx Id="RemoveDataFolder" On="uninstall" Property="COMPANYDATAFOLDERPROPERTY"/> The property/registry search looks as follows: <Property Id="COMPANYDATAFOLDERPROPERTY"> <RegistrySearch Id="CompanyDataFolderSearch" Root="HKLM" Key="SOFTWARE\Raised Bar\Surface Reader\$(var.SRMajorMinor)" Name="DataFolder" Type="raw" Win64="$(var.Win64)" /> </Property> Any idea why folders aren't being removed. If I use a create folder element, this works fine, I was under the impression that if compoents were contained within features then all this would work. Any help appreciated. Cheers Sean. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users