$cs.MSI_IsMSIFileInstalled

Syntax

$cs.MSI_IsMSIFileInstalled(string msifile)

 

Parameters

msifile

Msi file to check installation status of

 

Example

if ($cs.MSI_IsMSIFileInstalled('c:\windows\temp\pdfsam.msi'')){ # do something }

returns boolean (true/false)