Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5 closed enhancement (fixed)

Allow AEI to remove files from previous versions of tool/patch packages

Reported by: Iritscen Owned by: Alloc
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 Changed 11 years ago by Alloc

  • Status changed from new to accepted

Idea: store installed files for a tool in the installed_tools.xml and remove those files on update/uninstall.

comment:2 Changed 11 years ago by Iritscen

Ah, a sort of registry. I like it, no need for the package maker to mess around with a deletion list!

comment:3 Changed 11 years ago by Alloc

  • Resolution set to fixed
  • Status changed from accepted to closed

In 2.02

comment:4 Changed 11 years ago by alloc

In 804:

Error: Processor CommitTicketReference failed
Unsupported version control system "svn": No module named svn
Note: See TracTickets for help on using tickets.