Developers of installation packages that make use of custom actions must determine in each case how to condition the custom action to work correctly when the package is uninstalled. It is up to the package author to decide whether to condition the custom action to run on uninstall, not to run on uninstall, or to run an alternate custom action on uninstall.
Related topics
Using Properties in Conditional Statements
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
