I try to write vbscript, to remove the duplicated component GUID entry in component table of a MSI. But I always get 80004005 error, MSI API error.
Does it mean vbscript can't modify/delete on component table?
I do know Transform can.
my code snippet:
DeleteQuery = "delete from component where component.component="+comp
Set DeleteView = Msmdatabase.OpenView(DeleteQuery)
DeleteView.Execute
DeleteView.Close
The error happens during OpenView
thanks, William L.