Scripting Question

how to check if next record exists in an msi file?

11/17/2017 676 views
With MsiViewFetch we are able to get the record from the sql query to msi. But is there any constant or function to check whether next record exists or number of rows/records in a file table msi?
2 Comments   [ + ] Show comments


  • It seems you have added some patches as .c files, but how do we apply those on windows machines?
    No documentation related to it.


    Could you please help me how to apply these patches on windows environment.
  • I tried adding the bugs to the python source code and compile it by using the steps in https://docs.python.org/devguide/ and the fix in https://bugs.python.org/file24795/_msi_fetch.patch.txt, but ended up with many compilation errors

All Answers

Get hold of the Windows Installer SDK. Last time I looked, it was part of the Platform SDK but who knows what it's called nowadays!

Anyway, in there, you'll find a set of VBS scripts (and, I think, a reference CHM) which you can pick apart to get the gist of how to query MSIs.
Answered 11/17/2017 by: VBScab
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ