WIX - How to use RemoveFiles
问题 We have multiple configuration files. Based on the environment selected, right file gets copied and the rest of the files should get deleted. I am using RemoveFile but that doesn't delete anything or may be I am not using it right. Can someone give an example to delete *.config from [INSTALLDIR] during the install, after all files have been copied. 回答1: In the example below RemoveFile is used to delete all icons ( .lnk extension) on uninstallation, also the parent folder will be removed by