Git

Vous souhaitez découvrir comment gérer efficacement le déploiement de vos logiciels en entreprise ?

Découvrez WinAppack
Editeur The Git Project
Copy to clipboard
Description Système de controle de version distribué conà§u pour la rapidité et l'efficacité des développeurs.
Copy to clipboard
Type de licence GPL GNU
Copy to clipboard
Etiquettes / Catégories
Copy to clipboard

Package WinAppack

Git est pris en charge par l'agent WinAppack. Retrouvez ci-dessous le script PowerShell utilisé pour son installation et sa désinstallation, ainsi que le package complet à télécharger.

Version 2.56.0.4
Copy to clipboard
Archive Git_MULTI-2026.10.27-2.56.0.4-64bits-001_efc3b6cfb6.zip
Copy to clipboard
SHA256 319F92E3276BD533ABA8B01D4C26F5D04D3196A8BAFBC40D68BE6F88B9DD9ED2
Copy to clipboard

Pour vérifier l'intégrité de l'archive, exécutez cette commande PowerShell depuis le dossier de téléchargement. Elle doit renvoyer True.

(Get-FileHash .\Git_MULTI-2026.10.27-2.56.0.4-64bits-001_efc3b6cfb6.zip -Algorithm SHA256).Hash -eq '319F92E3276BD533ABA8B01D4C26F5D04D3196A8BAFBC40D68BE6F88B9DD9ED2'

Script d'installation PowerShell

Copy to clipboard

Ce script nécessite le module WAP.dll (framework WinAppack) pour fonctionner. Il est fourni dans le package zip ci-dessus, dans le même dossier que le script.

param (
    [switch]$UNINSTALL,
    [switch]$INSTALL,
    [switch]$CLOSEAPPMESSAGE,
    [switch]$DESKTOPSHORTCUT
)
try {
    Import-Module "$PSScriptRoot\WAP.dll"
    WAP\Invoke-WAPEnv

    $DefaultParamInstall = "-INSTALL -CLOSEAPPMESSAGE"
    $DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
    
    $software.Name = 'Git'
    $software.Language = 'MULTI'
    $software.Release_Date = '2026.10.27'
    $software.Version = '2.56.0.4'
    $software.Architecture = '64bits'
    $software.Package_Version = '001'
    $software.DiskSpace_Mo_Needed = 500
    $software.RAM_Mo_Needed = 500
    $software.Description = "Distributed version control system used to track changes in source code during development."
    $software.Publisher = "Git Development Community"
    $software.VisibleProcessesToCloseByUser = @("git-gui","git-bash","git-cmd","wish","mintty")
    $software.BackgroundProcessesToKill = @()
    $software.Path_32 = @("$PF86\Git\cmd\git-gui.exe","$PF86\Git\git-bash.exe","$PF86\Git\git-cmd.exe")
    $software.Path_64 = @("$PF\Git\cmd\git-gui.exe","$PF\Git\git-bash.exe","$PF\Git\git-cmd.exe")
    $software.DisplayName = $software.Name


    #############################################################
    # UNINSTALL
    #############################################################
    if($UNINSTALL) {
        
        WAP\Start-WAPSession "UNINSTALL"

        foreach ($Exe in (WAP\Get-UninstallEXE -PatternDisplayName "^Git.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Exe $Exe.UninstallExe -Arg "/VERYSILENT /NORESTART" }
        
        WAP\Test-AppPath -Path ($software.Path_32)[0] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_32)[1] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_32)[2] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_64)[0] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_64)[1] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_64)[2] -Expected $false

        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_32)[1]
        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_64)[1]
        
        WAP\Stop-WAPSession
    }
    


    #############################################################
    # INSTALL
    #############################################################
    if($INSTALL) {

        WAP\Start-WAPSession "INSTALL"

        $ExitCode = WAP\Start-Execution -Exe "$Path\App\Git*.exe" -Arg "/VERYSILENT /NORESTART"
        
        WAP\Test-AppPath -Path ($software.Path)[0] -Expected $true
        WAP\Test-AppPath -Path ($software.Path)[1] -Expected $true
        WAP\Test-AppPath -Path ($software.Path)[2] -Expected $true
        
        if($DESKTOPSHORTCUT) {WAP\Set-DesktopShortcut   -TargetPath ($software.Path)[1]}
        else                 {WAP\Clear-DesktopShortcut -TargetPath ($software.Path)[1]}

        WAP\Stop-WAPSession
    }
}
catch {
    Write-Output "General Error : $($_.Exception.Message)"
    exit 499
}

Autres logiciels du catalogue

Gestion des cookies
Ce site dépose des cookies pour améliorer votre expérience de navigation.
Consulter la politique de confidentialité