microsoft / service-fabric

Service Fabric is a distributed systems platform for packaging, deploying, and managing stateless and stateful distributed applications and containers at large scale.
https://docs.microsoft.com/en-us/azure/service-fabric/
MIT License
3.02k stars 399 forks source link

Unable to install SF SDK v4.2.457 #1163

Closed rotodd closed 3 years ago

rotodd commented 3 years ago

Describe the bug I am unable to install the Service Fabric SDK version 4.2.457 when I download the installer here.

Area/Component: Installation

To Reproduce Steps to reproduce the behavior:

  1. Go to this webpage.
  2. Click on 'Install the Microsoft Azure Service Fabric SDK'
  3. Run the installer
  4. See error

Expected behavior SF is installed

Observed behavior: Installer shows error, SF is not installed, installer allows for retries.

Screenshots 2021-03-01 10_34_53-Window

Service Fabric Runtime Version: 4.2.457

Environment:

Additional context Logs:

3/1/2021 6:34:09 PM,Info,Installing Service Fabric Runtime. Logs written to C:\WINDOWS\TEMP\InstallFabricRuntime_637501916496759144.log
3/1/2021 6:34:09 PM,Info,Running extract in parallel.
3/1/2021 6:34:09 PM,Info,Unpackaging autoextractor...
3/1/2021 6:34:09 PM,Info,3/1/2021 10:34:09 AM Running Process: powershell.exe -NoProfile Get-ExecutionPolicy -Scope CurrentUser with timeout 00:01:00
3/1/2021 6:34:09 PM,Info,Removing temporary directory C:\Program Files\Microsoft Service Fabric.u32ebrh1.zfz
3/1/2021 6:34:09 PM,Error,Exception type: System.ComponentModel.Win32Exception, Message: The system cannot find the file specified, Stack:    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.ServiceFabric.InstallFabricRuntime.Utility.ExecuteCommand(String command, String arguments, TimeSpan timeout)
   at Microsoft.ServiceFabric.InstallFabricRuntime.Program.TrySetPowershellExecutionPolicy()
   at Microsoft.ServiceFabric.InstallFabricRuntime.Program.Main(String[] args)
Press enter to exit. Process will automatically close after 30 seconds.
3/1/2021 6:34:10 PM,Info,Creating temporary runtime directory C:\Program Files\Microsoft Service Fabric.wjx3owyx.daf.
3/1/2021 6:34:10 PM,Info,Extracting runtime cab to C:\Program Files\Microsoft Service Fabric.wjx3owyx.daf...
3/1/2021 6:34:10 PM,Info,3/1/2021 10:34:10 AM Running Process: C:\WINDOWS\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric.wjx3owyx.daf" /E /Y with timeout 01:00:00
3/1/2021 6:34:14 PM,Info,Successfully extracted cab file to C:\Program Files\Microsoft Service Fabric.wjx3owyx.daf

What I have tried so far:

rotodd commented 3 years ago

InstallFabricRuntime.log

rotodd commented 3 years ago

MicrosoftTeams-image (3)

An update: I was able to get the installer to run by adding these values to my PATH env var