Skip to content
⌘ NSIS Forum Archive

Including runtime files problem

3 posts

EEssam#

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.
kichik#
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.
MSG#
Or you need to autodetect at runtime if .NET is already installed, and then have it select/deselect the (invisible) .NET section automatically.