Unpack installer package

Comments

7 comments

  • Avatar
    Dirk Stegemann

    I'd wish for such a feature as well, but I haven't found an officially supported one yet. So we need to implement our own solutions, it seems.

    Mine is to add a folder parameter that is checked during runtime, so when calling the installer with that parameter on the command-line, instead of running the installation process, the installer extracts the payload (using a lot of <unpackDirectory> and <unpackFile> actions) and quits.

    Unfortunately, there's also no way to easily iterate through all components, which could help with the extraction process.

    0
    Comment actions Permalink
  • Avatar
    paddy

    Hi, I'm in the same situation as our users want to bypass these and put the extraction into their build scripts so that they can automate. I tried using unzip and other methods but it is not working. Is there a way to bypass all these option, so, that user can easily extract the contents from the installer?

    is this issue resolved. as this being reported almost 4 years back..

    Any suggestions would be of great help.

    Thanks and Regards, Paddy

    0
    Comment actions Permalink
  • Avatar
    michiel

    Unfortunately it's not possible to do this. Using <unpackDirectory> is the workaround most used by other users.

    0
    Comment actions Permalink
  • Avatar
    paddy

    Thanks a lot for the suggestion. Yes, this workaround is working.

    0
    Comment actions Permalink
  • Avatar
    Louise

    Hi Michiel,

    I am having the same sentiments as this. How can we use this during build time? Where is it possible to put the <unpackDirectory> tag? Thank you.

     

    Regards,

    Rachel

    0
    Comment actions Permalink
  • Avatar
    Louise

    By the way, we need to extract the package created through Installbuilder so we can generate Bill Of Materials file.

    0
    Comment actions Permalink
  • Avatar
    michiel

    I'm not sure I understand your question completely. The <unpackDirectory> action is useful to unpack packed directories in a pre or post installation action. During build time the installer would not yet be created.

    0
    Comment actions Permalink

Please sign in to leave a comment.