/build/static/layout/Breadcrumb_cap_w.png

How to disable auto-updates and Disable Privacy and Network Policies first time using VLC after being deploy from sccm 12

this is my Install CMD file is doing

@echo off
cls
echo --------------------------------------------------------
echo .
echo .
echo .      Installing VLC Media Player - Please Wait
echo .         Window will close once installed

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 Run VLC Installer
"%~dp0vlc-2.2.4-win32.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 Remove all the useless shortcuts from Program Menu
if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\Documentation.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\Documentation.lnk" /S

if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\Release Notes.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\Release Notes.lnk" /S

if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VideoLAN Website.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VideoLAN Website.lnk" /S

if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VLC media player - reset preferences and cache files.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VLC media player - reset preferences and cache files.lnk" /S

if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VLC media player skinned.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\VideoLAN\VLC media player skinned.lnk" /S

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

How can i write to disable auto-updates and Disable Privacy and Network Policies.

I am going to use it to deploy via sccm

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 5 years ago
Red Belt
1

VLC stores its preferences in a set of files in "%Userprofile%\AppData\Roaming\VLC":
    ml.xspf,
    vlcqtinterface.ini
    vlcrc.

You'll need to create a method for deploying these. I built an MSI which includes setting up an ActiveSetup trigger to self-heal the installation. Remember that, to do that, the MSI will need to be either local or accessible to all users. The former is obviously easier to achieve if you have no control over share permissions, etc. I typically set up any package with an MSI which relies on self-healing to populate user-profile stuff so that the package gets copied to and persists in the local cache: storage is stupidly cheap nowadays.


Comments:
  • how did you built the msi based in these instruction? - Navin1986 5 years ago
Posted by: anonymous_9363 5 years ago
Red Belt
1

I used an MSI authoring tool.

Posted by: Killragtshirts 5 years ago
Orange Belt
0

If your unfamiliar with MSI you can use group policy preferences to get the job done.

Ideally MSI though.


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ