{"thread":{"id":"39307","subject":"automatic git installation","startedAt":"2015-05-12T08:50:58Z","lastAt":"2015-05-13T08:43:32Z","messageCount":4,"participants":["Knobbe, Fabian","Johannes Schindelin","Thomas Ferris Nicolaisen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"261043","messageId":"AM3PR01MB3742DD43DFAE5196C50A572E6DA0@AM3PR01MB374.eurprd01.prod.exchangelabs.com","threadId":"39307","inReplyTo":null,"subject":"automatic git installation","fromName":"Knobbe, Fabian","fromEmail":"fabian.knobbe@landisgyr.com","sentAt":"2015-05-12T08:50:58Z","receivedAt":"2015-05-12T08:50:58Z","isPatch":false,"sender":{"key":"fabian.knobbe@landisgyr.com","avatar":null},"body":"Hallo,\n\nI would like to automatically install git with a script. I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set \"Adjust your PATH environment\" to \"Use Git from the Windows Command Prompt\" without userinteraction.\n\nThanks for any hints!\n\nMit freundlichen Grüßen\n\nFabian Knobbe\nLandis+Gyr GmbH\nOperation Support BL Heat\nHumboldtstr. 64 - 90459 Nürnberg - Germany\nOffice : +49 911 723 - 7134\nFax :    +49 911 723 - 5254\nfabian.knobbe@landisgyr.com\nwww.landisgyr.com\nmanage energy better\n\nGeschäftsführer: Dr. Peter Heuell, Herbert Brunner\nSitz der Gesellschaft: Nürnberg, Registergericht: Nürnberg, HR B 23 863\n\nHaftungsausschluss: Diese Nachricht ist ausschließlich für die Person oder Einheit bestimmt, an die sie gerichtet ist. Sie enthält unter Umständen Informationen, die unter geltendem Recht vertraulich, gesetzlich geschützt oder von der Offenlegung ausgeschlossen sind. Falls Sie nicht der vorgesehene Empfänger oder verantwortlich für die Weiterleitung dieser Nachricht an den vorgesehenen Empfänger sind, ist es Ihnen strengstens untersagt, diese Nachricht offen zu legen, zu verteilen, zu kopieren oder in irgendeiner Art zu benutzen. Sollten Sie diese Nachricht versehentlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen und vernichten Sie jegliche Kopie davon, die Sie möglicherweise erhalten haben.\n\nDisclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.\n\n\nP PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS EMAIL.\n\nThis e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you.\n"},{"id":"261051","messageId":"623dfcd4547202a2c6eb399a6c0116ed@www.dscho.org","threadId":"39307","inReplyTo":"AM3PR01MB3742DD43DFAE5196C50A572E6DA0@AM3PR01MB374.eurprd01.prod.exchangelabs.com","subject":"Re: automatic git installation","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2015-05-12T15:10:28Z","receivedAt":"2015-05-12T15:10:28Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Fabian,\n\nOn 2015-05-12 10:50, Knobbe, Fabian wrote:\n\n> I would like to automatically install git with a script.\n\n... on Windows.\n\n> I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set \"Adjust your PATH environment\" to \"Use Git from the Windows Command Prompt\" without user interaction.\n\nIf you use a recorded silent installation [*1*], you can choose that option in the recording stage and that should be enough to select it during replay.\n\nFor non-Windows users: Git for Windows uses an InnoSetup-based installer that has the option to adjust the user's PATH to either include the entire Git for Windows binaries including all third-party libraries, or just the so-called Git wrapper (it is a lone `git.exe` inside a directory that does *not* add all the `.dll` files that would possibly conflict with other executables on the PATH).\n\nCiao,\nJohannes\n\nFootnote *1*: https://github.com/msysgit/msysgit/wiki/Silent-or-Unattended-Installation\n"},{"id":"261068","messageId":"CAEcj5uXSTu+eqX3O0ecb1JnQQfjEYb38TfYhF9tUOmNV8hZCTw@mail.gmail.com","threadId":"39307","inReplyTo":"AM3PR01MB3742DD43DFAE5196C50A572E6DA0@AM3PR01MB374.eurprd01.prod.exchangelabs.com","subject":"Re: automatic git installation","fromName":"Thomas Ferris Nicolaisen","fromEmail":"tfnico@gmail.com","sentAt":"2015-05-12T19:30:48Z","receivedAt":"2015-05-12T19:30:48Z","isPatch":false,"sender":{"key":"tfnico@gmail.com","avatar":"https://gravatar.com/avatar/628cf28a25ca4c596c7284562100f70f0ef908bcbfadd4da1eb3d48c23658d01?d=mp&s=160"},"body":"On Tue, May 12, 2015 at 10:50 AM, Knobbe, Fabian\n<Fabian.Knobbe@landisgyr.com> wrote:\n>\n> Hallo,\n>\n> I would like to automatically install git with a script. I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set \"Adjust your PATH environment\" to \"Use Git from the Windows Command Prompt\" without userinteraction.\n>\n> Thanks for any hints!\n\nHave you looked at Chocolatey? It's a Windows-based package manager\nthat lets you install software like Git in one command [1].\n\n[1] https://chocolatey.org/packages?q=git\n"},{"id":"261143","messageId":"b70c62b621a8288039627d4911da5af9@www.dscho.org","threadId":"39307","inReplyTo":"CAEcj5uXSTu+eqX3O0ecb1JnQQfjEYb38TfYhF9tUOmNV8hZCTw@mail.gmail.com","subject":"Re: automatic git installation","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2015-05-13T08:43:32Z","receivedAt":"2015-05-13T08:43:32Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Thomas,\n\nOn 2015-05-12 21:30, Thomas Ferris Nicolaisen wrote:\n> On Tue, May 12, 2015 at 10:50 AM, Knobbe, Fabian\n> <Fabian.Knobbe@landisgyr.com> wrote:\n>>\n>> Hallo,\n>>\n>> I would like to automatically install git with a script. I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set \"Adjust your PATH environment\" to \"Use Git from the Windows Command Prompt\" without userinteraction.\n>>\n>> Thanks for any hints!\n> \n> Have you looked at Chocolatey? It's a Windows-based package manager\n> that lets you install software like Git in one command [1].\n> \n> [1] https://chocolatey.org/packages?q=git\n\nGood point. Please note that Chocolatey essentially takes our portable Git and repackages it.\n\nAs for proper package management, the Git SDK is based on MSys2 which sports the Pacman package manager ported from Arch Linux. Git for Windows is also available via a \"Pacman\" repository, and our installer essentially takes the contents of up-to-date packages and bundles them in an installer.\n\nCiao,\nDscho\n"}]}