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