I am trying to run Node.js installer while installing my program. I have tried two approaches.

  1. First one was answer for this question: http://answers.bitrock.com/questions/1016/what-is-the-right-way-to-include-another-installer-into-bitrock-installer

    <preinstallationactionlist> <showprogressdialog> <title>Installing third party software</title> <actionlist> <unpackfile> <component>NodeJs </component> <destination>${system_temp_directory}/node-v6.9.4-x86.msi</destination> <folder>NodeJsFolder</folder> <origin>node-v6.9.4-x86.msi</origin> </unpackfile> <runprogram> <program>${system_temp_directory}/node-v6.9.4-x86.msi</program> </runprogram> <deletefile> <path>${system_temp_directory}/node-v6.9.4-x86.msi</path> </deletefile> </actionlist> </showprogressdialog> </preinstallationactionlist>

Error: Cannot find file to unpack node-v6.9.4-x86.msi

  1. I tried to install it in post-installation actions.
<postinstallationactionlist> <showprogressdialog> <title>Installing third party software</title> <actionlist> <runprogram> <program>${installdir.unix}/node-v6.9.4-x86.msi</program> <programarguments></programarguments> </runprogram> </actionlist> </showprogressdialog> </postinstallationactionlist>

But I got error: Unknown error while running "program path inside install folder".

EDIT: Sorry but I can't get code styling to work.

asked 31 Jan, 15:42

Jure's gravatar image

Jure
11
accept rate: 0%

edited 31 Jan, 15:44

Be the first one to answer this question!
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:

×54
×9

Asked: 31 Jan, 15:42

Seen: 65 times

Last updated: 31 Jan, 15:44