I came back with same issue but in different OS environment, I request you to read with patience.
long back I had this issue when one of customer reported that host is getting rebooted without any warning message just after VC12 install and just before install of main installer. Yesterday another customer reported the same issue with same version of my app on windows 2008 R2 SP1 KOREAN OS. Event logs say that msvcr110.dll and msvcp110.dll are locked by "WmiPrvSE", it is not our application process/service. it is pure windows one, I need your suggestions and have few doubts could you please clarify.
from event logs:
The file C:\Windows\system32\msvcr110.dll is being used by the following process: Name: WmiPrvSE , Id 7996.
Product: Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.51106.
The file C:\Windows\system32\msvcp110.dll is being used by the following process: Name: WmiPrvSE , Id 7996
1. I think on host already same version "VC2012-11.0.51106 of Korean" VC redistri files are installed with some GUID, and they are having files with the file names msvcp110.dll and msvcr110.dll, when my application is triggered, VC redistri install checks for the GUID and I think GUID of ENGLISH and KOREAN are different, my application has ENGLISH VC2012 redisti , so forcefully trying to overwrite Korean VC redistri files since file name are same,and at the same time Korean VC2012 files are being used by WmiPrvSE process so finally ending up with forceful reboot, IS MY GUESS COREECT?
3. we have already released our application and now we can not fix this provide new application in quick time, it can be fixed in next release only so now I need to give work around for this issue to customer, can you please suggest me any work around.
4. in next release, i am planning to display the message for reboot after main install completes. my current setting is " 'If the prerequisite appears to need a reboot:' to :"Note it, fail to resume if the machine is rebooted, and reboot after the installation." i think this is correct setting DO I NEED TO CHANGE THIS, please suggest me.
5. under the "applications to run", I have not mentioned error codes and left this place empty, is it mandatory, is this the reason host is getting rebooted without asking for reboot confirmation?
your suggestions are greatly appreciable