Adding Items to a Wise Combobox with vbscript
Updated: 20 Apr 2011 | 6 comments
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
discussion Filed Under:
Comments
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?
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
Any Luck?
Hi Deshawn,
Has there been any luck finding an answer to this?
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
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
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.
Would you like to reply?
Login or Register to post your comment.