The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

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

MSI to delete Files

dubzaddict
By
Level 3
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

davech66
By
Level 4
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.

dan_galender
By
Level 10
Look at the help topic "RemoveFiles Action". You'll have to use the Direct Editor to author records in the RemoveFile table.

dubzaddict
By
Level 3
thanx guys will try now...need to deploy the new app 2morrow
be back now now

dubzaddict
By
Level 3
Please advise what the file key1 is should i just name it any name?
also component?

dan_galender
By
Level 10
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.