Thanks ! but dont think this solution will work becuase I need to have the
server name and the database name on the same screen and I would like to
refresh the database name changed on click of the button (on same screen) or
value changed of Server Name drop down.

Thanks,
siaj



Split the process up into two dialogs in the wizard sequence. First,
select the server, then click next to select the database. Change the
server by clicking back to enter a new server and then next to go
forward and select the database.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>







Hello,
I have a list of databases to be populated for a given server in a combobox.
The user selects a value from the list of servers (a different dropdown on
same screen) and clicks on GetDatabases to have the Databse combo refreshed
with new set of Databases. I am calling a vbs custom action to populate the
combo. I am having an issue where the combo is getting populated only if I
leave the screen and comeback. I need the combo to refresh as soon as the
GetDatabases button clicked. I can see the CA firing correctly and
immediately but the population is not happening. I saw some similar posts
but none of them have been able to help me yet. The code snippet looks like
below. Any help will be appreciated
-siaj


<Control Id="SQLSERVER_DATABASE1" Type="ComboBox" X="120" Y="150" Width="150
" Height="18" TabSkip="no" Property="SQLSERVER_DATABASE1" Sorted="yes" >

</Control>

<!--<Control Id="Control_Dummy" Property="DUMMY" Type="ComboBox" X="120" Y="
170" Width="51" Height="17" Text="Poo" >

<ComboBox Property="DUMMY">

<ListItem Value="filler"/>

</ComboBox> Added a dummy control suggested in some post but does not
help-->

</Control>

<Control Id="Get" Type="PushButton" X="280" Y="150" Width="56" Height="17"
Default="yes" Text="Get Database">

<Publish Property="DBSERVERNAME" Value="[IS_SQLSERVER_SERVER1]"><![CDATA[1
]]></Publish>

<!--<Publish Event="DoAction" Value="ClearComboBox">1</Publish> -Tried
clearing the combo using CA, every time but does not help -->

<!--<Publish Event="DoAction" Value="GetDBList">1</Publish>-Calls the CA
GetDBList -->

<!--<Publish Event="DoAction" Value="setProperty">1</Publish>Tried setting
the property of Combo forcefully but does not help

<CustomAction Id="setProperty" Property="SQLSERVER_DATABASE1" Value="master"
/>

-->

<!--<Publish Property="SQLSERVER_DATABASE1" Value ="-">1</Publish> Tried
setting the default value but does not help-->



</Control>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to