Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-30 Thread md5hans
Thanks! I suppose I can filter the delete query with the property name? I have never interacted with the MSI-database before but I have looked at the database functions in the MSI Api and I have a general idea of how to do this BUT if anyone have a c++ code sample to share I would be very, very

Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-30 Thread md5hans
Hi! I found a sample... ... MSIHANDLE hDatabase, hView; hDatabase = MsiGetActiveDatabase(hInstall); if (MsiOpenDatabase(szPathName,MSIDBOPEN_DIRECT,hDatabase)!= ERROR_SUCCESS) { return FALSE; } if (MsiDatabaseOpenView(hDatabase,DELETE FROM 'ComboBox' WHERE 'Property' =

Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-29 Thread Bob Arnson
md5hans wrote: Is there a way to clear an msi-table from the c++ code? Execute a DELETE query on the table. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through

[WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-27 Thread md5hans
Hi! I have a dialog (D1) that has a ComboBox where the items of the ComboBox is filled by a custom action (C++ dll). When the user has selected an item the next button is enabled and another dialog (D2) is shown (if the user clicks the next button) with another combobox. The D2 combobox is also