Deleting files after Apply Install
Posted: Thu Jan 11, 2007 1:20 pm
I have a question that must have a simple answer but I've looked around and I can't find it.
I have some "temporary" files that get installed via the normal process, and are dealt with after Apply Install (i.e. after the Windows Installer does its business). Once they are installed, I use non-Windows Installer commands or plug-ins to deal with them (Run Program and SQL Server plugin). However, once that's done, I'd like to delete those temp files cleanly. If I use the regular Delete Files command, I have to call Apply Install again. If I use Delete Files Recursively, it removes some directories that I don't want removed. What's the cleanest way to do this?
Thanks,
Eric
I have some "temporary" files that get installed via the normal process, and are dealt with after Apply Install (i.e. after the Windows Installer does its business). Once they are installed, I use non-Windows Installer commands or plug-ins to deal with them (Run Program and SQL Server plugin). However, once that's done, I'd like to delete those temp files cleanly. If I use the regular Delete Files command, I have to call Apply Install again. If I use Delete Files Recursively, it removes some directories that I don't want removed. What's the cleanest way to do this?
Thanks,
Eric