Jump to content

Recommended Posts

Posted (edited)

Hi all trying to install vlc player put its not working form sccm just hangs I have the right command to install as well ive old other thing is i have changed the win file

 

any ides what is going on

 

thanks

Edited by Dos_Box
Posted
it is right but why dose it not work

 

You have "" where you should have "/"

 

I can't test if this will/would make the difference (I no longer have access to SCCM)

 

:)

Posted

It may not be relevant to the MSI installers, but we're using the exe version of VLC in a script, and my command line is below.

 

We had to add /L=1033 to specify language.

 

"vlc-3.0.11-win64.exe" /L=1033 /S

Posted

Suggestion: A thread where known working scripts for SCCM deployments for packages like VLC are posted to act as a library/reference.

 

:thumb: :)

  • Thanks 3
  • 1 month later...
Posted

This is my VLC installation script for SCCM - I cannot take credit for it as I found it somewhere and cannot remember where.

 

 @echo off
cls
echo ----------------------------------------------------------
echo .                                                        .
echo .                                                        .
echo .   Installing/Updating VLC Media Player - Please Wait   .
echo .     This window will close once installed              .
echo .                                                        .
echo .                                                        .
echo ----------------------------------------------------------

REM Uninstall existing VLC version
if exist "%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" "%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" /S
if exist "%PROGRAMFILES(x86)%\VideoLAN\VLC\uninstall.exe" "%PROGRAMFILES% (x86)\VideoLAN\VLC\uninstall.exe" /S
:: Wait for 20 seconds
ping -n 20 127.0.0.1 > NUL

REM Silent install for 64-bit
if defined ProgramFiles(x86) "%~dp0vlc-3.0.18-win64.exe" /language=en_GB /S
if defined ProgramFiles(x86) exit

REM Silent install for 32-bit
"%~dp0vlc-3.0.18-win64.exe" /language=en_GB /S
REM Removes VLC Desktop Icon - Windows XP
if exist "%allusersprofile%\Desktop\VLC media player.lnk" del "%allusersprofile%\Desktop\VLC media player.lnk" /S

REM Removes VLC Desktop Icon - Windows 7
if exist "%public%\Desktop\VLC media player.lnk" del "%public%\Desktop\VLC media player.lnk" /S

REM Return exit code to SCCM
exit /B %EXIT_CODE%

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...