首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PostgreSQL安装程序消失在后台

PostgreSQL安装程序消失在后台
EN

Stack Overflow用户
提问于 2020-11-25 16:20:00
回答 1查看 199关注 0票数 0

我是第一次尝试PostgreSQL Windows 10安装程序。但单击安装程序后,我看到一个窗口弹出,几乎是直接消失。就这样..。在任务管理器中,我可以看到安装过程。但它什么也没做。

执行的步骤:

  1. 作为Admin
  2. 运行安装程序,检查临时文件夹和事件查看器是否存在错误(无发现)

背景:

安装程序:https://www.enterprisedb.com/downloads/postgres-postgresql-downloads (PostgreSQL13.1-1-windows-x64)

这是安装的日志,我可以找到临时目录:

代码语言:javascript
复制
Log started 11/25/2020 at 16:38:17
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Setting variable whoami from C:\WINDOWS\System32\whoami 
Script exit code: 0

Script output:
 MyUserName

Script stderr:
 

Executing C:\WINDOWS\System32\icacls "C:\Users\MyUserName\AppData\Local\Temp/postgresql_installer_0d4826705d" /inheritance:r
Script exit code: 0

Script output:
 processed file: C:\Users\MyUserName\AppData\Local\Temp/postgresql_installer_0d4826705d
Successfully processed 1 files; Failed processing 0 files

Script stderr:
 

Executing C:\WINDOWS\System32\icacls "C:\Users\MyUserName\AppData\Local\Temp/postgresql_installer_0d4826705d" /T /Q /grant "MyUserName:(OI)(CI)F"
Script exit code: 0

Script output:
 Successfully processed 1 files; Failed processing 0 files

Script stderr:
 

Executing C:\WINDOWS\System32\cscript //NoLogo "C:\Users\MyUserName\AppData\Local\Temp\postgresql_installer_0d4826705d\prerun_checks.vbs"
Script exit code: 0

Script output:
 The scripting host appears to be functional.

Script stderr:
 

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Shortcuts. Setting variable iShortcut to empty value
[16:38:22] Using branding: PostgreSQL 13
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 SB_Version. Setting variable sb_version to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 pgAdmin_Version. Setting variable pgadmin_version to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 CLT_Version. Setting variable clt_version to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Data Directory. Setting variable server_data_dir to empty value
Executing C:\Users\MyUserName\AppData\Local\Temp/postgresql_installer_0d4826705d/temp_check_comspec.bat 
Script exit code: 0

Script output:
 "test ok"

Script stderr:
 

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Data Directory. Setting variable iDataDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Service ID. Setting variable iServiceName to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Service Account. Setting variable iServiceAccount to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Super User. Setting variable iSuperuser to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 Shortcuts. Setting variable iShortcut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-13 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
[16:38:23] Existing base directory: 
[16:38:23] Existing data directory: 
[16:38:23] Using branding: PostgreSQL 13
[16:38:23] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService
[16:38:23] Using Service Name: postgresql-x64-13
EN

回答 1

Stack Overflow用户

发布于 2021-03-22 07:39:45

在我的计算机中,用中文设置计算机名将导致这个问题C:\WINDOWS\System32 32\icacls "C:\Users\MyUserName\AppData\Local\Temp/postgresql_installer_XXXXXXXXXX“/T /Q /grant "XXX”如果我使用英文名称,它不会失败。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65008692

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档