mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 21:25:48 +00:00
7 lines
285 B
PowerShell
7 lines
285 B
PowerShell
$msiPath = "wix\bin\Release\FFDec.msi"
|
|
$installer = New-Object -ComObject WindowsInstaller.Installer
|
|
$db = $installer.OpenDatabase($msiPath, 0)
|
|
$view = $db.OpenView("SELECT `Value` FROM `Property` WHERE `Property`='ProductCode'")
|
|
$view.Execute()
|
|
$rec = $view.Fetch()
|
|
$rec.StringData(1) |