This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to get the number of rows of an MSI table
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 11, 2009
09:44 AM
How to get the number of rows of an MSI table
Hi,
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?
Regards
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?
Regards
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 14, 2009
11:13 AM
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.