Summary
Behavior involves custom actions failing to run in a MSI installer package.
Symptoms
Custom action fails to run during the installation. The unexpected behavior exposed in a verbose Windows Installer log as: Lost connection to custom action server process. Attempting to regenerate.
When an install attempts to run your custom action fails to execute. The custom action terminates and the message in log file indicates:
MSI (c) : Invoking remote custom action.
MSI (c) : Lost connection to custom action server process. Attempting to regenerate.
Cause
With the possibility of a vulnerability, it may be intentional that Windows KB3139923 changes Windows Installer custom actions in the event KB3072630 is installed. The Windows KB3072630 is expected to change Windows Installer behavior and then fix a potential custom action vulnerability.
Furthermore, the Microsoft article for KB3072630 indicates:
"After you install this security update, the behavior of custom actions for accessing user hives in the registry will have changed. This security update more strictly enforces the requirement that only custom actions that use impersonation can access HKCU for the current user.
The following is the new behavior:
- Custom actions with impersonation can access HKCU for the current user.
- Custom action that run as System will access HKCU for System instead of HKCU for the current user.
After you install this security update, if you find that some registry keys in HKCU are no longer set by custom actions, you may have to re-design the MSI package so that this custom action is impersonated."
Steps To Reproduce
A Windows machine with Windows update KB3139923 installed.
Resolution
There are at least two approaches to address the unexpected behavior:
* Uninstall the update KB3139923.
* Apply Windows update KB3072630 after update KB3139923.
Additional Information
KB3072630 - MS15-074: Vulnerability in Windows Installer service could allow elevation of privilege: July 14, 2015
KB3139923 - Windows installer (MSI) repair doesn't work when MSI package is installed on an HTTP share in Windows
Microsoft Security Bulletin MS15-074 - Important
Related KB Articles
To create a verbose installer log see:
Logging an MSI Installation
Related Articles
Workaround Issues with Trialware Protection; the InstallShield Activation Service; .NET, Java, PowerBuilder, or Other Inte… 9Number of Views HOW TO: Stop a Windows Service using a Custom Action 8Number of Views HOW TO: Launch a bat file from INSTALLDIR/SUPPORTDIR using Custom Action 24Number of Views Writing to the Log File from a Custom Action in an MSI 13Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago