summaryrefslogtreecommitdiff
path: root/packages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat')
-rwxr-xr-xpackages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat b/packages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat
new file mode 100755
index 0000000..70e31c1
--- /dev/null
+++ b/packages/Machine.Specifications.0.5.6.0/tools/InstallTDNetRunner.bat
@@ -0,0 +1,16 @@
+@echo off & if not "%ECHO%"=="" echo %ECHO%
+
+setlocal
+set LOCALDIR=%~dp0
+
+echo Windows Registry Editor Version 5.00 > MSpecTDNet.reg
+echo [HKEY_CURRENT_USER\Software\MutantDesign\TestDriven.NET\TestRunners\MSpec] >> MSpecTDNet.reg
+echo "Application"="" >> MSpecTDNet.reg
+echo "AssemblyPath"="%LOCALDIR:\=\\%Machine.Specifications.TDNetRunner.dll" >> MSpecTDNet.reg
+echo "TargetFrameworkAssemblyName"="Machine.Specifications" >> MSpecTDNet.reg
+echo "TypeName"="Machine.Specifications.TDNetRunner.SpecificationRunner" >> MSpecTDNet.reg
+echo @="5" >> MSpecTDNet.reg
+
+regedit MSpecTDNet.reg
+
+del MSpecTDNet.reg