---
title: "Windows7(64位)安装Oracle10g"
author: "vvnet"
date: "2013-03-11T15:03:54Z"
tags: []
categories: ["数据库"]
slug: "windows7-64-oracle10g"
draft: false
lastmod: "2013-03-11T15:04:10Z"
id: 1827566
url: "https://vvnet.iteye.com/blog/1827566"
---

# 1.下载Oracle安装文件，我下载的是64位且能够在Vista下安装的版本，文件名是为10204\_vista\_w2k8\_x64\_production\_db.zip

下载地址是：[http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204\_winx64\_vista\_win2k8.html](http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204_winx64_vista_win2k8.html)

2.解压缩到硬盘，修改refhost.xml，增加如下配置：

&lt;!--Microsoft Windows 7--&gt;  
&lt;OPERATING\_SYSTEM&gt;  
&lt;VERSION VALUE="6.1"/&gt;  
&lt;/OPERATING\_SYSTEM&gt;

一共要修改两个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文件，这时就可以正常安装了。