Sign in to follow this  
Followers 0
benners

[Sorted] How to get GUID of an msp

1 post in this topic

#1 ·  Posted (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 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?.

Cheers

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  
Followers 0