Hello Steve,
In order to remove a file, you can use a
file remove operation or a
folder remove operation. You should also change the download folder for the updates from the
Updater page. This will ensure that you won't get a conflict between remove operation and new downloaded updates package installation process.
Also, you can achieve the desired behavior through your own
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. 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.
If you have other questions, please let us know.
Best regards,
Dan
FOLLOW US