diff --git a/DynaFire.sln b/DynaFire.sln index 3bda747..35a12fb 100644 --- a/DynaFire.sln +++ b/DynaFire.sln @@ -8,6 +8,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A8D8A7A6-9EC7-43B2-97A4-B4CA8109DC55}" ProjectSection(SolutionItems) = preProject deploy\DynaFire_ViewExtensionDefinition.xml = deploy\DynaFire_ViewExtensionDefinition.xml + deploy\Install.bat = deploy\Install.bat deploy\shortcuts.txt = deploy\shortcuts.txt EndProjectSection EndProject diff --git a/deploy/DynaFire_ViewExtensionDefinition.xml b/deploy/DynaFire_ViewExtensionDefinition.xml index 9bc8982..4e2291d 100644 --- a/deploy/DynaFire_ViewExtensionDefinition.xml +++ b/deploy/DynaFire_ViewExtensionDefinition.xml @@ -1,4 +1,4 @@ - DynaFire\DynaFire.dll + DynaFire_bin\DynaFire.dll DynaFire.DynaFireExtension \ No newline at end of file diff --git a/deploy/Install.bat b/deploy/Install.bat new file mode 100644 index 0000000..96e700a --- /dev/null +++ b/deploy/Install.bat @@ -0,0 +1,9 @@ +del /q "C:\Program Files\Dynamo\Dynamo Core\1.3\viewExtensions\DynaFire_ViewExtensionDefinition.xml" +del /q "C:\Program Files\Dynamo\Dynamo Core\1.3\viewExtensions\DynaFire_bin\" + +xcopy /y /q "%~dp0DynaFire_ViewExtensionDefinition.xml" "C:\Program Files\Dynamo\Dynamo Core\1.3\viewExtensions" +xcopy /s /q "%~dp0DynaFire_bin" "C:\Program Files\Dynamo\Dynamo Core\1.3\viewExtensions\DynaFire_bin\" + +xcopy /y /q "%~dp0shortcuts.txt" "C:\Program Files\Dynamo\Dynamo Core\1.3\viewExtensions\DynaFire_bin\" + +pause \ No newline at end of file