On Tue, Oct 28, 2014 at 10:23 AM, Alexey Pavlov <[email protected]> wrote: > > 28 окт. 2014 г., в 13:11, Warlich, Christof <[email protected]> > написал(а): > > Hi, > > I need to set up a non-interactive MSYS2 install, i.e. one that does not > need any user interaction. What is the recommended procedure for this: > > > extracting msys2-base-i686-20141003.tar.xz to the location desired and then > executing msys2_shell.bat (and maybe autorebase.bat) once to do the initial > user specific setup > calling msys2-i686-20141003.exe with some command-line switch that puts it > in non-interactive mode > > > While I think I know how to proceed when following the first option, I’d > prefer the second if possible, i.e. if there is some command line switch to > support installation non-interactively. But the help provided by > msys2-i686-20141003.exe is rather terse (see below). Is there some more > elaborate documentation available? > > > > MSYS2 installer is based on Qt Installer Framework: > http://qt-project.org/doc/qtinstallerframework-1.5/index.html > > > As I know it doesn’t have options for silent install. >
I had a quick chat on #qt-sdk about this, and you can write a script and pass that in with --script. The qt-ifw testsuite uses this facility. From looking at the files here: https://qt.gitorious.org/installer-framework/installer-framework/source/368b00f3fc3e4b9635e68bdca8d5f17d7c881d72:tests/test-installer and here: https://github.com/Alexpux/MSYS2-packages/tree/master/msys2-installer/qt-ifw It should be possible to make it work. If you do manage to come up with something please share it with us as I'm sure others would like to be able to do this. > Regards, > Alexey. > > Thanks, > > Chris > > $ ./msys2-i686-20141003.exe -h > Usage: C:\tmp\msys2-i686-20141003.exe [options] Key=Value > > Options: > -?, -h, --help Displays this help. > --version Displays version information. > -v, --verbose Verbose mode. Prints out more information. > --proxy Use system proxy on Windows and OS X. This > option has no effect on Linux. > --script <file> Execute the script given as argument. > --checkupdates Check for updates and return an XML > description. > --updater Start application in updater mode. > --manage-packages Start application in package manager mode. > --no-force-installations Allow deselection of components that are > marked as forced. > --show-virtual-components Show virtual components in installer and > package manager. > --create-offline-repository Create a local repository inside the > installation directory. This option has no > effect on online installers. > --addRepository <URI,...> Add a local or remote repository to the > list > of user defined repositories. > --addTempRepository <URI,...> Add a local or remote repository to the > list > of temporary available repositories. > --setTempRepository <URI,...> Set a local or remote repository as > temporary > repository, it is the only one used during > fetch. > Note: URI must be prefixed with the > protocol, > i.e. file:///, https://, http:// or ftp://. > --startserver <port,key> Starts the application as headless process > waiting for commands to execute. > > Arguments: > Key=Value Key Value pair to be set. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Msys2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Msys2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users > ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
