Hello Community,
I have a question about Silent Install. Is there any possibility to Install OpenLCA silent?
Thanks,
Marlusneo
Silent / Unattended Install ?
Re: Silent / Unattended Install ?
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
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
Re: Silent / Unattended Install ?
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):
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.
Code: Select all
openlca-<version>-win-<arch>bit.exe /S /D=C:\Program Files\openLCA
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.
Re: Silent / Unattended Install ?
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
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
Who is online
Users browsing this forum: No registered users and 58 guests