#5 closed enhancement (fixed)
Allow AEI to remove files from previous versions of tool/patch packages
Reported by: | Iritscen | Owned by: | Christian |
---|---|---|---|
Priority: | minor | Component: | AEI2 |
Keywords: | Cc: |
Description
Sample use case: I make a package of type Patch called "Mac app" where the contents get distributed to the AE/ folder. One of those files is a read-me. Later I want to change the name of the read-me. If I change it in the package, when the AEI downloads the update, it will put a second read-me in AE/ with the new name, leaving the old one in place. A RemoveFiles option in a tool's Mod_Info.cfg could allow me to replace the old file with the new.
Historical note: The AEI 1.1, as part of its added update feature, supported a Delete_List property in the central Install_Info.cfg file that was found in Globalize/. The AEI would delete files by the names listed there. It was strictly controlled in terms of not being able to act outside the Edition/ folder or on names with wildcards, etc. to prevent costly mistakes (see source code for documentation in comments).
Change History (4)
comment:1 by , 12 years ago
Status: | new → accepted |
---|
comment:2 by , 12 years ago
Ah, a sort of registry. I like it, no need for the package maker to mess around with a deletion list!
Idea: store installed files for a tool in the installed_tools.xml and remove those files on update/uninstall.