Hi,
You can make a VBS custom action that deletes the old files before installing the new files.
Switch to "Custom Actions" page and a "New Attached Custom Action" under "CostFinalize" standard action and select the .vbs file. Use following options for the custom action:
1. Function Name: empty
2 ...
FOLLOW US
Get the latest news in Application Packaging