Opened 10 years ago
Closed 8 years ago
setup runs the etc/preremove batch files.
you right, it doesn't; this is the first time I've heard of etc/preremove ;-)
The only mention on trac aside from this issue is #47.
(reads, studies) Ahh, ok. It's for removing shortcuts and other files created during install and are not located inside the package archive.
Not knowing about preremove I'd handled the same problem in apt by parsing postinstall\*.bat for xxmklink and adding the created files into the installed files manifest (etc/setup/pkg-name.lst.gz) so they're automatically removed by the uninstall routine. (see def get_menu_links)
r1183 adds running of etc/preremove/pkg-name.bat before uninstalling. Please test.
Powered by Trac 1.4.3
By Edgewall Software
Visit the Trac open source project athttp://trac.edgewall.org/