Silent / Unattended Install ?

Post Reply
Marlusneo
Posts: 2
Joined: 03 Nov 2011 13:30

Silent / Unattended Install ?

Post by Marlusneo » 04 Nov 2011 09:29

Hello Community,

I have a question about Silent Install. Is there any possibility to Install OpenLCA silent?


Thanks,
Marlusneo

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: Silent / Unattended Install ?

Post by aciroth » 04 Nov 2011 10:56

Good morning Marlusneo,

this is an interesting question - we haven't done this yet but it should be possible to enable silent installs without too much effort; openLCA uses an install script which would need to be modified. Main requirement is internet access during the installation since MySQL is downloaded during the install procedure.

Cheers,
Andreas

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: Silent / Unattended Install ?

Post by aciroth » 05 Nov 2011 12:29

Meanwhile, we have tried a bit around your suggestion of a silent install, and it does work, using flags /D (for the directory) and /S (for silent):

Code: Select all

openlca-<version>-win-<arch>bit.exe /S /D=C:\Program Files\openLCA
Where "openlca-<version>-win-<arch>bit.exe" needs to be adapted to your specific operation system, and "C:\Program Files\openLCA" is the path to your openLCA executable that will vary depending on the operation system.

Thanks for the idea!

I should add that we have not tested this for many configurations, so if anybody else has tried this, this would be interesting.

Marlusneo
Posts: 2
Joined: 03 Nov 2011 13:30

Re: Silent / Unattended Install ?

Post by Marlusneo » 01 Dec 2011 16:11

Okay, an Installation with the flag "/S" works just works fine. But if the user doesn't have administrative rights, you have to adjust the firewall settings. Otherwise, the MySQL service is blocked and the use of the program isn't possible.

Just execute this command (Win7x64):
netsh advfirewall firewall add rule name="MySQL Service for OpenLCA" dir=in action=allow program="%PROGRAMFILES(x86)%\OpenLCA\bin\mysqld-nt.exe" enable=yes

Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests