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 2016-05-12 14:13:47 -0600

Alex Vlachokostas gravatar image

updated 2016-05-13 05:07:05 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-05-13 02:41:57 -0600

updated 2016-05-13 02:43:04 -0600

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.

edit flag offensive delete link more

Comments

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

Alex Vlachokostas gravatar imageAlex Vlachokostas ( 2016-05-13 10:30:07 -0600 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2016-05-12 14:13:47 -0600

Seen: 91 times

Last updated: May 13 '16