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

How to delete just a file using upgrade

Hi,

Remove file from the component and Add this file name in the RemoveFiles Table, works. But I got a lot of files to be deleted in different components. Is there any practice for doing this? In my case, I have a bunch of web files and when I upgrade some of the files in different folders will be deleted and some may remain unchange and some will be added.

Thanks

Thurein
Labels (1)
0 Kudos
(5) Replies
Bineesh
Level 6

Remove file from the component and Add this file name in the RemoveFiles Table
0 Kudos
Vijay__K
Level 7

If the web file you want to remove is in a component of its own, you can set the component condition to 0 or a property which is always null like RETIRED.
Then set the 'reevauate condition' to TRUE.

This will re-evaluate the condition, since it is always false, it will remove the file.

Thanks.
0 Kudos
thurein
Level 3

Right now, the file I wish to delete is in a component, which contains many files, so, in this case, shall I delete manually from the component and add a row in the remove file table?

Thanks
0 Kudos
Bineesh
Level 6

If you are doing a majour upgrade you can remove the file(you can redesign feature, component).
If you are doing monor upgrade see the following links

http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/ConfiguringMinorUpgsRemoveInstalledData.htm
http://msdn.microsoft.com/en-us/library/aa367850(VS.85).aspx
0 Kudos
Vijay__K
Level 7

thurein wrote:
Right now, the file I wish to delete is in a component, which contains many files, so, in this case, shall I delete manually from the component and add a row in the remove file table?

Thanks


Yep use the remove file table.
0 Kudos