Deploying software in the enterprise can be quite complicated, it doesn’t have to but it can be at times. There are tons of people that will just “install” what’s necessary to get them out of trouble (even if it means doing it 100 times over and over!) The same group of people cannot really distinguish between installing and deploying and if you happen to have them on board – you’re in trouble. Now, I don’t even remotely consider myself software packager but when deploying applications I usually follow few simple rules to take care of the basics. Here are the rules:
I. Installation has to be silent with no user intervention required. You run the install and usually don’t even know when its done unless you watch out for msiexec processes etc.
II. Once installed you should run it and no popups / random windows / activation, registration dialog boxes etc. should come up. It simply has to open nice and clean.
III. Again, once installed no extra rubbish should be copied to users desktop / start menu / run once etc. No auto update services should be allowed to start. No tray icons should be visible etc.
If you’re able to achieve all of the above you’re better than most. What we are essentially looking for here to clean and sleek deployment of whatever we need to push out to our client machines. No one likes to login to a machine and see 10 popup windows asking you do to do stuff. Horrible experience before you even start doing anything. Lets get to it!
Command line to get VLC installed:
START /WAIT vlc-2.0.4-win32.exe /L=1033 /S /NCRC
/L=1033 – Sets language to English.
/S – Silent install.
/NCRC – Skips CRC checks.
After installation we need to take care if few things – namely “Privacy and Network Access Policy” and auto update popup settings.
For Windows XP use the script below to distribute two files called vlcrc and vlc-qt-interface.ini to All Users and remove unwanted icons from Desktop and Start Menu:
mkdir "C:\Documents and Settings\All Users\Application Data\vlc"
XCOPY vlcrc "C:\Documents and Settings\All Users\Application Data\vlc" /E /V /H /Y
XCOPY vlc-qt-interface.ini "C:\Documents and Settings\All Users\Application Data\vlc" /E /V /H /Y
RMDIR "C:\Documents and Settings\All Users\Start Menu\Programs\VideoLAN" /S /Q
DEL "C:\Documents and Settings\All Users\Desktop\VLC media player.lnk" /S
For Windows 7 the script is almost the same apart from different file paths specific to Windows 7:
XCOPY vlcrc "C:\ProgramData\vlc" /E /V /H /Y
XCOPY vlc-qt-interface.ini "C:\ProgramData\vlc" /E /V /H /Y
RMDIR "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VideoLAN" /S /Q
DEL "C:\Users\Public\Desktop\VLC media player.lnk" /S
vlcrc and vlc-qt-interface.ini can be downloaded from here:
And that’s it! Now simply run vlc.exe and confirm points 1-3 have been taken care of.
For any questions please leave the comment down below!
EDIT – 7th of May 2013
VLC has been updated to version 2.0.6 – please download the latest .exe from here – vlc-2.0.6-win32.exe
There is no need to change the vlcrc and vlc-qt-interface.ini files as they work fine. Windows XP and Windows 7 scripts stay as is but the install step needs slightly tweaking to include the version change:
START /WAIT vlc-2.0.6-win32.exe /L=1033 /S /NCRC
EDIT – 24th of July 2013
VLC got updated to version 2.0.7 – latest .exe available for download from here http://get.videolan.org/vlc/2.0.7/win32/vlc-2.0.7-win32.exe
START /WAIT vlc-2.0.7-win32.exe /L=1033 /S /NCRC
– everything else stays exactly the same.
EDIT – 10th of September 2013
VLC reaches 2.0.8 – “Twoflower”