Browse Source

PostInstallTasks now calls ngen for SharpDevelop.exe (and its dependencies).

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1037 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 20 years ago
parent
commit
a34a53ef09
  1. 24
      bin/setup/PostInstallTasks.bat
  2. 24
      bin/setup/PreUninstallTasks.bat

24
bin/setup/PostInstallTasks.bat

@ -1,19 +1,31 @@ @@ -1,19 +1,31 @@
@echo off
pushd ..
echo Installing assemblies into the GAC
echo.
echo NUnit.Framework.dll
..\tools\gacutil2.exe /i ..\nunit.framework.dll
tools\gacutil2.exe /i nunit.framework.dll
echo.
echo MbUnit requirements
..\tools\gacutil2.exe /i ..\tools\MbUnit\Refly.dll
..\tools\gacutil2.exe /i ..\tools\MbUnit\TestFu.dll
..\tools\gacutil2.exe /i ..\tools\MbUnit\QuickGraph.dll
..\tools\gacutil2.exe /i ..\tools\MbUnit\QuickGraph.Algorithms.dll
tools\gacutil2.exe /i tools\MbUnit\Refly.dll
tools\gacutil2.exe /i tools\MbUnit\TestFu.dll
tools\gacutil2.exe /i tools\MbUnit\QuickGraph.dll
tools\gacutil2.exe /i tools\MbUnit\QuickGraph.Algorithms.dll
echo.
echo MbUnit.Framework.dll
..\tools\gacutil2.exe /i ..\tools\MbUnit\MbUnit.Framework.dll
tools\gacutil2.exe /i tools\MbUnit\MbUnit.Framework.dll
echo.
echo.
echo.
echo Compiling SharpDevelop to native code to improve startup time...
echo.
ngen install SharpDevelop.exe
popd
rem echo Installing and configuring help system
rem cd help
rem call register.bat
echo.
@IF %ERRORLEVEL% NEQ 0 PAUSE

24
bin/setup/PreUninstallTasks.bat

@ -1,16 +1,24 @@ @@ -1,16 +1,24 @@
@echo off
echo Removing assemblies from the GAC
pushd ..
echo Removing assemblies from the GAC...
tools\gacutil2.exe /u nunit.framework.dll
tools\gacutil2.exe /u tools\MbUnit\Refly.dll
tools\gacutil2.exe /u tools\MbUnit\TestFu.dll
tools\gacutil2.exe /u tools\MbUnit\QuickGraph.dll
tools\gacutil2.exe /u tools\MbUnit\QuickGraph.Algorithms.dll
tools\gacutil2.exe /u tools\MbUnit\MbUnit.Framework.dll
echo.
..\tools\gacutil2.exe /u ..\nunit.framework.dll
echo.
..\tools\gacutil2.exe /u ..\tools\MbUnit\Refly.dll
..\tools\gacutil2.exe /u ..\tools\MbUnit\TestFu.dll
..\tools\gacutil2.exe /u ..\tools\MbUnit\QuickGraph.dll
..\tools\gacutil2.exe /u ..\tools\MbUnit\QuickGraph.Algorithms.dll
echo.
..\tools\gacutil2.exe /u ..\tools\MbUnit\MbUnit.Framework.dll
echo Uninstalling native images...
echo.
ngen uninstall SharpDevelop.exe
popd
rem echo Uninstalling help system
rem cd help
rem call unregister.bat
echo.
@IF %ERRORLEVEL% NEQ 0 PAUSE
Loading…
Cancel
Save