Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 10

How to get the number of rows of an MSI table


I am working on a Basic MSI project.
Is there any easy way to retrieve the number of rows in an MSI table in an InstallScript custom action?

I know I can iterate through the table and count the number of lines, but is there any easier way? Any Windows Install API function provided by InstallScript?

Labels (1)
0 Kudos
(1) Reply
Level 10 Flexeran
Level 10 Flexeran

The rows would need to be counted manually. As far as I am aware, the MSI SQL support does not provide any method of obtaining a count of records in a table.
0 Kudos