[DllImport("msi.dll", CharSet = CharSet.Auto)] public static extern int MsiInstallProduct( [MarshalAs(UnmanagedType.LPTStr)] string szPackagePath, [MarshalAs(UnmanagedType.LPTStr)] string szCommandLine );
Microsoft documentation: Link
Last updated 1 year ago