0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

インストールされている Power Automate Desktop のインストーラーのバージョンを取得する方法

Last updated at Posted at 2025-03-30

前提

以下のリリースノートにおいて、インストールされている Power Automate Desktop がどれなのかを判別したい。そのために、Power Automate Desktop か Windows のレジストリから「Installer version」を取得したい。

「Installer version」が記載されている場所

トラブルシューティング

スクリーンショット 2025-03-30 235937.png

コンピューターランタイム

スクリーンショット 2025-03-31 000621.png

レジストリ

  • Path:
    • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ {GUID}
  • DisplayName:
    • Power Automate for desktop
  • DeisplayVersion または BundleVersion:
    • ここにインストーラーのバージョン

スクリーンショット 2025-03-30 235232.png

インストーラーのバージョンを取得する PowrerShell コマンド

PowerShell
Get-ItemProperty 'HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*' |
Where-Object { $_.DisplayName -like "*Power Automate for desktop*" } |
Select-Object PSChildName, DisplayName, DisplayVersion, BundleVersion

上記コマンドで情報を取得してみたところ、「DisplayVersion」に 2.54.188.25066 と 2.54.00188.25066 の2種類があったが、この違いは謎。BundleVersion をインストーラーのバージョンとして考えれば良いのかな?

image.png

なおレジストリの GUID はインストーラーによって決められる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?