When an installer is optimising code, what is it actually doing?

0

Some installers, such as Toad's, perform a "code optimization" during the installation of the program, presumably to enhance the operation of the application.

However, considering installers usually contain pre-compiled executables, what is the installer actually doing during this optimization process?

Virtual Anomaly

Posted 2016-07-28T09:35:57.750

Reputation: 98

Is the program built on top of .NET (e.g. C#)? Those are compiled to CLR, optimization via ngen would compile them to native machine code. – user1686 – 2016-07-28T17:42:43.677

Answers

1

Those tools call ngen.exe which converts the DLL from IL mode to an DLL which is optimized for the CPU architecture. When this is done, the JustInTime Compiling (JIT) is no longer needed and speeds up .net applications a lot.

magicandre1981

Posted 2016-07-28T09:35:57.750

Reputation: 86 560