DUG Insight User ManualDUG Insight LearningFrequently Asked QuestionsPetrel"Error opening file for writing" when installing Petrel Link

"Error opening file for writing" when installing Petrel Link

When you install Petrel for the first time, your machine will register Ocean2013Home at the installed location. Any plugins (including the Petrel Link) that you attempt to install will automatically look for that path.  

Error message

Error message

The error message above will appear when the system is unable to find the registered path to write the required files to. This can occur if you have copied/moved the installed folder to another location or if you have re-installed Petrel at a different path.

Changing the environment variable

Changing the environment variable

To changed the registered path:

  1. From the Start menu, open the Control Panel.
  2. Click on System and Security and then click on System.
  3. On the left sidebar, select Advanced system settings.
  4. In the System Properties window, click on Environment Variables.
  5. Look for the Ocean2013Home system variables and select Edit.
  6. Type the path where Petrel is now located and click OK.
  7. Run the installation again.