• The Forums
  • About
  • Archives
  • Categories
  • Archive for April, 2011

    Avidemux 2.5.4 libADM_UKGtk.so or libADM_UIQT4.so error


    2011 - 04.21

    I’ve recently just installed Avidemux 2.5.4 from a tar ball on to a Linux Mint Debian distribution.  After the install, I tried to launch avidemux2_gtk and avidemux2_qt4 and was presented by:

    ./avidemux2_gtk: error while loading shared libraries: libADM_UIGtk.so: cannot open shared object file: No such file or directory

    and

    ./avidemux2_qt4: error while loading shared libraries: libADM_UIQT4.so: cannot open shared object file: No such file or directory

     

    Long story short, I thought something was a busted.  It seems that on Debian based systems (that’ll include Ubuntu varients) you’ll need to run

    sudo ldconfig

    to allow you to launch the application.

    VLC distribution via Group Policy


    2011 - 04.19

    VideoLANs VLC is one of the most powerful and in my mind, one of the best media players out there.  It’s opensource but they drive a lot of development of the H.264 codec which is prolific in just about every way.

    One of the big annoyances how ever is, how the Hell do you roll this puppy out to Enterprise class networks… skipping the bull, how to roll to Microsoft Active Directory PCs??  Well there’s no MSI running around and I couldn’t be bothered to create one so I opted with a little script logic, whacked it in to GP under PC Start Up script and Bob, he is your Uncle.

    Download the latest VLC from www.videolan.org, grab the ZIP pack and extract it.  Dump the VLC directory on to your server share in another directory called VLC (\\server\apps\VLC\VLC).  Make a copy of VLC.exe in to C:\program files\VLC\ and then create a shortcut from there in to c:\programdata\Microsoft\Windows\Start Menu\Programs\Media\ (this is a hidden folder).  Cut and paste your link you’ve created in to \\server\apps\VLC\.  Now time for the script, copy and paste in to a text file via notepad:

    @echo off

    if exist  “%programfiles%\vlc\vlc.exe” goto end
    :: Copy VLC to Program Folder
    xcopy \\server\apps\vlc\vlc “%programfiles%\vlc” /f /h /r /y /e /i

    :: Copy shortcut to Start Menu\Media
    copy \\server\apps\vlc\*.lnk “%programdata%\Microsoft\Windows\Start Menu\Programs\Media\” /y

    :end

    Now I don’t need my script to be very intelligent.  This literally checks to see if the VLC folder exists in Program Files and if it does, quits; else it copies over what it needs to install.  Save this in to \\server\apps\vlc and call it VLCInstall.cmd.

    Fire up your GP Editor, new policy, VLC_Install, Settings Tab, Right click, edit, Computer Config, Policies, Windows Settings, Scripts, Startup.  Browser to your script, mine is at \\server\apps\VLC\vlcinstall.cmd and click ok, and close back out.  Link your policy to your group with a test PC and give it a whirl.

    Script logic wise, if you’re being clever, use version numbers for the VLC, a la \\server\apps\VLC\VLC119 and you can then test for versions and install newer ones that way, or drop a text file in to “%programfiles%\vlc” called 119.txt, 120.txt, etc and check if it needs to be copied in again that way.

    Quicktime 7.69 deploy via GPO


    2011 - 04.11

    Deploying quicktime via Group Policy is a complete and total bitch, for anyone that hasn’t done it yet.  I’d like to thank Apple for allowing me to waste a number of hours searching for this fix.

    I’ve created a nice MST though that allows it to work without issues (attached), you will how ever in GPO have to tick the “ignore language” box under the advanced options.  Why any software vendor would publish an English language application with nothing but English content and then set the installer language to Taiwanese……. Oh yes, it’s an Apple product all right!

    QuickTime 7.69 MST

    Don’t forget to install the AppleApplicationSupport.msi first otherwise QT just won’t work.

     

    Oh, honourable mention here is InstEd MSI Editor, it’s FREE!

    DISM for Windows 7, the useful bits


    2011 - 04.04

    I’ve been having to do the old DISM image manipulation for a while, but it seems I have to do so many other things I keep getting lost on the main commands that I use regularly, so this is them posted here.  It’s the mounting of the image, the offline driver push, software registry hive loading and unloading and finally the dismount and commit.

    Mount Image:

    Dism /Get-WimInfo /WimFile:C:\winpe_x86\images\buildfile.wim
    Dism /mount-wim /WimFile:C:\winpe_x86\images\buildfile.wim /index:1 /MountDir:C:\winpe_x86\mount

    Drivers Install Image:

    Dism /Image:C:\winpe_x86\mount /Add-Driver /Driver:c:\winpe_x86\drivers /Recurse

     

    Mount Registry:

    reg load HKLM\buildfile c:\winpe_x86\mount\windows\system32\config\software

    regedit (do your tinkering in HKLM\buildfile)

    reg unload HKLM\buildfile

     

    Unmount and Commit Image:

    Dism /Unmount-Wim /MountDir:C:\winpe_x86\mount /Commit