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

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.

    https://bugs.python.org/file24795/_msi_fetch.patch.txt
    https://bugs.python.org/file11840/_msi.patch.txt

    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
Please log in to comment

Answers

0
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

Please log in to comment
Answer this question or Comment on this question for clarity