There are two approaches to this:
Set the ARPSYSTEMCOMPONENT property to 1. Thus, your product does not appear in the control panel. However, it is registered with the Windows Installer.
Remove the PublishFeatures, PublishProduct, RegisterProduct, and RegisterUser actions from the InstallExecuteSequence table. Thus, your product is not registered in the Windows Installer, so it will not be displayed on the control panel.
If your product is not registered in the Windows Installer, it cannot be restored or deleted. Therefore, I recommend using ARPSYSTEMCOMPONENT.
source share