Вопрос

I have a custom action that is removing from database related to the product records from different tables. Right now it is set like this:

<Custom Action="caUnregisterServer" Before="RemoveFiles">Installed</Custom>

Then, I modified a product features from Programs and Features menu, by clicking on Change button and noticed that custom action caUnregisterServer executed! How can I run this action on uninstall only?

Это было полезно?

Решение

Looks like the answer to your question is the condition, REMOVE~="ALL"

Here's the link.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top