I\'ve built a setup.exe in C# that runs several chained MSI\'s (with the /QUIET /NORESTART). At the end I\'d like to check if a reboot is needed in
setup.exe
/QUIET /NORESTART
The following registry location has the information:
Key HKLM\System\CurrentControlSet\Control\Session Manager, value PendingFileRenameOperations
HKLM\System\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations
Source: http://technet.microsoft.com/en-us/sysinternals/bb897556.aspx