Hi,
I would like to update my combo box during initialization.
I have created a simple test script to do this:
-----------------BEGIN-----------------
Dim MsiDb
Dim MsiInstall
Dim MsiRecord
Dim MsiView
Set MsiDb = Session.Database
Set MsiInstall = Session.Installer
Set MsiView = MsiDb.OpenView("SELECT * FROM ComboBox")
Set MsiRecord = MsiInstall.CreateRecord(4)
MsiRecord.StringData(1) = COMBOBOX
MsiRecord.IntegerData(2) = 1
MsiRecord.StringData(3) = VALUE
MsiRecord.StringData(4) = TEXT
Call MsiView.Execute(MsiRecord)
Call MsiView.Modify (7, MsiRecord)
Call MsiView.Close
-----------------END-----------------
I have this script included as a UI custom action and I have have inserted the script via a DoAction in the init events for the dialog in question.
The COMBOBOX in StringData(1) is the property name of my combo box.
However, it doesn't seem to work.
Any ideas?
Thanks.