OSバージョンを「Windows-レガシ」から「Windows」に変換する機能を利用したのですが、
以下のエラーが発生してしまいます。
対処方法についてご存じの方がいらっしゃいましたら、教えてください。
■事象
レガシープロジェクトからWindowsプロジェクトに変換後、「PowerShellの呼び出し」アクティビティでエラーが発生する。
■エラー内容
“message”: “PowerShell を呼び出し: The ‘Expand-Archive’ command was found in the module ‘Microsoft.PowerShell.Archive’, but the module could not be loaded. For more information, run ‘Import-Module Microsoft.PowerShell.Archive’.”
Yoichi
(Yoichi)
January 31, 2024, 8:38am
2
こんにちは
UiPath.System.Activiites pacakgeのバージョンはいくつを使ていますでしょうか?
2023.12で多少改善されているようなので、こちらを試してみてはと思います。
(Windowsプロジェクト化において、もとより問題が多い部分なので)
UiPath Community 2023.12 Release
Studio and StudioX
As the year concludes, we’re thrilled to announce our latest release, packed with long-awaited capabilities to streamline the development process. This update, focused on empowering developers, offers advanced tools for building sophisticated automations, demonstrating our commitment to continuous improvement and support for our developer community.
Autopilot lands in Studio
Starting with this release our community users can preview the Auto…
3 Likes
ご返信ありがとうございます。
2023.12で試してみましたが、解消されませんでした。
他の方法があれば、教えていただけると幸いです。
Yoichi
(Yoichi)
February 5, 2024, 6:21am
5
2023.12で試してみましたが、解消されませんでした。
どの選択肢(32bit/64bit)でも動作しませんでしたでしょうか?
他の方法があれば、教えていただけると幸いです。
プロセスを開始アクティビティでpowershell.exe を呼び出す方法はいかがでしょうか?
パスにより32bit,64bit コマンドオプションも指定できると思います。
2 Likes
ご回答ありがとうございます。
すみません、2023.12で解消することができました。
更新後に新たにアクティビティを一から設定したらクリアしました。
本当に助かりました。ありがとうございます。
1 Like
Yoichi
(Yoichi)
February 8, 2024, 2:47am
7
こんにちは
2023.12という表現があまり良くなくすみません。厳密には「UiPath.System.Activities package 23.12.0-previewを使う」という意図でした。補足まで。
system
(system)
Closed
February 11, 2024, 2:47am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.