diff --git a/build/InstallGit.cmd b/build/InstallGit.cmd deleted file mode 100644 index 4daa2f45d9..0000000000 --- a/build/InstallGit.cmd +++ /dev/null @@ -1,63 +0,0 @@ -@ECHO OFF -SETLOCAL -REM SETLOCAL is on, so changes to the path not persist to the actual user's path - -git.exe --version -IF %ERRORLEVEL%==9009 GOTO :trydefaultpath -REM OK, DONE -GOTO :EOF - -:trydefaultpath -PATH=C:\Program Files (x86)\Git\cmd;C:\Program Files\Git\cmd;%PATH% -git.exe --version -IF %ERRORLEVEL%==9009 GOTO :showerror -REM OK, DONE -GOTO :EOF - -:showerror -ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\cmd nor in C:\Program Files\Git\cmd -SET /p install=" Do you want to install Git through Chocolatey [y/n]? " %=% -IF %install%==y ( - :: Create a temporary batch file to execute either after elevating to admin or as-is when the user is already admin - ECHO @ECHO OFF > "%temp%\ChocoInstallGit.cmd" - ECHO SETLOCAL >> "%temp%\ChocoInstallGit.cmd" - ECHO ECHO Installing Chocolatey first >> "%temp%\ChocoInstallGit.cmd" - ECHO @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" >> "%temp%\ChocoInstallGit.cmd" - ECHO SET PATH=%%PATH%%;%%ALLUSERSPROFILE%%\chocolatey\bin >> "%temp%\ChocoInstallGit.cmd" - ECHO choco install git -y >> "%temp%\ChocoInstallGit.cmd" - - GOTO :installgit -) ELSE ( - GOTO :cantcontinue -) - -:cantcontinue -ECHO Can't complete the build without Git being in the path. Please add it to be able to continue. -GOTO :EOF - -:installgit -pushd %~dp0 - :: Running prompt elevated - -:: --> Check for permissions ->nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" - -:: --> If error flag set, we do not have admin. -IF '%errorlevel%' NEQ '0' ( - GOTO UACPrompt -) ELSE ( GOTO gotAdmin ) - -:UACPrompt - ECHO You're not currently running this with admin privileges, we'll now try to execute the install of Git through Chocolatey after elevating to admin privileges - ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" - ECHO UAC.ShellExecute "%temp%\ChocoInstallGit.cmd", "", "", "runas", 1 >> "%temp%\getadmin.vbs" - - "%temp%\getadmin.vbs" - EXIT /B - -:gotAdmin - IF EXIST "%temp%\getadmin.vbs" ( DEL "%temp%\getadmin.vbs" ) - pushd "%CD%" - CD /D "%~dp0" - - CALL "%temp%\ChocoInstallGit.cmd" \ No newline at end of file diff --git a/build/RevertToCleanInstall.bat b/build/RevertToCleanInstall.bat deleted file mode 100644 index b21b33d8ff..0000000000 --- a/build/RevertToCleanInstall.bat +++ /dev/null @@ -1,127 +0,0 @@ -@ECHO OFF - -:choice -set /P c=WARNING! Are you sure you want to continue, this will remove all package files, view files, sqlce database, etc... Press 'Y' to auto-remove all files/folders, 'N' to cancel or 'C' to prompt for each folder removal? -if /I "%c%" EQU "C" goto :prompt -if /I "%c%" EQU "Y" goto :auto -if /I "%c%" EQU "N" goto :exit -goto :choice - - -:prompt - -echo Current folder: %CD% - -echo Removing sqlce database -del ..\src\Umbraco.Web.UI\App_Data\Umbraco.sdf - -echo Resetting installedPackages.config -echo ^^^ >..\src\Umbraco.Web.UI\App_Data\packages\installed\installedPackages.config - -echo Removing plugin cache files -del ..\src\Umbraco.Web.UI\App_Data\TEMP\PluginCache\*.* - -echo Removing cache files and examine index -del ..\src\Umbraco.Web.UI\App_Data\TEMP\*.* - -echo Removing log files -del ..\src\Umbraco.Web.UI\App_Data\Logs\*.* - -echo Removing packages -del ..\src\Umbraco.Web.UI\App_Data\packages\*.* - -echo Removing previews -del ..\src\Umbraco.Web.UI\App_Data\preview\*.* - -echo Removing app code files (typically added by starterkits) -del ..\src\Umbraco.Web.UI\App_Code\*.* - -echo Removing xslt files -del ..\src\Umbraco.Web.UI\xslt\*.* - -echo Removing user control files -del ..\src\Umbraco.Web.UI\UserControls\*.* - -echo Removing masterpage files -del ..\src\Umbraco.Web.UI\masterpages\*.* - -echo Removing razor files -del ..\src\Umbraco.Web.UI\macroScripts\*.* - -echo Removing media files -del ..\src\Umbraco.Web.UI\media\*.* - -echo Removing script files -del ..\src\Umbraco.Web.UI\scripts\*.* - -echo Removing css files -del ..\src\Umbraco.Web.UI\css\*.* - -echo "Umbraco install reverted to clean install" -pause -exit - - - -:auto - -echo Current folder: %CD% - -echo Removing sqlce database -del ..\src\Umbraco.Web.UI\App_Data\Umbraco.sdf - -echo Resetting installedPackages.config -echo ^^^ >..\src\Umbraco.Web.UI\App_Data\packages\installed\installedPackages.config - -echo Removing plugin cache files -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\TEMP\PluginCache\*.*) DO DEL %%A - -echo Removing cache files and examine index -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\TEMP\*.*) DO DEL %%A - -echo Removing log files -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\Logs\*.*) DO DEL %%A - -echo Removing packages -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\packages\*.*) DO DEL %%A - -echo Removing previews -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\preview\*.*) DO DEL %%A - -echo Removing app code files (typically added by starterkits) -FOR %%A IN (..\src\Umbraco.Web.UI\App_Code\*.*) DO DEL %%A - -echo Removing xslt files -FOR %%A IN (..\src\Umbraco.Web.UI\xslt\*.*) DO DEL %%A - -echo Removing masterpage files -FOR %%A IN (..\src\Umbraco.Web.UI\masterpages\*.*) DO DEL %%A - -echo Removing user control files -FOR %%A IN (..\src\Umbraco.Web.UI\usercontrols\*.*) DO DEL %%A - -echo Removing view files -ATTRIB +H ..\src\Umbraco.Web.UI\Views\Partials\Grid\*.cshtml /S -FOR %%A IN (..\src\Umbraco.Web.UI\Views\) DO DEL /Q /S *.cshtml -H -ATTRIB -H ..\src\Umbraco.Web.UI\Views\Partials\Grid\*.cshtml /S - -echo Removing razor files -FOR %%A IN (..\src\Umbraco.Web.UI\macroScripts\*.*) DO DEL %%A - -echo Removing media files -FOR %%A IN (..\src\Umbraco.Web.UI\media\*.*) DO DEL %%A - -echo Removing script files -FOR %%A IN (..\src\Umbraco.Web.UI\scripts\*.*) DO DEL %%A - -echo Removing css files -FOR %%A IN (..\src\Umbraco.Web.UI\css\*.*) DO DEL %%A - -echo "Umbraco install reverted to clean install" -pause -exit - - - -:exit -exit \ No newline at end of file diff --git a/build/RevertToEmptyInstall.bat b/build/RevertToEmptyInstall.bat deleted file mode 100644 index b8abe4e64e..0000000000 --- a/build/RevertToEmptyInstall.bat +++ /dev/null @@ -1,163 +0,0 @@ -@ECHO OFF - -:choice -set /P c=WARNING! Are you sure you want to continue, this will remove all package files, view files, sqlce database, etc... Press 'Y' to auto-remove all files/folders, 'N' to cancel or 'C' to prompt for each folder removal? -if /I "%c%" EQU "C" goto :prompt -if /I "%c%" EQU "Y" goto :auto -if /I "%c%" EQU "N" goto :exit -goto :choice - - -:prompt - -echo Current folder: %CD% - -echo Regenerating SQL CE database -SET buildfolder=%CD% -CD ..\tools\RegenerateUmbracoSQLCEDatabase\ -RegenerateUmbracoSQLCEDatabase.exe %CD%\..\..\src\Umbraco.Web.UI -CD %buildfolder% - -echo Removing bin files -del ..\src\Umbraco.Web.UI\bin\*.* - -echo Building solution -%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\src\umbraco.sln /t:Clean,Build - -echo Resetting installedPackages.config -echo ^^^ >..\src\Umbraco.Web.UI\App_Data\packages\installed\installedPackages.config - -echo Removing plugin cache files -del ..\src\Umbraco.Web.UI\App_Data\TEMP\PluginCache\*.* - -echo Removing cache files and examine index -del ..\src\Umbraco.Web.UI\App_Data\TEMP\*.* - -echo Removing log files -del ..\src\Umbraco.Web.UI\App_Data\Logs\*.* - -echo Removing packages -del ..\src\Umbraco.Web.UI\App_Data\packages\*.* - -echo Removing previews -del ..\src\Umbraco.Web.UI\App_Data\preview\*.* - -echo Removing app code files (typically added by starterkits) -del ..\src\Umbraco.Web.UI\App_Code\*.* - -echo Removing xslt files -del ..\src\Umbraco.Web.UI\xslt\*.* - -echo Removing user control files -del ..\src\Umbraco.Web.UI\UserControls\*.* - -echo Removing masterpage files -del ..\src\Umbraco.Web.UI\masterpages\*.* - -echo Removing razor files -del ..\src\Umbraco.Web.UI\macroScripts\*.* - -echo Removing media files -del ..\src\Umbraco.Web.UI\media\*.* - -echo Removing script files -del ..\src\Umbraco.Web.UI\scripts\*.* - -echo Removing css files -del ..\src\Umbraco.Web.UI\css\*.* - -echo "Umbraco install reverted to clean install" -pause -exit - - - -:auto - -echo Current folder: %CD% - -echo Regenerating SQL CE database -SET buildfolder=%CD% -CD ..\tools\RegenerateUmbracoSQLCEDatabase\ -RegenerateUmbracoSQLCEDatabase.exe %CD%\..\..\src\Umbraco.Web.UI -CD %buildfolder% - -echo Removing bin files - FOR %%A IN (..\src\Umbraco.Web.UI\bin\*.*) DO DEL %%A - -echo Building solution -%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\src\umbraco.sln /t:Clean,Build - -echo Resetting installedPackages.config -echo ^^^ >..\src\Umbraco.Web.UI\App_Data\packages\installed\installedPackages.config - -echo Removing plugin cache files -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\TEMP\PluginCache\*.*) DO DEL %%A - -echo Removing cache files and examine index -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\TEMP\*.*) DO DEL %%A - -echo Removing log files -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\Logs\*.*) DO DEL %%A - -echo Removing packages -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\packages\*.*) DO DEL %%A - -echo Removing previews -FOR %%A IN (..\src\Umbraco.Web.UI\App_Data\preview\*.*) DO DEL %%A - -echo Removing app code files (typically added by starterkits) -FOR %%A IN (..\src\Umbraco.Web.UI\App_Code\*.*) DO DEL %%A - -echo Removing xslt files -FOR %%A IN (..\src\Umbraco.Web.UI\xslt\*.*) DO DEL %%A - -echo Removing masterpage files -FOR %%A IN (..\src\Umbraco.Web.UI\masterpages\*.*) DO DEL %%A - -echo Removing user control files -FOR %%A IN (..\src\Umbraco.Web.UI\usercontrols\*.*) DO DEL %%A - -echo Removing view files -ATTRIB +H ..\src\Umbraco.Web.UI\Views\Partials\Grid\*.cshtml /S -FOR %%A IN (..\src\Umbraco.Web.UI\Views\) DO DEL /Q /S *.cshtml -H -ATTRIB -H ..\src\Umbraco.Web.UI\Views\Partials\Grid\*.cshtml /S - -echo Removing razor files -FOR %%A IN (..\src\Umbraco.Web.UI\macroScripts\*.*) DO DEL %%A - -echo Removing media files -FOR %%A IN (..\src\Umbraco.Web.UI\media\*.*) DO DEL %%A - -echo Removing script files -FOR %%A IN (..\src\Umbraco.Web.UI\scripts\*.*) DO DEL %%A - -echo Removing css files -FOR %%A IN (..\src\Umbraco.Web.UI\css\*.*) DO DEL %%A - -echo Removing Courier files -del ..\src\Umbraco.Web.UI\config\courier.config -del ..\src\Umbraco.Web.UI\umbraco\images\tray\courier.jpg -rmdir "..\src\Umbraco.Web.UI\umbraco\plugins\courier\" /S /Q - -echo Removing Contour files -del ..\src\Umbraco.Web.UI\umbraco\images\tray\contour.png -FOR %%A IN (..\src\Umbraco.Web.UI\umbraco\images\umbraco\icon_*.*) DO DEL %%A -rmdir "..\src\Umbraco.Web.UI\umbraco\plugins\umbracoContour\" /S /Q -del ..\src\Umbraco.Web.UI\umbraco\xslt\templates\UmbracoContour*.* /S /Q -rmdir "..\src\Umbraco.Web.UI\usercontrols\umbracoContour\" /S /Q - -echo Start with a clean web.config -copy ..\src\Umbraco.Web.UI\web.Template.config ..\src\Umbraco.Web.UI\web.config /Y - -echo Start with a clean web.config -copy ..\src\Umbraco.Web.UI\web.Template.config ..\src\Umbraco.Web.UI\web.config /Y - -echo "Umbraco install reverted to clean install" -pause -exit - - - -:exit -exit \ No newline at end of file diff --git a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.exe b/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.exe deleted file mode 100644 index 7fc92ce74d..0000000000 Binary files a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.exe and /dev/null differ diff --git a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe b/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe deleted file mode 100644 index 3c5dcfb9f4..0000000000 Binary files a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe and /dev/null differ diff --git a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe.manifest b/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe.manifest deleted file mode 100644 index f96b1d6b3f..0000000000 --- a/tools/RegenerateUmbracoSQLCEDatabase/RegenerateUmbracoSQLCEDatabase.vshost.exe.manifest +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/tools/RegenerateUmbracoSQLCEDatabase/System.Data.SqlServerCe.dll b/tools/RegenerateUmbracoSQLCEDatabase/System.Data.SqlServerCe.dll deleted file mode 100644 index 8d16c2a6db..0000000000 Binary files a/tools/RegenerateUmbracoSQLCEDatabase/System.Data.SqlServerCe.dll and /dev/null differ diff --git a/tools/RegenerateUmbracoSQLCEDatabase/Umbraco.Core.dll b/tools/RegenerateUmbracoSQLCEDatabase/Umbraco.Core.dll deleted file mode 100644 index 2af8cbfe61..0000000000 Binary files a/tools/RegenerateUmbracoSQLCEDatabase/Umbraco.Core.dll and /dev/null differ diff --git a/tools/RegenerateUmbracoSQLCEDatabase/log4net.dll b/tools/RegenerateUmbracoSQLCEDatabase/log4net.dll deleted file mode 100644 index 9a78444298..0000000000 Binary files a/tools/RegenerateUmbracoSQLCEDatabase/log4net.dll and /dev/null differ