TobiV
Posts: 5
Joined: Fri Jul 10, 2015 11:05 am

Uninstall fails when using custom actions on Win 10

Hi,

our uninstaller uses custom actions (C#). These seem to fail when uninstalling through the new apps uninstall page of Windows 10.
The error is: SFXCA: Failed to create new CA process via RUNDLL32. Error code: 575
The same uninstall is working from the normal control panel (I've attached both log files).

This seems to be related: http://blog.iswix.com/2015/08/dtf-bug-w ... s-and.html
Please also the the related wix bug: https://github.com/wixtoolset/issues/issues/4857/
The solution there seems to be "Somehow CreateProcess doesn't work but ShellExecuteEx does." (https://github.com/wixtoolset/wix3/pull/312)

Could you please check if this applies for AdvancedInstaller?

Thanks
Tobias
Attachments
MSI4805e_normal_control_panel.LOG
(640.49 KiB) Downloaded 275 times
MSI390de_win10_control_panel.LOG
(117.52 KiB) Downloaded 296 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall fails when using custom actions on Win 10

Hi Tobias,

We do face with similar problems when the uninstall is performed from the new apps uninstall page of Windows 10. It seems that in some cases the uninstall custom actions fail when the uninstall is triggered from there.

We will further investigate to see if there is anything we can do about.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”