Vous souhaitez découvrir comment gérer efficacement le déploiement de vos logiciels en entreprise ?
| Editeur | VideoLAN |
Copy to clipboard
|
|---|---|---|
| Description | VLC Media Player est un lecteur multimédia gratuit et open source qui prend en charge une large gamme de formats de fichiers, notamment les vidéos, les audios, les DVD, les CD et les flux en direct. Il est disponible pour Windows, macOS, Linux, iOS et Android. |
Copy to clipboard
|
| Type de licence | GPL GNU |
Copy to clipboard
|
| Etiquettes / Catégories | Lecteur vidéo, Lecteur audio MP3, Streaming |
Copy to clipboard
|
VLC Media Player 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 | 3.0.24 |
Copy to clipboard
|
|---|---|---|
| Archive | VLC_Media_Player_MULTI-2026.09.24-3.0.24-64bits-001_2b7edf502c.zip |
Copy to clipboard
|
| SHA256 | AA6E46920C4F8893D955B12580529F61D5CAC51EB20A21E344B34C994B28F850 |
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 .\VLC_Media_Player_MULTI-2026.09.24-3.0.24-64bits-001_2b7edf502c.zip -Algorithm SHA256).Hash -eq 'AA6E46920C4F8893D955B12580529F61D5CAC51EB20A21E344B34C994B28F850'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]$CLEAN,
[switch]$DESKTOPSHORTCUT
)
try {
Import-Module "$PSScriptRoot\WAP.dll"
WAP\Invoke-WAPEnv
$DefaultParamInstall = "-INSTALL -CLOSEAPPMESSAGE"
$DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
$software.Name = 'VLC Media Player'
$software.Language = 'MULTI'
$software.Release_Date = '2026.09.24'
$software.Version = '3.0.24'
$software.Architecture = '64bits'
$software.Package_Version = '001'
$software.DiskSpace_Mo_Needed = 500
$software.RAM_Mo_Needed = 500
$software.Description = "Free and open-source media player that supports a wide range of file formats, including videos, audio files, DVDs, CDs, and live streams."
$software.Publisher = "VideoLAN"
$software.VisibleProcessesToCloseByUser = @("vlc")
$software.BackgroundProcessesToKill = @()
$software.Path_32 = @("$PF86\VideoLAN\VLC\vlc.exe")
$software.Path_64 = @("$PF\VideoLAN\VLC\vlc.exe")
$software.DisplayName = $software.Name
#############################################################
# UNINSTALL
#############################################################
if($UNINSTALL) {
WAP\Start-WAPSession "UNINSTALL"
foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^VLC media player.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
foreach ($Exe in (WAP\Get-UninstallEXE -PatternDisplayName "^VLC media player.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Exe $Exe.UninstallExe -Arg '/S' }
WAP\Test-AppPath -Path ($software.Path_32)[0] -Expected $false
WAP\Test-AppPath -Path ($software.Path_64)[0] -Expected $false
WAP\Clear-DesktopShortcut -TargetPath ($software.Path_32)[0]
WAP\Clear-DesktopShortcut -TargetPath ($software.Path_64)[0]
if ($CLEAN)
{
WAP\Remove-AppItem -Path "$PF86\VideoLAN"
WAP\Remove-AppItem -Path "$PF\VideoLAN"
WAP\Remove-AppItem -Path "HKLM:\SOFTWARE\VideoLAN"
foreach ($User in (WAP\Get-UserInfos)) { WAP\Remove-AppItem -Path "$($User.ProfilePath)\AppData\Roaming\vlc"}
}
WAP\Stop-WAPSession
}
#############################################################
# INSTALL
#############################################################
if($INSTALL) {
# Pre-install
WAP\Start-WAPSession "UNINSTALL"
foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^VLC media player.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
WAP\Stop-WAPSession
# Install
WAP\Start-WAPSession "INSTALL"
$ExitCode = WAP\Start-Execution -Exe "$Path\App\vlc*.exe" -Arg '/S'
WAP\Test-AppPath -Path ($software.Path)[0] -Expected $true
if($DESKTOPSHORTCUT) {WAP\Set-DesktopShortcut -TargetPath ($software.Path)[0]}
else {WAP\Clear-DesktopShortcut -TargetPath ($software.Path)[0]}
WAP\Stop-WAPSession
}
}
catch {
Write-Output "General Error : $($_.Exception.Message)"
exit 499
}