Error on windows when trying to run 7z.exe using runProgram

Answered

Comments

1 comment

  • Avatar
    juanjo

    I'm not sure if that is the only cause of the error but the <program> should not be enclosed in quotes (InstallBuilder treats everything as the binary path and interpretes it as a relative path starting by "). Could you try the below instead?

    <runProgram>
      <program>${productdir.dos}/windows/utils/7z.exe</program>
      <programArguments>-y x "${installer_directory.dos}/dist/archives/${zip_name}" -o".shared/assets"</programArguments>
      ...
    </runProgram>
    

    If it also fails, could you also try removing the quotes surrounding .shared/assets?

Please sign in to leave a comment.