wixtoolset/wix3 — pull request #189 by phillHgl (2014-12-09 18:08:13+00:00)
Title: 4592-RestartManager-AddPriviledges

If the named process is running under another user, then OpenProcess must be called using a process token which includes SeDebugPriviledge. To set SeDebugPriviledge the caller must have elevated privileges. If cannot set SeDebugPriviledge, log a message and continue. Let caller handle a reboot request rather than returning a failure.

Tested these changes on Win 7 SP1 x64 Prof, Win 8 Prof x64, Win 7 SP1 Ultimate N German x64, Win 7 SP1 Ultimate N Korean x86, WS2008R2 SP1 Standard, WS2012R2 Korean.