What to Do If the "Failed to get path of 64-bit Common Files directory" Error Occurs When Installing oCam

Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →

In some cases, you may need to modify the Windows Registry to fix an oCam setting or issue. Below is a detailed explanation of how to use the Registry Editor to add the required key values.


1. Press Windows key + R on your keyboard to open the Run dialog box.

2. Type `regedit` in the Run dialog box and click the 'OK' button to launch the Registry Editor.

3. When the Registry Editor opens, follow the instructions in the video below to complete the required settings:  

https://youtu.be/6GyJV5SgZsY

4. As instructed in the video, add the following Registry key values:  

   - CommonFilesDir: `C:\Program Files\Common Files`  

   - ProgramFilesDir: `C:\Program Files`

5. After adding the Registry key values, close the Registry Editor and restart your computer to apply the changes.


Because editing the Registry directly affects system settings, it is important to back up the Registry before making changes or follow the instructions in the video exactly. The added key values help oCam reference the correct file paths and can be useful for resolving certain installation or launch issues. After completing the steps, run oCam and check whether the problem has been resolved.

Another helpful tip

If Avast is installed, please disable the DeepScreen feature.

When users who use Avast antivirus install or update an OhSoft program such as oCam, the installation process may repeat several times. This is caused by Avast's 'DeepScreen' feature. Below is a detailed explanation of the cause of this issue and how to resolve it.


The DeepScreen feature is triggered when there is not enough reputation information about an executable file, which can cause a program such as oCam to be recognized as suspicious. OhSoft makes efforts to maintain compatibility with antivirus software, but in this case, even though the program is functioning normally, a situation can occur where a legitimate executable file that is not malicious is unable to install or update properly because of a specific antivirus feature. This is similar to a situation where a properly developed program causes inconvenience to users because of a false positive from antivirus software. 


To resolve this issue, you need to disable Avast's DeepScreen feature. Below is a step-by-step guide on how to turn off the DeepScreen feature:

 

1. Go to the main screen of Avast antivirus.

2. Click the 'Settings' button on the left side of the screen.

3. When the Settings window opens, select the 'Antivirus' button from the menu on the left.

4. In the 'Antivirus' section, find the 'Enable DeepScreen' checkbox and clear it.


After changing the setting, confirm that it has been saved, then try installing or updating oCam again. Once the DeepScreen feature is disabled, the repeated installation issue is likely to be resolved. If the problem continues, you may also want to apply the latest Avast updates or contact OhSoft support.