File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ Write-Host "[INFO] Setting ERLANG_HOME to '$erlang_home'..."
1414$env: ERLANG_HOME = $erlang_home
1515[Environment ]::SetEnvironmentVariable(' ERLANG_HOME' , $erlang_home , ' Machine' )
1616
17+ $rabbitmq_base_path = (Get-ItemProperty - Name Install_Dir - Path ' HKLM:\SOFTWARE\WOW6432Node\VMware, Inc.\RabbitMQ Server' ).Install_Dir
1718$regPath = ' HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ'
1819if (Test-Path ' HKLM:\SOFTWARE\WOW6432Node\' )
1920{
2021 $regPath = ' HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ'
2122}
22-
23- $rabbitmq_base_path = Split-Path - Parent (Get-ItemProperty $regPath ' UninstallString' ).UninstallString
2423$rabbitmq_version = (Get-ItemProperty $regPath " DisplayVersion" ).DisplayVersion
2524$rabbitmqctl_path = Join-Path - Path $rabbitmq_base_path - ChildPath " rabbitmq_server-$rabbitmq_version " | Join-Path - ChildPath ' sbin' | Join-Path - ChildPath ' rabbitmqctl.bat'
2625
You can’t perform that action at this time.
0 commit comments