2

How can I do a silent install of OpenStudio on Windows?

Is there a command line installer for OpenStudio on Windows, or a way of running the executable in silent/unattended mode?

Thank you for your time.

brianringley's avatar
21
brianringley
asked 2016-08-31 10:32:15 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

Yes there is. The standard OpenStudio installer for Windows is created by the NSIS installer tool. These installers have a built in command line interface to install silently. All you need to do is pass the /S option.

$ .\OpenStudio-1.12.0.ef50b89958-Win64.exe /S

You can also pass /S /D=C:\Custom\Install\Path if you want to install to a custom path. You should be an administrator to run this command or you will probably get a Windows prompt to authenticate. Finally note that the installer command returns almost immediately however know that the work is still being done in the background. If you watch the install directory you will see that files are still being installed several seconds after the command has returned.

Kyle Benne's avatar
6k
Kyle Benne
answered 2016-09-01 08:13:29 -0500, updated 2016-09-01 08:54:42 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments