Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: WiXSharp + ngen

$
0
0
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:
project.AfterInstall += project_AfterInstall;
...
staticvoid project_AfterInstall(SetupEventArgs e)
{
    Process.Start("ngen.exe", Environment.ExpandEnvironmentVariables("%INSTALLDIR%My App.exe");
}

Viewing all articles
Browse latest Browse all 1354

Trending Articles