Yes I know what ngen does :)
I just thought that you wanted to ngen Wix# managed project or actions and wonder what is the benefit. My bad.
If you want to ngen your installed product then arguably the best way to doi this is to do it in AfterInstall event:
I just thought that you wanted to ngen Wix# managed project or actions and wonder what is the benefit. My bad.
If you want to ngen your installed product then arguably the best way to doi this is to do it in AfterInstall event:
project.AfterInstall += project_AfterInstall; ... staticvoid project_AfterInstall(SetupEventArgs e) { Process.Start("ngen.exe", Environment.ExpandEnvironmentVariables("%INSTALLDIR%My App.exe"); }