func DisableInstallerLog() error { err := wrappers.MsiEnableLog(0, nil, 0) if err != nil { return NewWindowsError("MsiEnableLog", err) } return nil }
func EnableInstallerLog(logMode InstallLogMode, logFile string, logAttributes InstallLogAttributes) error { err := wrappers.MsiEnableLog( uint32(logMode), syscall.StringToUTF16Ptr(logFile), uint32(logAttributes)) if err != nil { return NewWindowsError("MsiEnableLog", err) } return nil }