[wix-users] Comment on: WiX Toolset v3.11 Released
Nir Bar
nir.bar at panel-sw.com
Fri May 26 02:49:34 PDT 2017
You should use Publish element to open NewDialog with a condition.See http://wixtoolset.org/documentation/manual/v3/xsd/wix/publish.html
To fill runtime values in the dropdown from the database, you need to develop a custom action to read the values from database and insert them to ComboBox table.
ComboBox table: https://msdn.microsoft.com/en-us/library/aa367872(v=vs.85).aspx
Windows Installer SQL syntax: https://msdn.microsoft.com/en-us/library/windows/desktop/aa372021(v=vs.85).aspx
Note, that the insert queries should be marked TEMPORARY ans that the runtime values should be inserted before you show the dialog that contains the combo-box.
--
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks
---- On Fri, 26 May 2017 08:27:55 +0300 Hari Selvan <harikgc at live.com> wrote ----
Hi, i am doing a small POC about Setup Installtion using Wix toolset. For that there is a requirement that i need to show the UI dialog dynamically based on the user selection from dropdown value and the dropdown values are dynamically coming from the SQL server DB. How to call different UI dialog based on the dropdown value. For example assume that the dropdown values are like "SQL Server", "Oracle", "DB2". If the user selects SQL server then i need to show the SQL UI Dialog with different parameters, if the user selects Oracle then i need to show Oracle dialog. How to do it.
Thanks,
Hariselvan
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list