Talk:How to Automatically download and install a particular version of .NET if it is not already installed

From NSIS Wiki
Jump to navigationJump to search

Hi

I'm new to this. I tried to run the script but got an error !insertmacro: macro named "MUI_FUNCTION_DESCRIPTION_BEGIN" not found!

I checked the macro does present in \NSIS\Contrib\Modern UI 2\Pages\Components.nsh

Can anyone help me with this? Thanks.

Answer

You'll need to declare the following somewhere where you do other includes if any.

!include "MUI.nsh"

Kyp 03:24, 21 August 2010 (UTC)

.NET 2.0 URLs

The following was copied from the comments to this article: http://nsis.sourceforge.net/Talk:Installing_the_Microsoft_.NET_Framework

Where is the url for dotnet 2.0 files?

I will respond my first question, the url are:

!define BASE_URL http://download.microsoft.com/download

.NET Framework
English

!define URL_DOTNET_1033 "${BASE_URL}/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe"

German

!define URL_DOTNET_1031 "${BASE_URL}/9/4/5/945211a0-9ce4-4ab8-be8a-37fff4f3de05/dotnetfx.exe"

Chinese (Simplified)

!define URL_DOTNET_2052 "${BASE_URL}/6/b/c/6bc5b871-4244-467d-b5f3-a7310d2cbf64/dotnetfx.exe"