Hi,

I want to run a trial version of InstallBuilder on Mac through commandline. The evaluation version from bitrock.installbuilder.com is not working through commandline on Mac. May I know if I get the same through other means?

Also I want to know if InstallBuilder support following features, I appreciate if could let me know the same.

  1. Executing shell script after installation?
  2. Upgrade/Downgrade feature?
  3. Adding and removing screens? For eg. adding a new screen which has some agreement text with YES or NO buttons.
  4. Is it possible to remove Browse option(destination folder selection) so that installer always copies content to one fixed location.
  5. Changing Font color, font style etc. ?

Thanks, Mayur

asked 10 May '13, 08:36

amareshmayur's gravatar image

amareshmayur
0111
accept rate: 0%


In the case of Windows, we include two binaries, builder.exe and builder-cli.exe. The first one is compiled as a GUI application and the second one as a command line one. You could use the later.

On OS X, you should call the builder as:

Builder.app/Contents/MacOS/installbuilder.sh

When launching it without arguments, the GUI mode will open, and to use it as a command line tool, you have to provide the build verb:

   Builder.app/Contents/MacOS/installbuilder.sh build path/to/project.xml platform

You can get the help menu by executing:

   Builder.app/Contents/MacOS/installbuilder.sh --help

It would be great if you could let us know if InstallBuilder support following features. 1. Executing shell script after installation?

Yes, you can use the <runprogram> action to call any external script or binary. You can get additional details in the below link:

http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_running_external_programs

  1. Upgrade/Downgrade feature?

It is easy to create upgrade installers either with the installer itself or using our AutoUpdate tool:

http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_autoupdate_tool

Regarding downgrades, we do not support them as a built-in feature but you could implement them. How complex would be the process of downgrading

  1. Adding and removing screens? For eg. adding a new screen which has some agreement text with YES or NO buttons.

Yes, you can add custom pages. In this case you could use the <licenseparameter> page. You can find it and many other examples in the below article:

http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_showcase_of_available_parameters

  1. Is it possible to remove Browse option(destination folder selection) so that installer always copies content to one fixed location.

Yes, you will just need to hide the installdir page (do not fully remove it, as it is required by the installer), and show a read only version using a <labelparameter>:

  <!-- The installation directory won't be selectable by the end user so we
  hide it setting ask=0 -->
  <directoryParameter>
     <name>installdir</name>
     ...
     <description>Installation Directory</description>
     <default>${platform_install_prefix}/${project.shortName}-${project.version}</default>
     <ask>0</ask>
     ...
  </directoryParameter>
  <!-- We display the read-only version of the installation directory -->
  <labelParameter>
     <name>readOnlyInstalldir</name>
     <title>Installation Directory</title>
     <explanation>Directory where ${project.fullName} will be installed</explanation>
     <description>Installation Directory: ${installdir}</description>
  </labelParameter>
link

answered 10 May '13, 12:02

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Thanks a lot for the detailed information Mr. Juanjo. I appreciate your support. With your information I am able to run post install script. Thanks. I felt happy working with InstallBuilder, it definately satisfy all my requirement.

Now I am facing problem with the below things

  • Now I am facing problem with creating desktop icon on Mac. Its not giving any error but desktop icon also not created.

  • Is there any way we can check the language selected by user and take some action(load a file, execute a script etc.).

  • Thanks Amaresh Mayur

link

answered 13 May '13, 10:05

amareshmayur's gravatar image

amareshmayur
0111
accept rate: 0%

Could you paste the code you are using to create the shortcut? On OS X, you should be using the code explained in this link:

  http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_shortcuts_aliases_on_os_x

Regarding checking the language selected, you can access it checking the built-in variable ${installation_language_code}

link

answered 13 May '13, 10:19

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Thanks for your support Mr.Juanjo, I could create a desktop icon after going through documentation.

Currently InstallBuilder support 17 languages by default, is there any way I can add and support more languages?

  • Thanks Amaresh Mayur
link

answered 15 May '13, 10:56

amareshmayur's gravatar image

amareshmayur
0111
accept rate: 0%

It is not possible to add new languages on your side. Could you email us to to support@bitrock.com with the languages you need?

(15 May '13, 10:59) juanjo ♦♦
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:

×64
×51
×5
×5
×1

Asked: 10 May '13, 08:36

Seen: 2,151 times

Last updated: 15 May '13, 10:59