Compiling takes extremely long

Got a problem you cannot solve? Try here.
MortSkil
Posts: 59
Joined: Mon Oct 30, 2006 3:27 am
Location: Trondheim, Norway

Compiling takes extremely long

Postby MortSkil » Thu Sep 06, 2007 7:00 am

I have a project with many features and many files. The compilation requires 10 min to complete.

Do anyone know what might cause slow compiles?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu Sep 06, 2007 10:41 am

Compiling builds the MSI database. Therefore, if your setup contains a lot of files, it will take a while.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

MortSkil
Posts: 59
Joined: Mon Oct 30, 2006 3:27 am
Location: Trondheim, Norway

Postby MortSkil » Thu Sep 06, 2007 2:25 pm

What is a typical number for "a lot of files" in this context?

I also found that if the same project is compiled on another computer, it is significantly faster, although that computer is slower than mine.

However, I have defined a compiler variable that I use to reference the files I include in the project, and this was on the form '\\\\host\\directory'. This might lead to constant authentication against the other computer, that happens to be the very same running compilation faster than mine...

Another problem is that my project also loads extremely slow.

Are there any hidden logs that may be switched on to find out why it takes so long?

lextm
Posts: 23
Joined: Wed Aug 22, 2007 2:53 am
Contact:

Postby lextm » Thu Oct 25, 2007 12:25 am

If you notice, IA compiler runs faster on dual core CPU. So you may investigate whether your primary computer is dual core.

Also, the debug build which enables debugging takes less time to compile while the release build really takes time especially when you specify good compression and require a lot of runtime packages.

Generally speaking, IA compiler tries its best to compile the smallest installer for you so it worths the time. My suggestion is that limit your compile frequency. Compile less can save your time.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 102 guests