Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Adding Items to a Wise Combobox with vbscript

Updated: 20 Apr 2011 | 6 comments
ChuckF74's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I'm tyring to add items to a wise combobox with vbscript.  Is there some way to refer to the wise combobox in vbscript that is similar to setting a property?

This gets a Wise property in vbscript:
session.property("WISE_SQL_CONN_STR")

Is there a way I can refer to a dropdown list control and add items like this:

[WiseCombobox].items.add "Item A"
[WiseCombobox].items.add "Item B"
[WiseCombobox].items.add "Item C"

I'm using InstallStudio 7

Thanks
 

Comments

ChuckF74's picture
20
Nov
2009
0 Votes 0
Login to vote

When to Populate?

When should I populate the combobox?  It's on a custom SQL Dialog...is there a form load or certain event that is called when the dialog loads?

DeShawn's picture
20
Nov
2009
0 Votes 0
Login to vote

Finding the Answer...

I forwarded your question to a member of the Wise development team.  I will hopefully have an answer for you very soon.

DeShawn H Smith Principal Software Engineer Developer Services Enterprise Management Group Symantec Corporation www.symantec.com Office: (801) 995-7540 Mobile: (801) 319-4682

ChuckF74's picture
30
Nov
2009
0 Votes 0
Login to vote

Any Luck?

Hi Deshawn,

Has there been any luck finding an answer to this?

DeShawn's picture
30
Nov
2009
0 Votes 0
Login to vote

Not yet...  I'll ping them

Not yet...  I'll ping them again.  Since we just had the Thanksgiving holiday, I'm sure some things fell through the cracks.

DeShawn H Smith Principal Software Engineer Developer Services Enterprise Management Group Symantec Corporation www.symantec.com Office: (801) 995-7540 Mobile: (801) 319-4682

DeShawn's picture
04
Dec
2009
0 Votes 0
Login to vote

The answer I received

Hello,

I received the following from the Wise team:

"there is a Windows Installer table called ComboBox. They can add rows to that table that would show up for a certain combobox"

Please let me know if you need more detail.  I can try to get further information.

DeShawn H Smith Principal Software Engineer Developer Services Enterprise Management Group Symantec Corporation www.symantec.com Office: (801) 995-7540 Mobile: (801) 319-4682

ChuckF74's picture
07
Dec
2009
0 Votes 0
Login to vote

Where to Add the Items

Hi DeShawn,

Thanks for the research.  How can I add rows to the combobox table in a non-manual way?  Can I reference it in the vbscript or should I approach it from the wise side?  If there is any kind of simple example it would be very very helpful.  Thanks again for your assistance.