public static extern MsiError MsiEnableLog(MsiInstallLogMode logMode, string logFile, MsiLogAttribute logAttributes);
extern static public MsiError MsiEnableLog(MsiInstallLogMode mode, string file, MsiLogAttribute attributes);