Can I give the user a list of components to choose from in my installer?

asked 06 Sep '11, 03:32

Jake's gravatar image

Jake ♦♦
181534175
accept rate: 98%


Yes. To specify different components, you have to add <allowComponentSelection>1</allowComponentSelection> to your project.xml. Then, you can add different components inside the componentList section of your installer project file. The components defined will be shown to the user. For example, you may use:

<componentList>
       <component>
           <name>default</name>
           <description>My Application</description>
           <canBeEdited>1</canBeEdited>
           <detailedDescription>My application detailed description 
           </detailedDescription>
           <selected>1</selected>
           <show>1</show>
           <folderList>
                   .....
           </folderList>
        </component>

        <component>
           <name>database</name>
           <description>Database application</description>
           <canBeEdited>1</canBeEdited>
           <detailedDescription>Detailed database description
           </detailedDescription>
           <selected>0</selected>
           <show>1</show>
           <folderList>
              ......
           </folderList>
        </component>
 </componentList>
link

answered 06 Sep '11, 03:40

Jake's gravatar image

Jake ♦♦
181534175
accept rate: 98%

edited 15 Sep '11, 10:34

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:

×27
×8
×5
×4
×1

Asked: 06 Sep '11, 03:32

Seen: 151 times

Last updated: 15 Sep '11, 10:34

powered by BitNami OSQA