Tripredacus Posted May 11, 2011 Posted May 11, 2011 This occurs with a Windows Installer package in Audit Mode. Testing in normal mode isn't really within the scope of how my software operates. It doesn't matter if it is done with 32 or 64bit OS. I have noticed it happening with multiple different installers, from notebook SCMs, Windows Live and Bluetooth software. The setup program will exit when "it is done" but it won't wait for the MSIEXEC it spawns to finish. So originally I had problems when my installer app would want to reboot the system before the install was actually finished. After adding in a "please wait" screen, it became obvious that MSIEXEC was taking a really long time to complete its task. So I went about debugging it. I ran a Procmon on it, and found that after the main installation was done, MSIEXEC would just kinda sit around and not do much of anything. Or if it was waiting on something, I can't see what it is doing by just monitoring MSIEXEC. The time is off in the log because the deployment test has a reset BIOS. Here is a timeline of events using Windows Live as an example. It logged over 1,000,000 events so I'm not posting the log file. If you want I can try putting it up on SkyDrive.@ 7:08:55 msiexec.exe creates its thread and begins the install@ 7:13:15 the install is (for all intents and purposes) finished, but msiexec does not exit.@ 7:13:23 Thread Exit@ 7:13:29 Thread Exit@ 7:13:56 Thread Exit@ 7:14:22 Thread Exit@ 7:15:02 Thread Exit@ 7:16:25 Thread Create@ 7:16:25 Thread Create@ 7:17:25 Thread Exit@ 7:17:32 Thread Exit@ 7:17:32 Thread Exit@ 7:18:53 Thread Create@ 7:20:00 Thread Exit@ 7:22:13 Thread Create@ 7:22:13 Thread Exit@ 7:23:15 Thread Create@ 7:23:15 Thread Create@ 7:23:15 RegCloseKey HKCRAt the point of the RegCloseKey, the normal msiexec events show up and the process exits in less than 0.001 seconds. But you can see above there is a period of time, about 10 minutes of NOTHING being logged by MSIEXEC. So what is it doing during this time and what can be done to speed it up a little?Note: if the install is cancelled due to a reboot occurring at (say) the 7:13 mark, msiexec will rollback the installation!Attached is the msiexec.exe process info from ProcExp at about 7:15, during the "nothing doing" phase.Any ideas?msiexec.exe.txt
Tripredacus Posted July 19, 2011 Author Posted July 19, 2011 I wanted to do an update, as I'm still testing this. I did another deployment test. Here is the general summary:@ 13:52: The first program begins an install ( .NET Framework v4.0 ) and takes less than 1 minute.@ 13:56: The last program begins an install ( Realtek CardReader ) and takes less than 1 minute.@ 14:06: Windows Installer service is stopped ( MSIEXEC exits ) So even in this case, there is a 10 minute window of seeming inactivity. So I looked everywhere for anything that occurs between 13:56:55 and 14:06. Here is that info.@ 13:56: The last program begins an install ( Realtek CardReader ) and takes less than 1 minute.@ 13:57:28: LoadPerf (1001): Performance counters for WmiApRpl service were removed successfully. The Record Data contains the new values of the system Last Counter and Last Help registry entries.@ 13:57:29: LoadPerf (1000): Performance counters for the WmiApRpl service were loaded successfully. The Record Data in the data sections contains the new index values assigned to this service.@ 13:58:52: SCM (7040): The start type of the Windows Modules Installer service was changed from demand start to auto start. @ 13:59:?? There are 29 edb.log (and edb00xxx.log) files that have this datestamp in C:\Windows\System32\catroot2. I do not have the program to read these files.@ 13:59:52 - 14:00:18: This in CBS log2011-07-20 13:58:52, Info CBS Reboot mark refs incremented to: 12011-07-20 13:58:52, Info CBS Scavenge: Starts2011-07-20 13:59:59, Info CSI 00000030@2011/7/20:20:59:59.638 CSI Transaction @0x50f530 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [10]"TI6.0_0:0/"2011-07-20 13:59:59, Info CBS Scavenge: Begin CSI Store2011-07-20 13:59:59, Info CSI 00000031 Performing 1 operations; 1 are not lock/unlock and follow: Scavenge (8): flags: 000000172011-07-20 14:00:00, Info CSI 00000032 Creating NT transaction (seq 6), objectname [6]"(null)"2011-07-20 14:00:00, Info CSI 00000033 Created NT transaction (seq 6) result 0x00000000, handle @0x1982011-07-20 14:00:05, Info CSI 00000034@2011/7/20:21:00:05.847 CSI perf trace:CSIPERF:TXCOMMIT;4574622011-07-20 14:00:05, Info CSI 00000035 Creating NT transaction (seq 7), objectname [6]"(null)"2011-07-20 14:00:05, Info CSI 00000036 Created NT transaction (seq 7) result 0x00000000, handle @0x1982011-07-20 14:00:12, Info CSI 00000037@2011/7/20:21:00:12.196 CSI perf trace:CSIPERF:TXCOMMIT;6374182011-07-20 14:00:12, Info CSI 00000038 Creating NT transaction (seq 8), objectname [6]"(null)"2011-07-20 14:00:12, Info CSI 00000039 Created NT transaction (seq 8) result 0x00000000, handle @0x1982011-07-20 14:00:17, Info CSI 0000003a@2011/7/20:21:00:17.219 CSI perf trace:CSIPERF:TXCOMMIT;6133452011-07-20 14:00:18, Info CSI 0000003b ICSITransaction::Commit calling IStorePendingTransaction::Apply - coldpatching=FALSE applyflags=72011-07-20 14:00:18, Info CSI 0000003c Creating NT transaction (seq 9), objectname [6]"(null)"2011-07-20 14:00:18, Info CSI 0000003d Created NT transaction (seq 9) result 0x00000000, handle @0x5942011-07-20 14:00:18, Info CSI 0000003e@2011/7/20:21:00:18.701 CSI perf trace:CSIPERF:TXCOMMIT;3835982011-07-20 14:00:18, Info CBS Scavenge: Completed, disposition: 0X12011-07-20 14:00:18, Info CSI 0000003f@2011/7/20:21:00:18.717 CSI Transaction @0x50f530 destroyed2011-07-20 14:00:18, Info CBS Reboot mark refs: 02011-07-20 14:00:18, Info CBS Idle processing thread terminated normally2011-07-20 14:00:18, Info CBS Ending the TrustedInstaller main loop.2011-07-20 14:00:18, Info CBS Starting TrustedInstaller finalization.2011-07-20 14:00:18, Info CBS Ending TrustedInstaller finalization.@ 14:00:18: SCM (7040): The start type of the Windows Modules Installer service was changed from auto start to demand start.@ 14:00:18: SCM (7036): The Windows Modules Installer service entered the stopped state.@ 14:05:02 Windows Defender tries to get updates, as noted in WindowsUpdate.log:2011-07-20 14:05:02:762 3792 e08 Misc =========== Logging initialized (build: 7.5.7601.17514, tz: -0700) ===========2011-07-20 14:05:02:762 3792 e08 Misc = Process: c:\program files\windows defender\MpCmdRun.exe2011-07-20 14:05:02:762 3792 e08 Misc = Module: C:\Windows\system32\wuapi.dll2011-07-20 14:05:02:762 3792 e08 COMAPI -------------2011-07-20 14:05:02:762 3792 e08 COMAPI -- START -- COMAPI: Search [ClientId = Windows Defender]2011-07-20 14:05:02:762 3792 e08 COMAPI ---------2011-07-20 14:05:02:762 924 af4 Agent *************2011-07-20 14:05:02:762 3792 e08 COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = Windows Defender]2011-07-20 14:05:02:762 924 af4 Agent ** START ** Agent: Finding updates [CallerId = Windows Defender]2011-07-20 14:05:02:762 924 af4 Agent *********2011-07-20 14:05:02:762 924 af4 Agent * Online = Yes; Ignore download priority = No2011-07-20 14:05:02:762 924 af4 Agent * Criteria = "(IsInstalled = 0 and IsHidden = 0 and CategoryIDs contains '8c3fcc84-7410-4a95-8b89-a166a0190486' and CategoryIDs contains 'e0789628-ce08-4437-be74-2495b842f43b')"2011-07-20 14:05:02:762 924 af4 Agent * ServiceID = {00000000-0000-0000-0000-000000000000} Third party service2011-07-20 14:05:02:762 924 af4 Agent * Search Scope = {Machine}2011-07-20 14:05:05:601 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:05:601 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:05:601 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:05:601 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:05:601 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:05:601 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:08:222 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:08:222 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:08:222 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:08:222 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:08:222 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:08:222 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:10:843 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:10:843 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:10:843 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:10:843 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:10:843 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:10:843 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:13:464 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:13:464 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:13:464 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:13:464 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:13:464 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:13:464 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:13:464 924 af4 Misc WARNING: DownloadFileInternal failed for http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab: error 0x8024402c2011-07-20 14:05:16:085 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:16:085 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:16:085 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:16:085 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:16:085 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:16:085 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:18:705 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:18:705 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:18:705 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:18:705 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:18:705 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:18:705 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:21:311 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:21:311 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:21:311 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:21:311 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:21:311 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:21:311 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:23:931 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:23:931 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:23:931 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:23:931 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:23:931 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:23:931 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:23:931 924 af4 Misc WARNING: DownloadFileInternal failed for http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab: error 0x8024402c2011-07-20 14:05:26:552 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:26:552 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:26:552 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:26:552 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:26:552 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:26:552 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:29:173 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:29:173 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:29:173 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:29:173 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:29:173 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:29:173 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:31:794 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:31:794 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:31:794 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:31:794 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:31:794 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:31:794 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:34:415 924 af4 Misc WARNING: Send failed with hr = 80072ee7.2011-07-20 14:05:34:415 924 af4 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>2011-07-20 14:05:34:415 924 af4 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab>. error 0x8024402c2011-07-20 14:05:34:415 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c2011-07-20 14:05:34:415 924 af4 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c2011-07-20 14:05:34:415 924 af4 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c2011-07-20 14:05:34:415 924 af4 Misc WARNING: DownloadFileInternal failed for http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab: error 0x8024402c2011-07-20 14:05:34:415 924 af4 PT WARNING: PTError: 0x8024402c2011-07-20 14:05:34:415 924 af4 PT WARNING: PTError: 0x8024402c2011-07-20 14:05:34:415 924 af4 PT WARNING: Initialization failed for Protocol Talker Context: 0x8024402c2011-07-20 14:05:34:415 924 af4 PT WARNING: StartCategoryScan failed : 0x8024402c2011-07-20 14:05:34:415 924 af4 Agent * WARNING: Exit code = 0x8024402C2011-07-20 14:05:34:415 924 af4 Agent *********2011-07-20 14:05:34:415 924 af4 Agent ** END ** Agent: Finding updates [CallerId = Windows Defender]2011-07-20 14:05:34:415 924 af4 Agent *************2011-07-20 14:05:34:415 924 af4 Agent WARNING: WU client failed Searching for update with error 0x8024402c2011-07-20 14:05:34:415 3792 6a4 COMAPI >>-- RESUMED -- COMAPI: Search [ClientId = Windows Defender]2011-07-20 14:05:34:415 3792 6a4 COMAPI - Updates found = 02011-07-20 14:05:34:415 3792 6a4 COMAPI - WARNING: Exit code = 0x00000000, Result code = 0x8024402C2011-07-20 14:05:34:415 3792 6a4 COMAPI ---------2011-07-20 14:05:34:415 3792 6a4 COMAPI -- END -- COMAPI: Search [ClientId = Windows Defender]2011-07-20 14:05:34:415 3792 6a4 COMAPI -------------2011-07-20 14:05:34:415 3792 a40 COMAPI WARNING: Operation failed due to earlier error, hr=8024402C2011-07-20 14:05:34:415 3792 a40 COMAPI FATAL: Unable to complete asynchronous search. (hr=8024402C)@ 14:05:37: Windows Error Reporting (1001): Fault bucket, type 0Event Name: MpTelemetryResponse: Not AvailableCab Id: 0Problem Signature:P1: 8024402cP2: EndSearchP3: SearchP4: 6.1.7601.17514P5: MpSigDwn.dllP7: Windows Defender@ 14:06:11: Windows Installer service is stopped ( MSIEXEC exits ) Note: I had tried doing some MSIEXEC debug/logging, however it was making the install take well over an hour on the first item. Not having the time (at the time) I skipped that and decided to look at the regular amount of info.So now, I am thinking that perhaps I should stop Windows Defender during the installation period, which should be fine and Windows Defender would start up automatically following the reboot. Also, I want to point out that this particular deployment does not include Windows Live Essentials. Installing that adds about 8 minutes of additional inactivity/slowness. Any ideas?
cluberti Posted July 21, 2011 Posted July 21, 2011 Actually, that could do it. Just like any install that adds files to the system and triggers CBS, it'll also trigger a scan. In audit mode, this will epic fail if the CRL can't be grabbed or checked (that's likely what's being logged in the catroot logs), and defender is going to try and update/scan new files. It's a bit of a kludge, but just like not running A/V in audit mode, running defender isn't really a good idea either. I'd suggest stopping/disabling the service as your first task when entering audit mode, and setting things back when exiting.
Tripredacus Posted July 21, 2011 Author Posted July 21, 2011 (edited) In the new test, I have set to stop the WinDefend service. There are a lot of different events now (some errors and warnings) that were not in the last test, but likely due to WinDefend being stopped. Fortunately, nothing prompted it to start again by itself. So the new time frame of events (last program to install to MSIEXEC exiting) is:15:42 - 15:52FYI these times are just for reference only, the BIOS time is still set to its factory time.Checking through the logs, CBS is still the same, but WindowsUpdate.log is indeed different. There is nothing logged during the time period above, so stopping WinDefend did definately have an impact there. However after checking all the log files and everything else, the total time savings is about 15-20 seconds. So that isn't it. I would settle for cutting this time in half... I'll relook over the ProcMon log and see if I can come up with any other ideas.Well I did find some information regarding Windows Installer and this 10 minute period. It appears that this is NORMAL. http://blogs.msdn.com/b/heaths/archive/2006/12/08/the-windows-installer-service.aspxSo now my next task is to try to stop the service, after waiting about a minute after the last program is installed. Hopefully this will also work when installing Windows Live Essentials... we shall see.Update2 Well I've got this all fixed up now. It would appear that you can't end the msiserver service if it is actively installing something. So I have altered my program to wait 1 minute, then attempt to stop the service. So far this is working out and everything is fine. I did try to research changing the msiserver service's idle timeout but came up empty on that. This will have to do for now. I also gave up trying to figure out how to check for msiserver's mutex it creates while it is installing. Edited July 21, 2011 by Tripredacus
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now