I have a program installer which uses a downloaded post-install prerequisite to install some large data files which are used by the program (but which don't change much, thus the approach of isolating them from the main program installer so we can more readily distribute updates by revving the much-smaller program installer).
Everything's going well, with the exception of post-install clean-up: post-install, the %appdata% folder winds up containing two extraneous folders, one named for the program and containing a "prerequisites" folder which contains the installer for the prerequisite, and a second one named for the exact version of the program (e.g. "MyApp 10.0.3") which contains only the .msi file for the main program installer. Watching this latter folder during the install, you can see it wipe away all the other install resources, but it still leaves the .msi and the surrounding folder structure.
I tried (unsuccessfully) adding a File Remove action for the prerequisite, triggered off component installed state, but it appears to have no effect.
How do I get these installer files and folders to clean up after the install?
(Notably, my previous version installer, which does not involve a post-install prerequisite, has no such problems post-install with leftover files)
Thanks,
-Pete

FOLLOW US
Get the latest news in Application Packaging