It looks like you're new here. If you want to get involved, click one of these buttons!
Hello,
is it possible to install the Windows executable of KLayout from command line or create an extended installer?
The reason for this question is, that I want to use KLayout on multiple Windows machines with XSection script already installed and some config preset.
Thanks for any help,
Luis
Comments
Hi Luis,
yes, the NSIS script is the one used for the official installer. I don't know whether the NSIS installer provides silent installation. Maybe there is a command option, but you better check with their documentation.
For a modifier installer you may as well create your own installer based on the files inside the .zip archive. Apart from simply installing these files, the NSIS script just registers a fews file types and start menu entries.
Regards,
Matthias
Hi Matthias,
is the used NIST script available? Then I could just add the needed XSection script to the installation and I no longer need a silent installation. I just wanted to use the silent installation to be able to install the script and KLayout in one run. I don't want to ask the user to copy the needed scripts manually.
Regards,
Luis
Hi Luis,
I have published the NSIS script (for 64 bit) here: http://www.klayout.org/svn-public/klayout-resources/trunk/klayout-inst-x64.nsis.
I finally want to package XSection with KLayout, but it will take some time.
Regards,
Matthias
Hello Matthias,
thank you for the script. I was able to create an installation with the original version of the KLayout NSIS installer (2.38) and then moved on to the newest version 2 installer (2.51). Both worked without a problem.
To be able to include XSection or other scripts in the installer I added the following line:
And to install predefined settings and set the paths for the XSection Script I added the following:
The modified installer now runs as a normal installation, with all needed scripts and settings included.
This was extremely helpful and a lot of people here can easily use Klayout now, Thanks!
Luis