Does InstallBuilder support component selection?

Answered

Comments

3 comments

  • Avatar
    Jake

    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>
    
  • Avatar
    hulahoopian

    Can I ask where this is switched on in the GUI ? I spent an hour wondering why my components were not appearing until I added this by hand, is there a control for it somewhere ?

  • Avatar
    juanjo

    It is configured in the project properties (In the Advanced tree, doubleclick the root node). In the Installation section, "Allow Component Selection"

Please sign in to leave a comment.