Hello, During BitRock installation, I have to unzip an archive. I know the location of that archive, and the name of the archive, but I do not exactly know, at run time, the name of a file packaged in it (assume, the archive is from a third-party team, and file inside it can be named anything). In my <postinstallationaction> I have to supply a path to that unzipped file, including its name, to one of my config files. Is there a way to know what will be the name of unzipped file?


asked 10 May '12, 18:22

Sasha's gravatar image

accept rate: 0%

You can use <findFile> action to find the filename after unzipping the archive. For example if you unzipped it to ${installdir}, you can do:


You can find more information in Find File section of InstallBuilder User Guide.


answered 11 May '12, 07:36

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Thank you! That was what I was looking for!!

(11 May '12, 18:44) Sasha
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: 10 May '12, 18:22

Seen: 1,394 times

Last updated: 11 May '12, 18:44