I use Installshield 2010, a Basic MSI Project.
Is there a way to use RemoveFiles action to remove files from RemoveFile table after InstallFinalize?
I have some files included in installer's components. I use those files to configure other files and after InstallFinalize I want to remove them.
I read about RemoveFiles action and I have noticed that the action is running before InstallFiles.
Is possible to change that or recall the action? How?
Thanks for your time!
If you have temporary files that are only needed during the execution of the installer put them in the Support Files view not components view.
InstallShield has a table ( ISSetupFile ) and related custom actions that will extract these files to a temp directory and assign it to the [SUPPORTDIR] property. It will clean this up for you at the end of the install also.
That way you won't be fighting against MSI trying to get it to install and uninstall something during the install.