最近由於項目需求開始接觸開源GIS,最終選擇了GoeServer + PostgreSQL + PostGIS,下載安裝時請選擇對應的版本:http://www.postgis.org/download/windows/
本人下載的是 postgresql-9.0.1-1-windows.exe 和 postgis-pg90-setup-1.5.2-3.exe
在安裝PostgreSQL 遇到了一個問題,鬱悶了半天,終於搞定。
問題描述:
安裝PostgreSQL時報錯,出現以下兩個對話框,提示:
1."Extracting Files:Verifying File: vcredist_x86"
2.“Extraction Failed:文件名、目錄名或卷標語法不正確”
點擊確定後,又出現下圖問題:“Error:An error occured executing the Microsoft VC++ runtime installer.”
解決方法:
1.開始 》運行:regsvr32 %systemroot%\system32\vbscript.dll
2.修改系統 TEMP 環境變量,不能包含中文字符,修改如下圖:
3.重新啓動PostgreSQL安裝程序,一切運行正常