Jump to content

[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?.

Cheers

N/M Sorted it.

Edited by benners
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...