+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Windows Thread, Is there a way to automate (silently) install a VLC player update? in Technical; ...
  1. #1

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15

    Is there a way to automate (silently) install a VLC player update?

    Hi all,

    A year or so ago I rolled out VLC player across our network (500 pc’s). I choose to do this using a startup script (pushed by GPO).

    The startup script was as below:

    if exist " C:\Program Files\VideoLAN\VLC" goto end
    "\\MY-SERVER\VLC_Player\vlc-1.0.5-win32.exe" /S
    ECHO VLC has been installed >> "C:\Program Files\VLC_has_been_installed.txt"

    As you can see, this checks for the existence of a text file, if it exists the script terminates. If the text file does not exist, VLC silently installs.

    This method has been working perfectly for a year, but now it is time to update. I understand that I can use a script to execute "C:\Program Files\VideoLAN\VLC\uninstall.exe" /S and uninstall silently, but how can I automate this process, but avoid the script getting itself in a loop everytime the PC restarts?

    Is there a way in the script that I can say, ‘uninstall IF vlc 1.0.5 exists and install vlc 1.1.0, but DON’T uninstall vlc 1.1.0’

    Are am I going to have to execute the uninstall command manually?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454

  3. #3

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Sorry, VLC - not VNC

  4. #4

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,830
    Thank Post
    146
    Thanked 574 Times in 518 Posts
    Rep Power
    154
    VLC is able to check and uninstall older versions itself - would you be able to automate this with the /s switch run with the installer? That way, it'll not try to remove 1.1.10 either, but it'll update every machine that has an older version.

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,062
    Thank Post
    889
    Thanked 1,733 Times in 1,496 Posts
    Blog Entries
    12
    Rep Power
    454
    ah what i fool! sorry

  6. #6

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Quote Originally Posted by 3s-gtech View Post
    VLC is able to check and uninstall older versions itself - would you be able to automate this with the /s switch run with the installer? That way, it'll not try to remove 1.1.10 either, but it'll update every machine that has an older version.
    I dont think this can be done silently....when I tried it it came up with a prmopmt saying 'Do I want to update to version 1.1.0'. My aim is to surpress this prompt and just do it!

  7. #7

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,162
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    Quote Originally Posted by mjgreen View Post
    I dont think this can be done silently....when I tried it it came up with a prmopmt saying 'Do I want to update to version 1.1.0'. My aim is to surpress this prompt and just do it!
    Uninstall the old version then push out the new one?

  8. #8

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Quote Originally Posted by Edu-IT View Post
    Uninstall the old version then push out the new one?
    Yes, but my aim is to automate this, as there are certain computers around the site that may not be switched on for several weeks. I want to ensure that the next time these PC's are switched on, the old version of VLC is uninstalled and the new version is installed

  9. #9

    Join Date
    Jul 2011
    Location
    Berkshire, UK
    Posts
    6
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    in settings jst tick automatic update option so next time when there will be an update available or launched then it will automatically download for you and will also install it for you without hassel

  10. #10

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Quote Originally Posted by zenith View Post
    in settings jst tick automatic update option so next time when there will be an update available or launched then it will automatically download for you and will also install it for you without hassel
    But I dont really want them to automatically update to be honest. I imagine there may well be permission problems with that anyway

  11. #11

    Join Date
    Jul 2011
    Location
    Berkshire, UK
    Posts
    6
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    lol @ FN- GM...

  12. #12

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Think I have arrived at a solution to this.

    I just need to work in a text file at the 'uninstall' stage as well as the install stage. Then I should be able to reference this

  13. #13

    Join Date
    Jul 2011
    Location
    Berkshire, UK
    Posts
    6
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by mjgreen View Post
    But I dont really want them to automatically update to be honest. I imagine there may well be permission problems with that anyway
    or else you are using any portable version of VLC player (may be in your case) coz portable version dont allow to install updates ...(portable versions helps to use vlc player on any pc without installing it on pc)

  14. #14

    Join Date
    Oct 2007
    Location
    Northamptonshire
    Posts
    311
    Thank Post
    21
    Thanked 82 Times in 69 Posts
    Rep Power
    45
    Another option is to add a registry query to your startup script to check the uninstall key for VLC media player. That should contain the installed version of VLC so if it isn't the latest version your script can remove the previous versions and then install the latest one.

    I use this method for deploying Adobe Flash Player.

  15. #15

    Join Date
    Apr 2009
    Posts
    93
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    15
    Quote Originally Posted by Ashm View Post
    Another option is to add a registry query to your startup script to check the uninstall key for VLC media player. That should contain the installed version of VLC so if it isn't the latest version your script can remove the previous versions and then install the latest one.

    I use this method for deploying Adobe Flash Player.
    Thanks Ashm, COuld you possibly post your script so I can see what you mean (I might use this for Flash myself as I sometimes have problems using the Flash MSI.

    Many thanks

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 21st June 2011, 08:55 AM
  2. Is there a way to bypass a WIndows login?
    By scalywag66 in forum Windows
    Replies: 16
    Last Post: 16th May 2008, 09:40 AM
  3. Replies: 14
    Last Post: 11th March 2008, 01:54 PM
  4. Is there a way to see who is using SIMS?
    By sidewinder in forum MIS Systems
    Replies: 15
    Last Post: 14th November 2007, 10:23 AM
  5. Replies: 4
    Last Post: 22nd July 2007, 04:31 PM

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (1 members and 1 guests)

  1. dclifton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •