winget install --id=Palsternakka.OutlookWindowHook -e
Keeps Outlook running when main window is closed
Keeps Outlook running in the background when the main window is closed, similar to Teams
Currently only works with the new Outlook client - if there's enough interest I'd be happy to implement support for older versions!
You can find the installer or a standalone version on the Releases page here - please note for the standalone version OlkWindowHook.dll
must be in the same directory as OlkWindowHook.exe
olk.exe
every 0.5 secondsWM_CLOSE
event and instead calls ShowWindow(pCwp->hwnd, SW_HIDE)
To build the OlkWindowHook.Installer
project requires the Windows SDK MSI Tools. You will need to make sure that the OlkWindowHook.Installer
project properties (namely the PostBuildEvent
) point to your installation of MsiInfo.exe
- this is required to set the flags on the installer to indicate admin rights aren't required