I have a web application for which I implement an Installshield/InstallScript installer (i.e. no MSI).
The web application uses webpack, and I end up with a relatively short list of files which have some kind of hash in their names, like 30.1892376def7834bc2352.js
.
These file names change with every build. So when I run an update with the setup I end up with more and more files in the directory every time.
Is there a better way to handle the situation than hooking into some OnInstalling
event and deleting the files?