I created a Run Program action. The XML is as follows:

<runProgram> <explanation>Unpacking JRE</explanation> <program>${installdir}/jre-6u38-linux-x64.bin </program> <programArguments></programArguments> <progressText>Unpacking JRE</progressText> </runProgram>

However, when I run my installer I get an error message saying: Problem running post-install step. Installation may not complete correctly Error running /opt/SafeNet/SPA-3.3.0/jre-6u38-linux-x64.bin : /bin/sh: /opt/SafeNet/SPA-3.3.0/jre-6u38-linux-x64.bin : No such file or directory

However, I can copy and paste the offending command (/opt/SafeNet/SPA-3.3.0/jre-6u38-linux-x64.bin) from the error message and it runs properly.

Any ideas on what might be going on or how to debug this?

Thanks.

asked 22 Jan '13, 18:53

Jeff%20Melnick's gravatar image

Jeff Melnick
11101012
accept rate: 0%


The issue seems to be that value for <program> includes a space, and InstallBuilder is trying to run a file called "jre-6u38-linux-x64.bin ". Does changing it to the below resolve the issue?

<program>${installdir}/jre-6u38-linux-x64.bin</program>

Also, InstallBuilder provides Java component ready to use in your installers that simplifies bundling of Java in your application.

You can find more information about using the Java component in Java and Bundling a JRE sections of InstallBuilder user guide.

link

answered 24 Jan '13, 09:28

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:

×11
×10

Asked: 22 Jan '13, 18:53

Seen: 1,641 times

Last updated: 24 Jan '13, 09:28