ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart
ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success.
I have a code in C++ that supposed to install an MSI using windows API. For some reason, sometimes the return value of the function MsiInstallProduct(InstallerPath, CommandLine); is 0 (success) and sometimes it is 1641 (ERROR_SUCCESS_REBOOT_INITIATED). From the MSDN:(http://msdn.microsoft.com/en-us/library/windows/desktop/aa368542(v=vs.85).aspx)
ERROR_SUCCESS_REBOOT_INITIATED = 1641 = The installer has initiated a restart. This message is indicative of a success.
I came up with nothing after I have looked all over the internet. I want to know, the reason for the MsiInstallProduct to sometimes return 0 and sometimes 1641. And what is the reason in general that will cause the MsiInstallProduct to return 1641.