Jump to content
Sign in to follow this  

[Sorted] How to get GUID of an msp

Recommended Posts


I am trying to get the GUID for any patch file and have tried fileGetVersion but didn't expect that to work, so I searche MS and found the MsiGetPatchInfoEx function Here

I found a thread by Larry here and so I assume I could use a dll call but I am unsure of the code. I have tried a few things the last being

$a = DllCall("msi.dll","uint","MsiGetPatchInfoEx","str",'Z:\OTKLOADR.msp')
MsgBox(0,'', $a)

Do I have to open the package first as in Larrys post or does this not work with msps?.


N/M Sorted it.

Edited by benners

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.