Archive: Slow file command


Slow file command
I'm having a strange problem with a file command. Here's my code so far :

SetOutPath $R0
File ".\src\7za.exe"
File ".\src\zipsize\GetZipSize.exe"
nsExec::Exec '"$R0\GetZipSize.exe" "UserData.zip"'
...

The command
File ".\src\zipsize\GetZipSize.exe"
takes about 10 - 15 seconds to complete. Now if I move GetZipSize.exe one folder up into ".\src\" and change my code to :

SetOutPath $R0
File ".\src\7za.exe"
File ".\src\GetZipSize.exe"
nsExec::Exec '"$R0\GetZipSize.exe" "UserData.zip"'
...

it takes less than 1 second to do its job.

I'm using nsis 2.40 and windows xp.


When building the installer or when using it? Can you attach a complete example?