Visual Studio MSI Installation Project without Add / Remove Entries

I am using the Visual Studio installation project for deployment. This may sound like no, no, but I have a special requirement that the uninstaller does not register in Add or Remove Programs. Is there something I can do to prevent the installer from registering its uninstaller?

I am even ready for Orca if there is nothing better.

+4
source share
1 answer

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.

+7
source

Source: https://habr.com/ru/post/1384593/


All Articles