Digging In: Full Customization of Add Remove Programs with MSI
Windows Installer writes Add/Remove Programs with the RegisterProduct Action [Windows Installer]. For which portions of ARP MSI supports, please review the existing Configuring Add/Remove Programs with Windows Installer [Windows Installer].
If there are additional individual ARP keys (besides Uninstall Registry Key) one needs to write, use Registry Table [Windows Installer].
If one wants to write an alternative value for the default ARP entries, set ARPSYSTEMCOMPONENT property [Windows Installer] to 1 and then write your own legacy key using your own naming convention (but not via the ProductCode property [Windows Installer] GUID). Don't try to modify the existing location that the Installer automatically generates.
For more background on what you'd need to write yourself, you may find the MSDN topics useful
- Uninstall Registry Key [Windows Installer]
- Bullet 6 of Chapter 2. Install/Uninstall (Application Specification for Windows 2000 Server)
- Configuring Add/Remove Programs with Windows Installer [Windows Installer]
- Installation
- Working with Add or Remove Programs in the Control Panel Application (Windows Explorer and Controls)