From 6eb45ecbcbbf26eecdc75a8fe441e1e56c720a7e Mon Sep 17 00:00:00 2001 From: Jason Thompson Date: Fri, 12 Feb 2016 20:20:12 -0500 Subject: [PATCH] Allow scripts to be run from a network location --- src/Scripts/Register.ps1 | 8 ++++---- src/Scripts/UpdateWorkflowXoml.ps1 | Bin 8358 -> 8384 bytes 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Scripts/Register.ps1 b/src/Scripts/Register.ps1 index b5a7813..03751db 100644 --- a/src/Scripts/Register.ps1 +++ b/src/Scripts/Register.ps1 @@ -31,10 +31,10 @@ $VerbosePreference = "Continue" $ProgressPreference = "SilentlyContinue" $walAssemblyName = "MicrosoftServices.IdentityManagement.WorkflowActivityLibrary" -$walAssemblyPath = Join-Path $PWD -ChildPath "$walAssemblyName.dll" -$walUIAssemblyPath = Join-Path $PWD -ChildPath "$walAssemblyName.UI.dll" -$gacUtilExePath = Join-Path $PWD -ChildPath "gacutil.exe" -$snExePath = Join-Path $PWD -ChildPath "sn.exe" +$walAssemblyPath = Join-Path $PWD.ProviderPath -ChildPath "$walAssemblyName.dll" +$walUIAssemblyPath = Join-Path $PWD.ProviderPath -ChildPath "$walAssemblyName.UI.dll" +$gacUtilExePath = Join-Path $PWD.ProviderPath -ChildPath "gacutil.exe" +$snExePath = Join-Path $PWD.ProviderPath -ChildPath "sn.exe" function TestIsAssemblyLoaded { diff --git a/src/Scripts/UpdateWorkflowXoml.ps1 b/src/Scripts/UpdateWorkflowXoml.ps1 index be86a7ada6b9b0884981fc424ceca2d02badfd5e..52532ea360eac345f657e149951463c41184b57b 100644 GIT binary patch delta 38 scmZ4Hc))RkAiJavsL!jQ39fPI=I0KiEJNdN!< delta 12 TcmX@$xXf{bAp2%*_NkHpAV35}