Say I have three components, A, B, and C. A is included in the installer, B is to unzip a zip file, C is to calling an external installer. I set required_size for both B and C. Can the installation progress adjust based on the required size? Right now it goes to 100% after installing A which is not desired.

asked 19 Jun '12, 15:25

gt8967884's gravatar image

gt8967884
116747678
accept rate: 12%


It is not possible to make the progress bar step based on the required_size but you could use a folder in the components to execute the actions:

<component>
  <name>B</name>
  <folderList>
     <folder>
        <name>folder_B</name>
        <actionList>
            <!-- Actions to unzip -->
        </actionList>
     </folder>
  </folderList>
</component>
<component>
  <name>C</name>
  <folderList>
     <folder>
        <name>folder_C</name>
        <actionList>
            <!-- Actions to call the external installer -->
        </actionList>
     </folder>
  </folderList>
</component>
link

answered 19 Jun '12, 17:10

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

I used a folder to execute the unzip action just like you described, but the progress bar is at 100% before running the action in component B. I was hoping the progress could be reasonably right when some compoents are installing files outside of the installer.

(19 Jun '12, 19:30) gt8967884

Could you paste the code you are using?

(20 Jun '12, 12:40) juanjo ♦♦
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×12

Asked: 19 Jun '12, 15:25

Seen: 1,153 times

Last updated: 20 Jun '12, 12:40