How do I programmatically populate drop down list?
Updated: 21 May 2010 | 2 comments
This issue has been solved. See solution.
I am creating a new custom dialog in Wise Installation System 9.0 and I need to present the user with a list of web sites that are on the server. The VBScript itself is pretty straight forward, but I'm having a hard time figuring out how I can use it to populate the drop down.
When I go into the Dialog Script Editor I don't see any actions listed for calling a VBScript, so I'm guessing that I have to do this in the installation script itself. Can anyone help me get going in the right direction?
Thanks
Discussion Filed Under:
Comments
Wise Installation System 9 does not integrate with VBScript
If you want to integrate VBScript with Wise Installation System, you will need to upgrade to Wise Installation Studio 7, as earlier versions of Wisescript don't directly interface with VBScript.
However, you can still call vbscripts using the Execute Program command to call wscript.exe or cscript.exe from the destination machine, and pass these executables the name and path of your vbscript. Then you may wish to pass the information from the vbscript to the wisescript using either the registry or a text file written on the fly.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Passing data to the drop down list control
I have everything in place, however whenever I try to populate the dropdown list using the "Set Control Text" action I can only get data into the selected line, I am not able to populate the drop down list with multiple items. I've tried embedding %CRLF% characters into the variable strings, but everything still gets displayed on a single line.
Is it even possible to determine the contents of a drop down list at runtime?
Would you like to reply?
Login or Register to post your comment.