-
Hi, Someone can help? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi, regards |
Beta Was this translation helpful? Give feedback.
-
The custom action is throwing an exception and that is rolling back your uninstall. To resolve for this one machine you need to: a. Fix the reason for 0xe000023c. Google search says this is an error occurred while uninstalling driver package. Fixing this may prove hard. b. Modify the cached installer to mark the custom action's return processing to ignore errors. This can be done by modifying your built MSI with ORCA and adding decimal 64 (bitmask 0x00000040 logical or) to the custom action type column. Save the MSI and recache it into C:\windows\installer but running the command c. Rebuild the machine. Note: This is a good reason to limit the use of custom actions, always set uninstall custom actions to continue/ignore so they run as 'best effort' and never block uninstall, always test thoroughly on virtual machines not your own machine. If this MSI has made it to production be aware that you have a ticking time bomb with your customers so consider making the updated MSI available and/or writing a KB article. You will want to make this change for your next release. https://learn.microsoft.com/en-us/windows/win32/msi/custom-action-return-processing-options |
Beta Was this translation helpful? Give feedback.
-
Hello, Since I haven't found yet why the driver doesn't uninstall, i want to unsellect this feature by default. But i did not find a way to do this; currently i do this:
but the Driver_USBXpress_67_Feature is always selected despite the level (5). regards |
Beta Was this translation helpful? Give feedback.
-
What is your INSTALLLEVEL property set to? Is this a first time install or an upgrade? Have you looked in the MSI log for clues? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi, i tested successfully another method for uninstall my app installed with installer that fails to uninstall (ouf). Making an installer for an newer version that, of course, correct the initial problem (by changing the regards |
Beta Was this translation helpful? Give feedback.
The custom action is throwing an exception and that is rolling back your uninstall. To resolve for this one machine you need to:
a. Fix the reason for 0xe000023c. Google search says this is an error occurred while uninstalling driver package. Fixing this may prove hard.
b. Modify the cached installer to mark the custom action's return processing to ignore errors. This can be done by modifying your built MSI with ORCA and adding decimal 64 (bitmask 0x00000040 logical or) to the custom action type column. Save the MSI and recache it into C:\windows\installer but running the command
msiexec /i foo.msi REINSTALL=ALL REINSTALLMODE=vomus
. After the reinstall is complete attempt uninstall again …