參見網址http://www.cnblogs.com/newstar/archive/2010/12/01/1878026.html

1.下載安裝程式,可以到這個網址去下載

http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204_winx64_vista_win2k8.html

2.解壓縮到硬碟,修改refhost.xml,增加如下配置:

<!--Microsoft Windows 7-->
<OPERATING_SYSTEM>
<VERSION VALUE="6.1"/>
</OPERATING_SYSTEM>

一共要修改兩個refhost.xml,位置分別是:\10204_vista_w2k8_x64_production_db\database\stage\prereq\db\refhost.xml

和 \10204_vista_w2k8_x64_production_db\database\stage\prereq\db_prereqs\db\refhost.xml

3.修改oraparam.ini檔案,位置為:\10204_vista_w2k8_x64_production_db\database\install\oraparam.ini

檔案原先的配置為:

[Certified Versions]
#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=5.0,5.1,5.2,6.0

修改為:

[Certified Versions]
#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=5.0,5.1,5.2,6.0,6.1

4.再執行setup檔案,這時就可以正常安裝了。

我安裝過程中,會報錯,如圖所示:

先不要管它,點確定,直到安裝成功。安裝成功後,再使用Database Upgrade Assistant工具配置,但仍然提示類似的錯誤。(忽略此錯誤)