Archive: Including runtime files problem


Including runtime files problem
Hello,

I'm including .NET framework with my application. The problem is when I'm including it using the following statement:

File "Runtimes\dotnetfx.exe"

It's telling the user that the required space is around 25MB even when the .NET framework is already installed on the user computer.

Please help.


NSIS can't figure on its on that you're not going to install .NET. You need to tell it by removing the selection of the section that installs .NET.


Or you need to autodetect at runtime if .NET is already installed, and then have it select/deselect the (invisible) .NET section automatically.