'Oracle XE installation aborts with no error explanation
I have downloaded Oracle XE 18c for Windows 64 bit, and tried to install it on a Windows 10 machine. I checked the SHA-256 checksum and it's correct.
The installation starts fine, but when it's copying new files it suddenly says "Rolling back installation", then ends and there's no error log to look at. Any ideas?
(1) "Copying files" screen
(2) "Rolling back" screen
Solution 1:[1]
Set Oracle_home to null and reboot your system and then, try again.
I hope that works.
Note:
Make sure that you have all admin privileges before installing it.
Solution 2:[2]
PROBLEM SOLVED! Login to your system as an administrator to set up the Oracle database. Compyuter?Manage?Users?Administrator?properties?check out from (accunt is disabled) and Apply.after set password. Then login as administrator and install.
Solution 3:[3]
I had the same issue today. In my case it was caused by the value of the PATH variable in my environment. It was pointing to some Oracle DB binaries and libraries from "Oracle Instant Client", which I set up earlier for the node-oracledb Javascript connector library.
In other words, make sure your PATH doesn't point to any directory which contains for example a oci.dll file.
You can execute where.exe oci.dll (the '.exe' part is only necessary for PowerShell) in a command prompt to easily check that. If the command outputs anything, then you'll need to remove the relevant directories from your PATH, at least temporarily.
Solution 4:[4]
- Extract the zip file in another drive but the drive that contains windows usually C:.
- Go into the extracted Oracle directory and run setup.exe as administrator.
Important: Do not double-click on the MSI file eg. Oracle Database 18c Express Edition.msi.
Note: Spaces are not allowed anywhere in the Oracle home directory path. For example, you cannot install in "C:\program files\oracle\Infra" because of the space character in "program files". The installer does not check for this until several screens after you have entered the path.
Solution 5:[5]
I was having the same problem. Oracle XE was installed on my computer before. When checking "set path" in the command prompt, it could be seen that a reference to the previous Oracle install was in the path. After removing that from the path, the Oracle install worked.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | zx485 |
| Solution 2 | Yusif Ta??yev |
| Solution 3 | ysbwj028 |
| Solution 4 | |
| Solution 5 | Joel |



