Hi, I'm extracting quite a large number of files preinstallation using unpackDirectory. I want to prevent them from being extracted again during the Installation phase of the installer. Is this possible? Thanks!

asked 07 Mar, 13:55

danish1's gravatar image

accept rate: 0%

It's possible to do this. First you add a rule to the folder you want to unpack and make sure it's always false. In this way the files will be packed but never unpacked by the installer.

      <description>Program Files</description>

You can then unpack the file and if necessary use <copyfile> to copy the unpacked file to the installdir in the <postInstallationActionList>:





answered 09 Mar, 09:00

Michiel's gravatar image

Michiel ♦
accept rate: 22%

Thank you, that's exactly what I needed.

(09 Mar, 09:27) danish1
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: 07 Mar, 13:55

Seen: 2,790 times

Last updated: 09 Mar, 09:27