I am trying BitRock installer, and am stuck at almost the first hurdle :(
We have several components we install - Java, database, war file - that come our of our existing build process.
How should I set up BitRock to include these files? I tried adding a component, but am stuck adding the files to it eg the jre zip. I looked at the example project, built and installed it, and it didn't install any files.
Confused. Can someone point me in the right direction?
asked 01 Mar '12, 13:31
Adding files to InstallBuilder can be easily done from the GUI. For new projects, files can be added by going to
You can find more information about it in Select the files section of InstallBuilder UserGuide.
The demo projects provided with InstallBuilder show how files can be deployed, both using a single component and multiple components.
You can find more information about it in Sample installers bundled with InstallBuilder section of InstallBuilder UserGuide.
answered 01 Mar '12, 15:48
Embedding zip files can be done in two ways. You can
InstallBuilder's compression is also better than zip, especially when LZMA is enabled, so this should also reduce the overall size of the installer.
A complete example to package two zip archives is as follows:
An alternative is to ship the zip files and run
The last step is not needed (uninstaller will simply skip the file if it is not present), but is a good practice to avoid deleting files customers may copy that would just have the same name.
As for running the binary, if it is done after installation, you can simply invoke the
You can find more information on this in Unpacking Before Installation Time section of our documentation.
answered 02 Mar '12, 04:10
is only defined at runtime, not at build time and that is why it did not work. There is no reason probably why it needs to be that way, so we will be changing that. In the mean time, can you just hardcode the value?
You can also add the following at beginning of
answered 02 Mar '12, 13:34