Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!
Posted
Updated 24-Jan-12 0:47am
v3

1 solution

RemoveFiles action cannot be moved after InstallFinalize.

There are two posible solutions to solve this problem:

1) create a custom action to perform the cleanup

2) create temporary files that are only needed during the execution of the installer. Their place are in Support Files view, not in Components view. The directory where are saved this files is a temporary one and is saved in [SUPPORTDIR] property.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900