Custom “Repair” and “Uninstall” functions for MSI installers (when called from the Control Panel)
问题 The Add/Remove Programs (or Programs and Features ) Control Panel applet usually allows to uninstall or repair a program. For a non-MSI installation it's easy to define what should happen, when a user clicks the "Change" or "Uninstall" button. Just set the appropriate keys in the Registry ( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<AppName> ). My question is how to make the "Change", "Repair", and "Uninstall" buttons to work my way (e.g. to start a custom program