My project is a basic MSI project and I have a listbox from which I'm trying to remove items that are not valid for the target system. I can get the items using an InstallScript custom action and also the removal seems to go just fine as far as MsiViewModify's return value is concerned (ERROR_SUCCESS is returned). However, the end result is that the item is not removed completely and the listbox still displays the original amount of values, but the supposedly deleted one just has a string like #TEMP0003 as its text. So while the original list is like
Value1
Value2
Value3
After the removal it's
Value1
Value2
#TEMP0003
By the looks of it I'd only need to get the control to update its contents. How could it be done?
Value1
Value2
Value3
After the removal it's
Value1
Value2
#TEMP0003
By the looks of it I'd only need to get the control to update its contents. How could it be done?