/build/static/layout/Breadcrumb_cap_w.png

How to use Remove File Table ?

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

Answers (1)

Posted by: KrisBcn 17 years ago
Purple Belt
0
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

KrisBcn

NOTE: Visit : http://msdn2.microsoft.com/en-us/library/aa371201.aspx
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ