Question
Studio v2025.10へバージョンアップの際に、「UiPath Studioのセットアップ中にエラーが発生しました。」エラーが発生します。
インストールログ(MSIログ)に以下のエラーが出力されました。
System.TypeLoadException: アセンブリ ‘mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ から型 ‘System.Runtime.InteropServices.OSPlatform’ を読み込めませんでした。
場所 UiPath.Shared.SystemOperations.CreateMutexForEveryone(String mutexName, Boolean& createdNew)
場所 UiPath.Shared.Files.<>c.<.cctor>b__4_2()
場所 UiPath.Shared.SynchronizedFile.Lock()
場所 UiPath.Proxy.ProxySettingsStore1.Read() 場所 UiPath.Proxy.ProxySettingsStore1.Get()
場所 UiPath.Studio.Setup.InstallationTasks.UpdateConfig.UpdateConfigTaskFactory.Create(IFileSystem fileSystem)
場所 UiPath.Studio.Setup.CustomActions.CustomActions.Deferred.UpdateConfigCA.<>c.b__2_0(UpdateConfigCA a)
場所 UiPath.Studio.Setup.CustomActions.CustomActions.BaseStudioCustomAction.Run(Session wixSession, Func`2 execute)
CustomAction CustomizeConfiguration_M returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Answer
原因
.NET Framework が古い(特に 4.5.x など)、 .NET Framework の参照アセンブリ/実体が壊れている、等の.NET ランタイム/フレームワーク側の問題が疑われます。
解決策
Studio v2025.10のソフトウェア要件である .NET Framework バージョン 4.7.2 以降が端末にインストールされているかご確認ください。
要件を満たしていない場合、インストールをお願いします。
要件を満たしている場合、.NET Framework の再インストールをお試しください。