开发者

uninstall custom actions

开发者 https://www.devze.com 2023-02-28 10:23 出处:网络
After which custom action should my C#开发者_如何学Go custom actions execute? And what condition should I use so my custom action could run only on uninstall?

After which custom action should my C#开发者_如何学Go custom actions execute? And what condition should I use so my custom action could run only on uninstall?


After which custom action should my C# custom actions execute?

It depends on what they do.

And what condition should I use so my custom action could run only on uninstall?

REMOVE = "ALL"


You need to provide the condition in custom action call as to when they should be called.

Example :

<Custom Action="UpdateConfig" After="InstallFinalize">INSTALL_APPLICATION = "1"</Custom>

Here, as you can see the custom action UpdateConfig will be called after everything is installed and if Application was selected as feature while installing.

0

精彩评论

暂无评论...
验证码 换一张
取 消