Actually execute the unblock-file powershell

This commit is contained in:
Jakob Aarøe Dam 2015-05-05 12:39:50 +02:00
parent 2093a8d1ae
commit f94a1128b2

View file

@ -5,10 +5,10 @@ set PATH=%PATH%;%windir%\Microsoft.NET\Framework\v4.0.30319
:: msbuild server/RDSFactor.sln /property:Configuration=release
:: Unblock the downloaded file, otherwise stupid output from InstallUtil
powershell -Command {Unblock-File -Path server\bin\Release\RDSFactor.exe}
powershell -Command "& {Unblock-File -Path server\bin\Release\RDSFactor.exe}"
:: install it
InstallUtil server\bin\Release\RDSFactor.exe
:: start it
net start RDSFactor
net start RDSFactor