New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTF Bug with new Windows 10 Modern ARP #4857
Comments
On Win10 x86, I get: SFXCA: Extracting custom action to temporary directory: C:\Users\Tester\AppData\Local\Temp\MSIDF5B.tmp-
|
My CA was compiled for .NET 2.0 and had a CA.Config with useLegacyV2RuntimeActivationPolicy=true and supportedRuntime elements for v4.0 and v2.0.50727. However the log file never got past invoking RunDLL32 so I don't think this matters. Of note all of my machines were 64bit that had been upgraded from Windows 8.1. I'll spin up some VM's tonight and do more scenario testing.
|
Customer feedback indicates they can only repro on Win 10 x64 not x86. Both clean installs and upgrade installs repro.
|
SFXCA: Extracting custom action to temporary directory: C:\Users\Tester\AppData\Local\Temp\MSIDF5B.tmp-\ |
Candidate for 3.10R2 if we get a fix soon enough.
|
|
Wix3 pull request - wixtoolset/wix3#312 Will send wix4 pull request once wix3 is accepted.
|
@chrpai Fix included in WiX weekly release 3.11.0.129, pull request pending for v4. |
which version/release should I download that includes the fix for this? |
WiX v3.11 has the fix. |
Thanks Rob. However, after I downloaded and installed v3.11.0.504 from http://wixtoolset.org/releases/ I still encounter the error on installing from "'Apps & Features". I also tried v4.0.3922.0, still no luck. Installing from the command line or control panel all works fine. Help is much appreciated. |
Can you double check that your managed CA dll is being built with the newer MakeSfxCA.exe? If so, then please provide an MSI log with the error. |
Hi Sean, here are the commands I ran: Candle:
Light:
Am I missing something? Thanks. |
This bug is about managed custom actions, does your MSI have any? Those commands are for building the MSI, not the managed custom actions. |
My CA is calling a java application:
This is running fine when ran using cli and control panel but not in ''Apps & Features". I'm thinking this is something similar to the issue resolved here. |
The underlying issue is in Windows Installer, Microsoft will have to fix that. All WiX could do was workaround it in DTF. |
Hi all, Thanks PS: If more information is needed, let me know. Here is the log message about the failing CA: Following the consumption of the CA:
|
I have a question about this issue. I'm seeing something similar with some of my customers where SFXCA reports that it can't find RUNDLL32 SFXCA: Failed to create new CA process via RUNDLL32. Error code: 2 I'm still trying to get a repro VM set up. My first thought was that system32 wasn't in their PATH. The CA in question is quite old and was built with WiX 3.5 long ago. After finding this issue I thought I'd just rebuild the CA using WiX 3.11 anyway just to have all the latest workarounds from DTF. Reading the original blog post it sounds like the issues are specific to newer versions of Windows. In my case, the issue is showing up on Win7 SP1 (6.1.7601). I had a look around in the current issues, but didn't see anything mentioning RUNDLL32 returning 2. |
Please see:
http://blog.iswix.com/2015/08/dtf-bug-with-new-windows-10-apps-and.html
Summary: Windows 10 has a new screen for invoking uninstalls. It invokes with a different process and current directory. Something about this is causing immediate DTF custom actions to fail to initialize rundll.exe.
Action start 11:22:33: REDACTED.
SFXCA: Failed to create new CA process via RUNDLL32. Error code: 575
CustomAction REDACTED returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
The text was updated successfully, but these errors were encountered: