cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] Error during installation

BoulderPlayz
Honored Guest

THE ERROR WAS BECAUSE MY QUEST WAS PLUGGED IN WHEN I TRIED TO INSTALL




It started when I moved my computer to another room (from wired to wi-fi) - I don't know whether that effects anything but I just wanted to say it. Then when I tried to go into VR the screen was black and oculus sent me a notification saying something went wrong using oculus link.

So I followed the prompt on the website to uninstall oculus and reinstall it. So I did.

When I tried installing oculus it simply did not work and said

 "RESTART COMPUTER

sorry. we encountered an error during installation. Please restart your computer and try running Oculus setup again. If you still experience issues, contact oculus support"

So I restarted my computer and OBVIOUSLY that didnt work.

I then went online to the forums and saw a post that I thought might help

I followed it and did the following:

went into safe mode
Backed up software files
Rebooted into safe mode
Deleted oculus folder in my Program files, Appdata, AppdataLocal, AppdataLocalLow and AppdataRoaming
Installed regscanner
searched oculus
deleted everything
left the things that weren't automatically downloaded.

Attempted to install it again and nope didnt work.

I looked at the oculus setup log file and couldnt get anything from it so I'll post that below.

Please help!
[EDIT] 

I deactivated my antivirus software and now these are the error codes

[Error] [09/08/2020 19:19:46] Process C:\Program Files\Oculus\Support\oculus-drivers\oculus-driver.exe exited with code -1 (failure).
[Debug] [09/08/2020 19:19:46] Install 'Dawn.Setup.InstallDriversStep' failed.
[Warning] [09/08/2020 19:19:46] Rolling back installation.

[Error] [09/08/2020 19:19:57] Error deleting files in directory '\\?\C:\Program Files\Oculus\Support': Daybreak.Core.Io+IoException: Error deleting directory '\\?\C:\Program Files\Oculus\Support\oculus-client'. ---> System.ComponentModel.Win32Exception: The process cannot access the file because it is being used by another process

[Error] [10/08/2020 08:23:28] Process C:\Program Files\Oculus\Support\oculus-drivers\oculus-driver.exe exited with code -1 (failure).
[Debug] [10/08/2020 08:23:28] Install 'Dawn.Setup.InstallDriversStep' failed.
[Warning] [10/08/2020 08:23:28] Rolling back installation.

[Error] [10/08/2020 08:59:20] Error deleting files in directory '\\?\C:\Program Files\Oculus': Daybreak.Core.Io+IoException: Error deleting file '\\?\C:\Program Files\Oculus\OculusSetup.exe'. ---> System.ComponentModel.Win32Exception: Access is denied

[Error] [10/08/2020 09:04:07] Process C:\Program Files\Oculus\Support\oculus-drivers\oculus-driver.exe exited with code -1 (failure).
[Debug] [10/08/2020 09:04:07] Install 'Dawn.Setup.InstallDriversStep' failed.
[Warning] [10/08/2020 09:04:07] Rolling back installation.

[Error] [10/08/2020 09:04:17] Uncaught exception!
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Oculus\OculusSetup.exe'.
File name: 'C:\Program Files\Oculus\OculusSetup.exe'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
   at Dawn.Setup.InstallUninstallerStep.UninstallImpl()
   at Dawn.Mixins.SafeCallMixin(Func`1 func, String title, String caller)
2 REPLIES 2

jgklopfe
Protege

My Story with 'Dawn.Setup.InstallDriversStep'
failed.



 



Here is the install
problem that I experienced  and observed
in my “OclulusSetup.log” probably 50 times from early Dec 2020 until Feb 12,
2021.



[Error] [2/11/2021
8:21:38 PM] Process D:\Oculus\Support\oculus-drivers\oculus-driver.exe exited
with code -1 (failure).



[Debug] [2/11/2021
8:21:38 PM] Install 'Dawn.Setup.InstallDriversStep' failed.



[Warning] [2/11/2021
8:21:38 PM] Rolling back installation.



 



I submitted trouble
shooting requests to Oculus but their support responses were not able to solve
the problem.



Here are the various
things that I tried:



1)   
Shut off
anti-virus programs( I completely disable Microsoft Defender and WebRoot).



2)   
I ran the “Command Prompt” in administrator mode
with this command: “C:\OculusSetup.exe /drive=D” to try installing to my 1 TB D
drive.



3)   
Made sure my Quest 2 headset was not connected
during the installation



4)   
Completely updated Windows 10 at 20H2



5)   
I made sure no VPN was active



6)   
After each failure, I deleted all files and
folders having any Oculus data (I had read from other forums that was
necessary)



7)   
Supplied OculusSetup.Log,
OculusDrinverInstaller.log and MSINFO.Info, and Windows Update History.pdf
files Oculus support.



😎   
I had read someone got the same error from
having bad memory. I ran a full RAM memory test using “MemTest86” multiple set
of passing memory results.



9)   
Doing all the above, I also trying installing
from Windows Safemode



10) I
even tried installing using the Windows hidden Admin function



11)  I tried shutting down any hint  Microsoft Antivirus even using the
"Local Group Policy Editor" to fully disable it. I also shutdown
Malwarebytes, stopped all folder accesses to DropBox, etc, all team sharing
programs using both the task bar settings and using TaskManager .



Finally, the fix



I saw an obscure post on Reddit that someone thought that
they were able to resolve the problem by disconnecting all their computer
peripherals, (ie. all usb devices accept printer and mouse) and disconnecting
any extra monitors, etc.  They thought
the problem was an extra monitor connected.



The Fix:



1)     
 I
disconnected all peripherals accept a wireless USB mouse and keyboard and used
only 1 monitor instead of two monitors. This included no Oculus link cable
installed into the USB port.



2)     
I signed into Windows using a local account
instead of my Microsoft account



3)     
From the Microsoft Windows Security settings, I
shutdown Microsoft Virus and Threat Protection including (Real-time protection,
Cloud-delivered protection, Automatic sample submission, and Tamper
Protection). I also shutdown Firewall & network protections including
(domain network and private network)



4)     
I ran the Command Prompt using administrator
mode and ran this command line from the C:\ prompt. C:\OculusSetup.exe /drive=D    This was to install the program on my 1 TB
D drive instead of my smaller SSD C drive.  



The
installation finally completed successfully. I think steps 2 and 3 are
important (especially 3), but the solution was disconnecting all the computer
peripherals and only having the mouse, keyboard and just 1 monitor connected
during the installation. 

YOU DA MAN!

**bleep** I've been struggling for close to a week to get that issue solved trying all the fixes out there, but you got to find the issue....the 2nd screen and, potentially, the gamer keyboard.

I had 2 screens, one of which was on display port. I unplugged it leaving only the HDMI one. I manoeuvered up to the stage where I had to click on "install" then I unplugged the keyboard, and, eventually the mouse (not to take any chance) and it work. BUT...prior to that I had also done the following based on previous fix posts I had found:

1) cmd > bcdedit /set testsigning on

2) cmd > bcdedit /set nointegritychecks yes

3) disabled secure boot from the BIOS

4) disabled TPM from the BIOS

5) booted in troubleshoot mode and selected "disable signature enforcement"

6) disabled windows defender

7) disabled windows anti-virus.

Note that NONE of steps 1) - 7), even when combined, worked until I fouund out about unplugging the screen, keyboard and mouse.

All of this being said, I have to say that I find it somewhat disappointing that a company such as Meta, which is supposed to be a software champion, puts up such a bogus installerthat youo download from such a shady looking website with such a poor visual.

Thanks again.

C.