Hi Team; I have a set of files that need to be included in the installation. They are a set of dlls that we build with and need to be placed on the destination system. The files however are in a specific origin directory (Qt) based on the version. I would like to specify an installer variable that can be used to point to the origin of the files. I have a variable called QtDir and i have tried the following code which did not work, <distributionfile> <origin>"${QtDir}/bin/QtXml4.dll"</origin> </distributionfile> <distributionfile> <origin>"${QtDir}/bin/QtWebKit4.dll"</origin> </distributionfile>

here is the error i get: Cannot add C:/Dev/Software/Development/Setup/SCS Communicator/"unknown variable qtdir/bin/QtXml4.dll" to packed archive. File does not exist

asked 08 Nov '11, 08:19

shawn's gravatar image

accept rate: 0%

Where is the variable defined? To make it available when building, it should be defined as a hidden parameter or it should be defined in the <preBuildActionList>:


In addition, the surrounding quotes used in <origin> should be removed (it will be properly considered even if it contains spaces):


answered 08 Nov '11, 09:32

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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



Asked: 08 Nov '11, 08:19

Seen: 2,713 times

Last updated: 08 Nov '11, 09:32