Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

GenOpt 3-1-1 installation problem

asked 8 years ago

Alex Vlachokostas's avatar

updated 8 years ago

I am trying to set up GenOpt 3-1-1 in a Windows-7 machine but the installation process stops with the following error message: "This directory can not be written! Please choose another directory!"

I have installed Java JRE and tried (a) to install GenOpt in a different directory than the 'Program Files' directory and (b) to launch the GenOpt installer through the command line but neither attempt worked.

Any pointer is appreciated.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

updated 8 years ago

Had the same issue recently. In section 10.2 (p. 75) of the GenOpt Manual it is recommended to install it in a different folder, one for which you already have read/write permissions. That would be any folder within your "User" folder, for instance your Documents folder. Then you can just copy the installed GenOpt folder back to "Program Files".

Another (better) way though would be to open an elevated command prompt and run the installation script as Administrator. You can achieve that by typing cmd in the search bar, right-clicking on the CMD icon and selecting "run as administrator". Then you just follow the command line installation instructions from the GenOpt manual.

Preview: (hide)
link

Comments

Running cmd as an administrator (aka 'elevated command prompt') was the solution that worked for me. Thank you.

Alex Vlachokostas's avatar Alex Vlachokostas  ( 8 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 424 times

Last updated: May 13 '16