I’m including in my installation package some backup files from my database, so I can restore it and have a complete running database in one easy step, and it’s all fine, but i’d like to delete the database backup files as a step in the installation process right after it’s restored.
Anyone know how?
You can add some InstallScript to do the job as a custom action. There is a function DeleteFile that does that.
Look at the link to the example at the bottom.