Hi all,

the deb and rpm packages build from InstallBuilder will not remove all directories while uninstall.

How can I configure this?



asked 19 Apr '12, 06:08

Kai%20Heitkamp's gravatar image

Kai Heitkamp
accept rate: 0%

Which directories are not deleted? If you are positive at the end of the uninstallation that they should be deleted, you could use the below code:

        <deleteFile path="${installdir}/logs"/>
        <deleteFile path="${installdir}/temp"/>
        <deleteFile path="${installdir}"/>

Please note that it just tries to delete ${installdr} if it is empty. That prevents issues if for example the user selected / as installdir by mistake.


answered 19 Apr '12, 13:27

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

deb: ${installdir} (../MyApp), all subdirs are deleted.

rpm: All dirs are not deleted, files only.

Strange is that the normal InstallBuilder uninstaller works fine!


answered 19 Apr '12, 14:23

Kai%20Heitkamp's gravatar image

Kai Heitkamp
accept rate: 0%

Do you mean that using rpm all files are deleted and empty directories remain?

(19 Apr '12, 14:46) juanjo ♦♦

Yes, exactly!

(19 Apr '12, 16:57) Kai Heitkamp

Could you write us to support@bitrock.com? We will setup an account in our ftp for you to upload the rpm file so we can try to reproduce it.

(24 Apr '12, 13:41) juanjo ♦♦

Okay, done!

(25 Apr '12, 09:52) Kai Heitkamp
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 19 Apr '12, 06:08

Seen: 2,127 times

Last updated: 25 Apr '12, 09:52