Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
@if "%_echo%"=="" echo off
setlocal
rem %URTINSTALL%\delkey.exe HKEY_CURRENT_USER\SOFTWARE\Microsoft\COMPlus > nul 2>&1 rem %URTINSTALL%\delkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus > nul 2>&1
rem Don't muck with the registry for the framework
rem %URTINSTALL%\delkey.exe HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework > nul 2>&1 rem %URTINSTALL%\delkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework "" > nul rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\InstallRoot %COMPLUS_InstallRoot%\ > nul rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Dummy > nul rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Dummy\FXCONFIGSHORTCUT 1 > nul
rem Don't add the shim policy rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\%COMPLUS_MAJORVERSION% > nul rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\%COMPLUS_MAJORVERSION%\%URT_VERSION% "0-%URT_VERSION%" > nul rem %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\%COMPLUS_MAJORVERSION%\Version %COMPLUS_VERSION% > nul rem %URTINSTALL%\delkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Version %COMPLUS_VERSION% > nul
REM %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger "cordbg.exe !a 0x%x"> nul REM %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot %URTSDKTARGET%\ > nul
%URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\Snapins\{18BA7139-D98B-43c2-94DA-2604E34E175D}\About "{9F6932F1-4A16-49d0-9CCA-0DCC977C41AA}" > nul %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\Snapins\{18BA7139-D98B-43c2-94DA-2604E34E175D}\NameString ".NET Framework Configuration" > nul %URTINSTALL%\modkey.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\Snapins\{18BA7139-D98B-43c2-94DA-2604E34E175D}\StandAlone\ "" > nul
%URTINSTALL%\modkey "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\.NET Runtime\EventMessageFile" -r "%URTTARGET%\mscorrc.dll" > nul regedit /s %URTINSTALL%\mscorrc.reg regedit /s %URTINSTALL%\typelibstdole.reg
REM --- Install managed .dlls into the GAC --- REM TODO REM for /f %i in (%URTINSTALL%\gacinstall.lst) do call :InstallToTheGAC %i call perl %URTINSTALL%\gacinstall.pl %URTINSTALL%\gacinstall.lst
call %URTINSTALL%\gacinstallfx.bat
REM Register mcoree.dll first because other dlls load this one and get out of sync rem regsvr32 /s /c %MSCOREE_DEST%\mscoree.dll rem Instead of regsvr32, use the supplied reg file instead regedit /s %URTINSTALL%\mscoree.reg
REM call %URTINSTALL%\mkclrlst.bat %URTTARGET%\clrreg.lst reg REM TODO REM for /F %%i in (%URTTARGET%\clrreg.lst) do ( REM regsvr32 /s /c %%i REM ) REM del /f /q %URTTARGET%\clrreg.lst >nul 2>&1 REM call perl %URTINSTALL%\clrreg.pl %URTTARGET%\clrreg.lst call perl %URTINSTALL%\clrreg.pl
rem Do some additional registration regedit /s %URTINSTALL%\mscordbi.reg regedit /s %URTINSTALL%\mscorld.reg
rem Shouldn't need to do this rem %URTINSTALL%\regtlb -n %URTTARGET%\mscoree.tlb rem %URTINSTALL%\regtlb -n %URTTARGET%\mscorlib.tlb
rem %URTINSTALL%\regasm -nologo %URTTARGET%\System.EnterpriseServices.dll rem %URTINSTALL%\regtlb -n %URTTARGET%\System.EnterpriseServices.tlb
%URTTARGET%\regasm -nologo %URTTARGET%\mscorcfg.dll %URTSDKTARGET%\bin\gacutil -silent -i %URTTARGET%\mscorcfg.dll
%URTINSTALL%\catutil /product=netframeworkv1 /dll=%URTTARGET%\netfxcfg.dll
rem We don't need this anymore rem regsvr32 /s /c %URTTARGET%\netfxcfgprov.dll
mofcomp %URTTARGET%\netfxcfgprovm.mof mofcomp %URTTARGET%\netfxcfgprov.mfl
endlocal goto :EOF
:InstallToTheGAC if exist %URTTARGET%\%1 ( echo Installing %1 into the GAC ... >> %COPYURT_LOGFILE% %URTSDKTARGET%\bin\gacutil -silent -i %URTTARGET%\%1 >> %COPYURT_LOGFILE% ) else ( echo Failed to install %1 into the GAC ... >> %COPYURT_LOGFILE% ) goto :EOF
endocal
|