Hello Brian,
In order to achieve that you can use a DLL custom action for example, you can create your custom action as
a custom action written in C# or
a custom action written in C++.
Then you can go in the
“Custom Actions” page and add a predefined
Launch attached file custom action with sequence.
You can schedule it after the
Searches stage. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.
Also, you can take a look on the
Remove a file or a folder during installation article which may be useful to you.
Please let us know if that helped otherwise give us more details about your specific scenario.
Happy New Year,
Dan
FOLLOW US
Get the latest news in Application Packaging