I'm building an package with two main component trees of three subcomponents in each tree. Each component is a group consisting of the main files and another subcomponent for the source code. I'm developing the installer package on an Ubuntu 10.04LTS host.
I can not re-distribute the source code in one subcomponents. So, I build a UI using parameters that collect users information and download the tarball via httppost.
I expand the tarball and compile the source code from the <readytoinstallactionlist>. Then in the <postinstallationactionlist>, I <adddirectoriestouninstaller> with <addcontents> = 1 for the entire folder tree including the source, resulting binaries and tarball. This tarball does not include any .svn or .git information.
I want users to be able to uninstall each component individually. The uninstaller reports success when I uninstall only this component, but it leaves the files on the host. When I remove the entire package, the files that should have been are removed before are removed. All of the other components/subcomponents uninstall properly/incrementally.
What am I missing? How can I get these files to register properly and remove at the right time with the uninstaller?
Please sign in to leave a comment.