Hello Jaime and welcome to our forums,
That should be possible, through a
Custom Action.
For instance, first, we can create a
"File Search" that will look for the file on the user's machine.
Let's consider we want to look for the following file:
C:\test\test123.txt
We can create a
"File Search", as it follows:
- Screenshot_7.png (134.56 KiB) Viewed 3299 times
After the search is initially createad, you should right click on it -->
"Add search location" -->
"Folder"
- Screenshot_8.png (12.92 KiB) Viewed 3299 times
After that, you can create a custom action that retrieves the path from the search and then removes the file. In addition to that, you can condition the execution of the custom action based on the search, so it executes only when the search succeeds.
Hope this helps!
Best regards,
Catalin