benners Posted April 20, 2008 Posted April 20, 2008 (edited) 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 HereI 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?.CheersN/M Sorted it. Edited April 20, 2008 by benners
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now