Hello,

I’m using nant085+nant conntrib0.85.

I want to create a ComboBox with List of properties attached to it. Unfortunatelly when I want to create a table, it doesnt creates or is empty without rows :///

 

The code looks like this :

 

<tables>

  <table name="ComboBox">

  <columns>

      <column name="Property" nullable="false" key="true" category="Identifier" description="A named property to be tied to is item. All the items tied to the same property become part of the same combobox." />

      <column name="Order" nullable="false" key="true" category="Integer" description="A positive integer used to determine the ordering of the items within one list.The integers do not have to be consecutive." />

      <column name="Value" nullable="false" key="false" category="Formatted" description="The value string associated with this item. Selecting the line will set the associated property to this value." />

      <column name="Text" nullable="true" key="false" category="Formatted" description="The visible text to be assigned to the item. Optional. If this entry or the entire column is missing, the text is the same as the value." />

  </columns>

        <rows>

            <row>

              <columns>

                  <column name="Property" value="SL" />

                  <column name="Order" value="1"/>

                  <column name="Value" value="Server1"/>

                  <column name="Text" value="s1"/>

              </columns>

 

            </row>

            <row>

              <columns>

                  <column name="Property" value="SL" />

                  <column name="Order" value="2"/>

                  <column name="Value" value="Server2"/>

                  <column name="Text" value="s2"/>

              </columns>

            </row>

 

        </rows>                

  </table>

</tables>

 

<controls>

<control dialog="CA" name="ComboBox" type="ComboBox" x="50" y="110" width="100" height="50" attr="3" property="SL"/>

<controls>

 

If the table ComboBox exists in the msi template nothing happens = no rows are added so the ComboBox is empty

When I remove ComboBox from MSI template the errors occurs when adding table structure :

Unable to build MSI database 'C:\n\CA\CASetup.msi'.

    Modify,Mode,Record

 

No idea whats going on…. Is there no way to put some values in ComboBox Group Box etc with nant ??

 

Piotr Perko

Configuration Manager

Altkom Akademia SA

Phone: +48 22 860-70-42

Piotr.perk[EMAIL PROTECTED]

 

Reply via email to