Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

C# Wix Execute CA After Install

Hi i'm trying to execute a custom action after the installation is finished, but only execute when uninstall the program.

i try this:

new ManagedAction(CustomActions.SayHi, Return.check, When.After, Step.InstallFinalize, Condition.Installed)

CA:

[CustomAction]
public static ActionResult a(Session session)
{
  MessageBox.Show("Hola");
  return ActionResult.Success;
}

thanks


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...