I am making msi for an application which makes some files after the installation. I want to remove those files using the Remove File table . I have put an entry in the remove file table but i am unable to make it work. Can anyone guide me how to do this ? I dont want to use any custom actions or scripts.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Hi there,
I've used it few times to delete some files/folders that are created after the installation, with the app use.
When adding files, direct editor mode, you have to fill those columns :
FileKey : as the file was not int he msi, just add a new key, as RMFile1 or whatever
Component : Link this record to a component that will be removed for sure, as the main exe component
FileName : The exact name of the file you want to remove
DirProperty : the key of the directory (column Directory value of the directory's row ) where the file is installed. If this directory is not created or contemplated in the msi you can create it.
InstallMode : 2 - "Remove only when the associated component is being removed "

That works for me, hope it helps


NOTE: Visit : http://msdn2.microsoft.com/en-us/library/aa371201.aspx
Answered 02/26/2007 by: KrisBcn
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity