@@ -25,6 +25,7 @@ To install .NET on your web and worker roles, include the .NET web installer as
25
25
## Add the .NET installer to your project
26
26
To download the web installer for the .NET Framework, choose the version that you want to install:
27
27
28
+ * [ .NET Framework 4.8.1 web installer] ( https://go.microsoft.com/fwlink/?linkid=2215256 )
28
29
* [ .NET Framework 4.8 Web installer] ( https://go.microsoft.com/fwlink/?LinkId=2150985 )
29
30
* [ .NET Framework 4.7.2 web installer] ( https://go.microsoft.com/fwlink/?LinkId=863262 )
30
31
* [ .NET Framework 4.6.2 web installer] ( https://dotnet.microsoft.com/download/dotnet-framework/net462 )
@@ -94,6 +95,7 @@ You can use startup tasks to perform operations before a role starts. Installing
94
95
REM ***** To install .NET 4.7.1 set the variable netfx to "NDP471" ***** https://go.microsoft.com/fwlink/?LinkId=852095
95
96
REM ***** To install .NET 4.7.2 set the variable netfx to "NDP472" ***** https://go.microsoft.com/fwlink/?LinkId=863262
96
97
REM ***** To install .NET 4.8 set the variable netfx to "NDP48" ***** https://dotnet.microsoft.com/download/thank-you/net48
98
+ REM ***** To install .NET 4.8.1 set the variable netfx to "NDP481" ***** https://go.microsoft.com/fwlink/?linkid=2215256
97
99
set netfx="NDP48"
98
100
99
101
REM ***** Set script start timestamp *****
@@ -109,6 +111,7 @@ You can use startup tasks to perform operations before a role starts. Installing
109
111
set TEMP=%PathToNETFXInstall%
110
112
111
113
REM ***** Setup .NET filenames and registry keys *****
114
+ if %netfx%=="NDP481" goto NDP481
112
115
if %netfx%=="NDP48" goto NDP48
113
116
if %netfx%=="NDP472" goto NDP472
114
117
if %netfx%=="NDP471" goto NDP471
@@ -156,6 +159,11 @@ You can use startup tasks to perform operations before a role starts. Installing
156
159
set netfxregkey="0x80EA8"
157
160
goto logtimestamp
158
161
162
+ :NDP481
163
+ set "netfxinstallfile=NDP481-Web.exe"
164
+ set netfxregkey="0x82348"
165
+ goto logtimestamp
166
+
159
167
:logtimestamp
160
168
REM ***** Setup LogFile with timestamp *****
161
169
md "%PathToNETFXInstall%\log"
0 commit comments