cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MSI to delete Files

Hi Guys
I am new to admin studio
I need to delete 2 file from 400 workstation what the best way to do this

I have created an MSI to add to new files but cant seem to remove the old ones in the same directory
(5) Replies
you can add custom action using VBScript to delete files.
first, check whether the files are there, if existing, delete them.
make sure where u need use this function.
Look at the help topic "RemoveFiles Action". You'll have to use the Direct Editor to author records in the RemoveFile table.
thanx guys will try now...need to deploy the new app 2morrow
be back now now
Please advise what the file key1 is should i just name it any name?
also component?
Check out the help topic "RemoveFile Table". The first (key) column is anything you'd like as long as it is unique within the keys for the records of that table (InstallShield will warn you if the key is a duplicate of another record). The removal of the file(s) listed in this table must be associated with the installation or uninstallation of a component--that's what the component field is for.