combo loaded from vbs script with no value causes error - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

combo loaded from vbs script with no value causes error

using a script from the combolist example i created a dialog that loads items to the combo from a file on disk. i modified the example script to *not* have a default selected value in some cases. everything works in normal circumstances except if the user has the combo opened/dropped down for selection but not yet chosen a selection and navigates away from the dialog. upon return there will be windows error displayed.

conditions
combo item loaded from vbs script
no default item selected for combo in vbs script
click the combo, do NOT make a selection
press alt-tab or windows key to cause the dialog to lose focus
generate windows error.

attached are the errors from vista and XP in an rtf doc

repeatable?
Attachments
error.zip
unzip for "error.rtf" document
(214.42 KiB) Downloaded 324 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: combo loaded from vbs script with no value causes error

Hello,

Thank you for bringing this to our attention.
This indeed seems to be a bug with the Enhanced UI. We have spotted the issue and a fix will be available with the next release of Advanced Installer.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”