Native Code Generation

  • Thread starter Thread starter Ioannis Vranos
  • Start date Start date
I

Ioannis Vranos

Is it possible to use "Native Code Generation" during installation of VS
2003 programs so as to avoid run-time JITing, and if yes, how?
 
Ioannis said:
Is it possible to use "Native Code Generation" during installation of
VS 2003 programs so as to avoid run-time JITing, and if yes, how?

Arrange for your installer to invoke ngen.exe on the assemblies that you're
installing.

-cd
 
And of course if Ioannis is interested in applications that do not use the
..Net framework, VS 2003 can be used as a great tool to write native C++
applications.

Ronald
 
Carl said:
Arrange for your installer to invoke ngen.exe on the assemblies that you're
installing.


Is there any option within a "Setup Project", or must I use batch files
and other similar embarrassments? :-)
 
Ioannis said:
Is there any option within a "Setup Project", or must I use batch
files and other similar embarrassments? :-)

That I don't know, as I don't use VS's Setup Projects. Someone else here
might know, or you might have better luck on a newsgroup like:

microsoft.public.windows.msi.

-cd
 
There is no built in way to do this with setup projects. You can write a
custom action and invoke that as part of an MSI install, but I am quite
certain there is no great way this is exposed in the setup projects.

If you want to do anything more than very vanilla setup, you should probably
look at a commercial installer product.

Ronald
 
Back
Top