Archive: very slow installation


very slow installation
When I install my product to a new area it takes me 75 seconds.

If I run the same installer another time and install it to the same area (overwritting the previous one) it takes 5 minutes!

Any ideas?


It totally depends on what you are doing. Please give details.


I am really not doing anything out of the ordinary. Here is an example :

!include "MUI.nsh"
SetDateSave on
SetDatablockOptimize on
BGGradient 000000 800000 FFFFFF
InstallColors FF8080 000030
XPStyle on
InstallDir "C:\test"
AllowRootDirInstall true
ShowInstDetails show

!define MUI_ABORTWARNING

!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_LANGUAGE "English"

Name "test"
OutFile "test.exe"

Section "Section1"
SetOutPath "$INSTDIR"
File /a /r "NSIS\*"
SectionEnd


The NSIS directroy is the NSIS distribution.

Now try to compile this script and run it twice trying to install to the same area without removing the previous one. You will see that the fisrt installtion is very fast while the second takes much longer time!!

Could it be just my machine?! I have an xp box.


Was anyone able to compile my test program?!

Thanks a lot.


On my Win9x system the second install (overwriting the first) takes about the same time as the first install.