Hello,

At this post http://answers.bitrock.com/questions/27/what-is-the-difference-between-rpm-packages-and-bitrock-installers You are referring to the following:

"There are scenarios where integration with the underlying package management system can be desirable. BitRock can provide support for generating RPM installers from a BitRock XML project file and integrating with the RPM database at installation time. Please email us if you are interested in these capabilities."

Yes, for my project we need this capability. Please send me the instructions as to how, using BitRock xml project file integrate with the RPM and DEB databases at install time?

Thank you.

asked 13 Sep '12, 13:39

Sasha's gravatar image

Sasha
6222323
accept rate: 0%


InstallBuilder provides two types of integration with native package system - building a native package (RPM/DEB) and normal installer that registers itself in the RPM/DEB registry.

To enable RPM and DEB registration support add <registerWithPackageDatabase>1</registerWithPackageDatabase> to your installer project file. This will register your installation with the RPM and DEB database. From this point on, users will be able to query data about your application and its installed files using your distribution’s rpm-based tools as with any other existing rpm package. You will also be able to uninstall the application using your distribution’s rpm-based tools.

Building a complete DEB/RPM package simply requires specifying rpm or deb as target platform - either from GUI or CLI.

For example:

$ path/to/builder build project.xml deb

This will produce a native .deb package.

Native packages do not offer full functionality of regular installers - they do not provide GUI and it is not possible to enable or disable components or change target directory. This is because the files are packaged in the rpm/deb file rather than installed by the installer. However, it is still possible to run actions - i.e. to perform finalization actions using the same InstallBuilder XML as in regular installer.

Also please note that native packages have to be built on a Linux system that has the package command line tools installed - InstallBuilder uses those tools to generate the packages.

link

answered 14 Sep '12, 10:46

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×21
×12
×9
×5
×2

Asked: 13 Sep '12, 13:39

Seen: 1,673 times

Last updated: 14 Sep '12, 10:46