Skip to content

Commit e0b0111

Browse files
authored
Quick Fix - vbs artifacts for .NET 3.5
1 parent 005cb8b commit e0b0111

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

GadgetToJScript/templates/LT4_8/vbscript.template

-12
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@
99
Set Base64ToStream = ms
1010
End Function
1111

12-
Dim shell
13-
Set shell = CreateObject("WScript.Shell")
14-
Dim ver
15-
ver = "v4.0.30319"
16-
On Error Resume Next
17-
shell.RegRead "HKLM\SOFTWARE\\Microsoft\.NETFramework\v4.0.30319\"
18-
If Err.Number <> 0 Then
19-
ver = "v2.0.50727"
20-
Err.Clear
21-
End If
22-
shell.Environment("Process").Item("COMPLUS_Version") = ver
23-
2412
On Error Resume Next
2513

2614
Dim stage_2

0 commit comments

Comments
 (0)