$cs.MSI_GetProductCodeFromMSI

Syntax

$cs.MSI_GetProductCodeFromMSI(string msifile)

 

Parameters

msifile

MSI file to retrive Productcode from

 

Example

$msiguid=$cs.MSI_GetProductCodeFromMSI('C:\Windows\Temp\pdfsam.msi')

returns MSI Productcode as string

Â