Level 3

uninstall does not remove msi file

I have an IS 2012 InstallScript MSI project. The msi file is cached. After the application is uninstalled, the application's msi file remains in
C:\Users\user_name\AppData\Local\Downloaded Installations\{906323AF-3D34-4C80-A106-F47C4030D50E}.

Should the uninstall remove this file and I am not implementing the project correctly? If not, is there any harm in having this file removed by Runonce upon the next system reboot?

This subject is not getting much response concerning the ways to remove this file, so I will ask the followup question of:
Is there a good reason to leave this file where it is after the application is uninstalled?
Labels (1)
0 Kudos
1 Reply

The hard part is removing it only at the correct times. If you set up a PendingFileRenameOperations entry to delete it, but then reinstall before rebooting, the reboot-time file deletion will break the cache. It might be safer to remove it more directly, though.

As to your embedded question, no, you're not missing a checkbox anywhere that would remove this file.
0 Kudos