Hi,

I'm running InstallBuilder on Mac OSX 10.8 (Mountain Lion). I have a project already set up that includes multiple pre-build actions in the form of HTTP GETs to download some resources. I set up an on error action for each to throw an error. When I try this from the GUI, it performs correctly and throws the error when the URL is invalid(404). But when I run it from the commandline, it works just fine and builds an installer. The installer however will error when it comes to the step of installing the component that it failed to download. What am I missing? I'm new to installbuilder and this is my first project.

Thanks, Ahmad

asked 23 Aug '13, 15:05

abushnaq's gravatar image

abushnaq
1113
accept rate: 50%


For general info, the http get action does not fail on a 404 apparently, and that was the problem. Needed to run an additional check on the downloaded file and make sure it is the right type(such as a zip, as oppose to an html page that contains 404 text).

link

answered 28 Aug '13, 14:55

abushnaq's gravatar image

abushnaq
1113
accept rate: 50%

The error should also be thrown correctly. Is it possible that you have some actions that behave differently from CLI and work fine?

Could you run the command:

$ bin/Builder.app/Contents/MacOS/installbuilder.sh build path/to/project.xml --debugtrace debug.txt

And send us both your project file as well as debug.txt file?

link

answered 26 Aug '13, 08:21

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

I did and emailed you guys the files.

link

answered 27 Aug '13, 14:27

abushnaq's gravatar image

abushnaq
1113
accept rate: 50%

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:

×23

Asked: 23 Aug '13, 15:05

Seen: 915 times

Last updated: 28 Aug '13, 14:55