Skip to content

Commit

Permalink
gac install some v3.5 DLLs
Browse files Browse the repository at this point in the history
Doesn't install all of them yet, but installs a few
  • Loading branch information
itsmattkc committed Mar 18, 2024
1 parent fcabe82 commit 1a60b0b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup/dotnet9x.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ OutFile "dotnet9x.exe"
!define SharedFolder "$COMMONFILES\Microsoft Shared"
!define DWFolder "${SharedFolder}\DW"
!define wbemFolder "$SYSDIR\WBEM"
!define v35Path "${FrameworkPath}v3.5"

#Section

Expand Down Expand Up @@ -64,6 +65,9 @@ File /nonfatal /r "..\bin\dotnetfx20\Win\*"
SetOutPath "${URTInstallPath}"
File /r "..\bin\dotnetfx20\URTInstallPath\*"

SetOutPath "${v35Path}"
File /r "..\bin\dotnetfx35\*"

# Write registry entries
WriteRegDword HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs" "$SYSDIR\msvcr80.dll" 3
WriteRegDword HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs" "$SYSDIR\msvcp80.dll" 3
Expand Down Expand Up @@ -5563,6 +5567,11 @@ ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${URTInstallPath}\Microsoft.VisualBasic
ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${URTInstallPath}\Microsoft.VisualBasic.Compatibility.Data.dll"'
ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${URTInstallPath}\Microsoft.VisualC.Dll"'

# GAC v3.5
ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${v35Path}\System.Web.Entity.Design.dll"'
ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${v35Path}\System.Web.Entity.dll"'
ExecWait '"$WINDIR\Temp\gacutil.exe" /i "${v35Path}\System.Windows.Presentation.dll"'

### Install patched MSIL DLLs ###
SetOutPath $WINDIR\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089
File "..\msil\System.Windows.Forms.dll"
Expand Down

0 comments on commit 1a60b0b

Please sign in to comment.