1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows7でPostgreSQLをインストールしようとしたらハングした

Posted at

タイトルの通り、Windows7 64bit OSのマシンにPostgreSQL 9.1.4をインストールしようとしたら以下の状態でハングした。

hang.jpg

原因は、誤って.batを開く既定のプログラムをエディタに設定してしまったことだった。
既定のプログラムをエディタからcmd.exeに戻したが、レジストリにHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoice が残っていた。

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoiceが残っているとどうやらPostgreSQLのインストールがハングしてしまう模様。

対応としては HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoice を削除すれば良い。

削除後、マシンを再起動し、インストールを実行したら成功した。

finished.jpg

参考

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?