Script to Install Handbrake in Archlinux

I created a script to install handbrake in archlinux and actually works perfectly. Follow the instructions below to install Handbrake v0.7.1:
1) Save the following at the end of the post, excluding the --- lines in a file called install_handbrake.sh
2) chmod a+x install_handbrake.sh
3) login as root:
4) pacman -Sy jam
5) ./install_handbrake.sh         
6) log out as root.
7) Try running it by typing handbrake in any terminal!
------------------Handbrake install script-----------------------------------------
#!/bin/sh
# Handbrake installer.
# 10-28-06
# The chmod is just in case, doesn't hurt to leave it in.
# (For all users to execute it)
# Update this to HandBrake-0.7.X when it comes out, will still work
hbname="HandBrake-0.7.1"
# If there is an error, it will print to screen anyway and exit.
wget -c http://download.m0k.org/handbrake/$hbname.tar.gz
&& tar xvf $hbname.tar.gz && cd $hbname && mv /usr/lib/libmp4v2* ./
&& mv /usr/bin/faac ./ && ./configure && jam && mv libmp4v2* /usr/lib/
&& mv faac /usr/bin/ && cp HBTest /usr/bin/handbrake && chmod +x /usr/bin/handbrake
&& cd .. && rm -R HandBrake-0.7.1/ && rm $hbname.tar.gz && clear &&
echo -e "$hbname was installed successfully!n"
&& echo -e "Type handbrake to run it.n"
exit
--------------------------------End install script-----------------------------------
Enjoy!

You should use the PKGBUILD in AUR:
http://aur.archlinux.org/packages.php?d … =1&ID=6382
and make a package so it could be installed properly with pacman.

Similar Messages

  • Script to install and enable file and printer sharing windows 7

    Hello
    I posted this question on the Microsoft Partner Windows 7 forum and the support person told me that I should post it here.
    I have a Customer that was running Novell.  We will migrate them to Active Directory.
    The question I have is.  they did remove the file and printer sharing service on their Windows 7 workstations.
    Is is possible to have a command line or a script to install and enable the file and printer sharing for Microsoft Network?
    We need this enable in order to install the SCCM client remotely
    Greetings
    Gaetan Labrecque

    How are you going to connect to the workstations?
    File and print sharing are not needed for Group Policy to work.  GP can be used to re-enable file and Print Sharing.
    You will also  need to start by joining the machines to the domain.  That will be very difficult unless all have PowerShell and are configured for WinRM.
    This can be somewhat accomplished by using VBScript remotely but will require a very sophisticated admin to set up and debug in your environment.  I recommend hiring a consultant who has experience in conversions or is a master VBScripter in a domain.
    There is no easy answer.  It is not about File Sharing.
    Here is how to add roles and features with PowerShell:
    http://technet.microsoft.com/en-us/library/hh831809.aspx
    ¯\_(ツ)_/¯

  • Power shell script to install apps in remote server

    Hello Masters , 
    Tried pssession , invoke command to run a PS1 script in remote server 
    script wil install a exe file and run a script to install features 
    no luck no luck no luck 
    please help !

    Your code looks fine.  Your main problem is that you aren't providing anyone with any useful information about what's going wrong.  Is there an error message?  Do chickens fly out of the computer speakers instead of your script running as
    you expect it to?
    My gut instinct tells me that psremoting isn't enabled, or a security configuration isn't working.  Use the following links or try psexec instead.
    http://technet.microsoft.com/en-us/library/dd315349.aspx
    http://technet.microsoft.com/en-us/library/dd347642.aspx
    I hope this post has helped!

  • WLST deployment scripts not installing ODSI created services

    Some time ago, I modified some example scripts that installed ALDSP 3.0 assets into an ALDSP 3.0 domain, and everything was working dandily. A few months ago, we upgraded our ALDSP 3.0 domain to ODSI 10gR3. We also found we were still able to use the same WLST scripts with no modifications to install the assets into our ODSI domain.
    Now, what I have found is that when we export a dataspace into an ODSI jar from ODSI Workshop and install it with this script, the script only installs those services that were originally created in the ALDSP Workshop. If I install the exact same jar through the ODSI console, it installs all of the services as expected.
    Has anyone else seen this sort of behavior with using WLST scripts to deploy ODSI assets. I'm guessing something has changed that I need to account for in my script, but I haven't been able to find it yet. Any help would be appreciated.
    Edited by: DoubleT on Oct 8, 2009 5:20 PM

    so you have some dataspaces (projects) in ODSI that you can export and then deploy with WLST, and some dataspaces that you cannot, correct?
    To make sure that the first bunch actually do deploy, you could go to the ODSI console, delete them, deploy with WLST and check the console to see if they have reappeared. When you're convinced that works, and you're convinced that the others don't deploy - your just left with figuring out the difference. The simpler they are, the easier to diff them. If you're down to something really simple and don't see anything - engage customer support to help.
    It's unlikely that deployment fails without emitting some sort of error message - I would be looking in the server log.
    In ODSI 10.3 - the sample wlst scripts - SessionCommands.py expects the jar to be in user.dir instead of "rootFolder" in 3.2. (see below). There is also a README.TXT and a DspSecurityPolicy.py script.
    --------------------- ODSI 10.3 - SessionCommands.py ------------------
    import DspCommonCommands as dsp
    print 'Connecting to weblogic server instance...'
    connect("weblogic","weblogic","t3://localhost:7001")
    print 'Creating a deployment session...'
    dsp.createDeploymentSession('ALDSP_WLST_SESSION')
    #Import here uses the default DeploymentOptions
    #To use fancier DeploymentOptions inline the code of dsp:importDataSpace
    #and make necessary changes
    userDir=System.getProperty('user.dir')
    importJarPath=userDir+'/SimpleApp.jar'
    print 'Importing ' + importJarPath
    dsp.importDataSpace('SimpleApp','ALDSP_WLST_SESSION',importJarPath)
    print 'Activating the deployment session...'
    dsp.activateDeploymentSession('ALDSP_WLST_SESSION')
    #Export here uses the default ExportOptions
    #To use fancier ExportOptions inline the code of dsp:exportDataSpace
    #and make necessary changes
    exportJarPath=userDir+'/dataspace_with_config.jar'
    print 'Exporting the dataspace to ' + exportJarPath
    dsp.exportDataSpace('SimpleApp',exportJarPath)
    print 'Disconnecting from weblogic server...'
    disconnect()

  • Not able to push batch script for installing IIS all features using SCCM 2012 task sequence

    Hey Guys, I am working for this from a long time but not able to make it work, I am using following batch script for installing IIS  using SCCM 2012 task sequence:
    Dism.exe /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS RequestFiltering /FeatureName:IIS-NetFxExtensibility
    /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:NetFx3 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:IIS-WebServerManagementTools
    /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools  /FeatureName:IISIIS6ManagementCompatibility /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-WMICompatibility
    When I run this script as admin by right click on it and select "run as a administrator" the script works fine but when I pushed the script as a software package or a step in OSD task sequence, nothing happens. I also tried
    run command line option but no luck. Please help me with this.
    Thanks,
    VST

    1. When I used "run command line" option I found following errors in smsts.log:
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Failed to run the action: Run Command Line.
    Unknown error (Error: 800F080C; Source: Unknown) TSManager 1/2/2014 2:34:32 PM 2092 (0x082C)
    Failed to delete directory 'C:\_SMSTaskSequence' TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetNamedSecurityInfo() failed. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetObjectOwner() failed. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    GetTsRegValue() failed. 0x80070002. TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    ReleaseRequest failed with error code 0x80004005 TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    GetTsRegValue() failed. 0x80070002. OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    2. We are not using MDT in our environment so I ant use add features and roles option.
    3. The script is running fine when we run it manually.

  • Cranpkg - script for installing R libraries

    Hi everyone,
    I have created a script for installing R libraries using pacman.  You can download it at http://allan.mcrae.googlepages.com/cranpkg (currently v0.3.0).
    For example, the "genetics" library is installed using
    > cranpkg -i genetics
    CRANPKG v0.2
    Copyright (C) 2007 Allan McRae
    Examining R installation...
    Installing package genetics...
    Downloading package information...
    Version: 1.3.0
    Dependancies: combinat gdata gtools MASS mvtnorm
    Resolving dependancies...
    Installing combinat...
    Installing gdata...
    Installing mvtnorm...
    Downloading package source...
    Building package...
    Installing package...
    Done
    > pacman -Qs cran
    local/cran-combinat 0.0.6-1
    R library - combinat. Built with cranpkg
    local/cran-gdata 2.3.1-1
    R library - gdata. Built with cranpkg
    local/cran-genetics 1.3.0-1
    R library - genetics. Built with cranpkg
    local/cran-gtools 2.4.0-1
    R library - gtools. Built with cranpkg
    local/cran-mvtnorm 0.8.1-1
    R library - mvtnorm. Built with cranpkg
    This should be fairly robust against failures and leave log files in /tmp/cranpkg if anything fails.  Please let me know if you run into trouble with this.
    There a a few variables that you may need to modify at the top of the script.  For example, the mirror you wish to download from.
    Wget is used by default for the downloading and package installation is done with a "sudo pacman" command.
    Any problems/success please let me know.
    Last edited by Allan (2007-12-31 04:51:27)

    Here is some information on cranpkg status at v0.2:
    Installs and loads fine in R:
    adegenet, allelic, ape, bayesSurv, classifly, coda, combinat, e1071, gdata, gee, genetics, glpk, gstat, gtools, HardyWeinberg, kinship, mcmc, mvtnorm, nortest, qtl, reshape, RGtk2, smoothSurv, sp, tree.
    Installs but fails to load in R:
    graph, rggobi
    Thats greater than 90% success rate...  The packages that fail to load have no files in them (pacman -Ql <pkg> returns nothing).
    Update:  graph requires R>=2.6.0 (latest) which hasn't made it to Arch yet.  rggobi require external software called ggobi so fails.  These errors are caught in v0.2.1.
    Last edited by Allan (2007-10-20 15:13:57)

  • Trouble installing ZFS in archlinux kernel 3.6.3-1-ARCH

    I've been trying to install ZFS on my system, and i can't get past a building error for SPL, here is my install output:
    ==> Downloading zfs PKGBUILD from AUR...
    x zfs_preempt.patch
    x zfs.install
    x PKGBUILD
    Comment by: modular on Wed, 24 Oct 2012 03:09:04 +0000
    @demizer
    I don't/won't run ZFS as a root file system. I'm getting the following build error:
    http://pastebin.com/ZcWiaViK
    Comment by: demizer on Wed, 24 Oct 2012 04:11:54 +0000
    @modular, You're trying to build with the 3.6.2 kernel. The current version (rc11) does not work with the 3.6.2 kernel. If you want to use it, you will have to downgrade to the 3.5.6 kernel (linux and linux-headers). https://wiki.archlinux.org/index.php/Downgrading_Packages
    Thanks!
    Comment by: MilanKnizek on Wed, 24 Oct 2012 08:07:19 +0000
    @demizer: there still seemed to be a problem during upgrading - zfs/spl requires kernel of certain version (hard-coded) and this blocks the upgrade (the old installed zfs/spl requires the old kernel and kernel can't be upgraded w/o breaking dependency of zfs/spl and therefore build of the new zfs/spl fails, too).
    So far, I have had to remove zpl/spl, upgrade kernel, rebuild + install spl/zfs and manually run depmod against the new kernel (i.e. the postinst: depmod -a does not work until next reboot) and only then reboot to load the new kernel zfs modules successfully.
    That is quite clumsy and error-prone - I hope it will be resolved via DMKS.
    Comment by: srf21c on Sun, 28 Oct 2012 04:00:31 +0000
    All, if you're suffering zfs kernel upgrade pain fatigue, seriously consider going with the LTS (long term support) kernel. I just successfully built zfs on a system that I switched to the linux-lts 3.0.48-1. All you have to do is install the linux-lts and linux-lts-headers packages, reboot to the lts kernel, and change any instances of depends= or makedepends= lines in the package build file like so:
    Before:
    depends=('linux=3.5' "spl=${pkgver}" "zfs-utils=${pkgver}")
    makedepends=('linux-headers=3.5')
    After:
    depends=('linux-lts=3.0' "spl=${pkgver}" "zfs-utils=${pkgver}")
    makedepends=('linux-lts-headers=3.0')
    Then build and install each package in this order: spl-utils,spl,zfs-utils,zfs.
    Worked like a champ for me.
    Comment by: stoone on Mon, 29 Oct 2012 12:09:29 +0000
    If you keep the linux, and linux-headers packages while using the LTS you don't need to modify the PKGBUILDs. Because the checks will pass but it will build the packages to your current runnning kernel.
    Comment by: demizer on Mon, 29 Oct 2012 15:56:27 +0000
    Hey everybody, just a quick update. The new build tool I have been working on is now in master, https://github.com/demizer/aur-zfs. With it you can build and package two different groups of packages one for aur and one for split. Again, building the split packages is more efficient. I still have a lot of work to be done, but it is progressing. I will be adding git, dkms, and lts packages after I setup my repo. My next step is to add unofficial repository support to my build tool so I can easily setup a repo with precompiled binaries. I will be hosting the repo on my website at http://demizerone.com/archzfs. Initially it will only be for 64bit code since the ZOL FAQ states that ZOL is very unstable with 32bit code due to memory management differences in Solaris and Linux. I will notify you all in the future when that is ready to go.
    @MilanKnizek, Yes updating is a pain. ZFS itself is hard-coded to linux versions at build time. The ZFS build tool puts the modules in "/usr/lib/modules/3.5.6-1-ARCH/addon/zfs/", and this the primary reason it has to be rebuilt each upgrade, even minor point releases. Nvidia for example puts their module in "/usr/lib/modules/extramodules-3.5-ARCH/", so minor point releases are still good and the nvidia package doesn't need to be re-installed. A possible reason for ZOL to be hard-coded like this because ZOL is still technically very beta code.
    I do have a question for the community, does anyone use ZFS on a 32bit system?
    Thanks!
    First Submitted: Thu, 23 Sep 2010 08:50:51 +0000
    zfs 0.6.0_rc11-2
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> zfs dependencies:
    - linux>=3.5 (already installed)
    - linux-headers>=3.5 (already installed)
    - spl>=0.6.0_rc11 (building from AUR)
    - zfs-utils>=0.6.0_rc11 (building from AUR)
    ==> Edit zfs.install ? [Y/n] ("A" to abort)
    ==> ---------------------------------------
    n
    ==> Continue building zfs ? [Y/n]
    ==> -----------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for zfs:
    ==> Downloading spl PKGBUILD from AUR...
    x spl.install
    x PKGBUILD
    Comment by: timemaster on Mon, 15 Oct 2012 22:42:32 +0000
    I am not able to compile this package after the upgrade to the 3.6 kernel. Anyone else ? any idea?
    Comment by: mikers on Mon, 15 Oct 2012 23:34:17 +0000
    rc11 doesn't support Linux 3.6; there are some patches on GitHub that might apply against it (I've not done it myself), see:
    https://github.com/zfsonlinux/spl/pull/179
    https://github.com/zfsonlinux/zfs/pull/1039
    Otherwise downgrade to Linux 3.5.x or linux-lts and wait for rc12.
    Comment by: timemaster on Mon, 15 Oct 2012 23:54:03 +0000
    Yes, I saw that too late.
    https://github.com/zfsonlinux/zfs/commit/ee7913b644a2c812a249046f56eed39d1977d706
    Comment by: demizer on Tue, 16 Oct 2012 07:00:16 +0000
    Looks like the patches have been merged, now we wait for rc12.
    Comment by: vroomanj on Fri, 26 Oct 2012 17:07:19 +0000
    @demizer: 3.6 support is available in the master builds, which are stable but not officially released yet. Can't the build be updated to use the master tars?
    https://github.com/zfsonlinux/spl/tarball/master
    https://github.com/zfsonlinux/zfs/tarball/master
    Comment by: demizer on Fri, 26 Oct 2012 17:51:42 +0000
    @vroomanj, I plan on working on the git packages this weekend. All I have to figure out if it is going to be based on an actual git clone or if its just going to be the download links you provided. They are pretty much the same, but i'm not really clear what the Arch Package Guidelines say about this yet. Also, I don't think the current packages in AUR now should be based off of git master. They should be based off of the ZOL stable releases (rc10, rc11, ...). That's why I am making git packages so people can use them if they want to upgrade to the latest kernel and the stable release hasn't been made yet. As is the case currently.
    First Submitted: Sat, 26 Apr 2008 14:34:31 +0000
    spl 0.6.0_rc11-2
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> spl dependencies:
    - linux>=3.5 (already installed)
    - spl-utils>=0.6.0_rc11 (already installed)
    - linux-headers>=3.5 (already installed)
    ==> Edit spl.install ? [Y/n] ("A" to abort)
    ==> ---------------------------------------
    ==> n
    ==> Continue building spl ? [Y/n]
    ==> -----------------------------
    ==>
    ==> Building and installing package
    ==> Making package: spl 0.6.0_rc11-2 (Tue Oct 30 11:34:13 CET 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading spl-0.6.0-rc11.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 178 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 136 100 136 0 0 154 0 --:--:-- --:--:-- --:--:-- 293
    100 508k 100 508k 0 0 357k 0 0:00:01 0:00:01 --:--:-- 1245k
    ==> Validating source files with md5sums...
    spl-0.6.0-rc11.tar.gz ... Passed
    ==> Extracting Sources...
    -> Extracting spl-0.6.0-rc11.tar.gz with bsdtar
    ==> Starting build()...
    configure.ac:34: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.ac:34: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    checking metadata... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether make supports nested variables... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
    checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking spl license... GPL
    checking linux distribution... arch
    checking default package type... arch
    checking whether rpm is available... no
    checking whether rpmbuild is available... no
    checking whether dpkg is available... no
    checking whether dpkg-buildpackage is available... no
    checking whether alien is available... no
    checking whether pacman is available... yes (4.0.3)
    checking whether makepkg is available... yes (4.0.3)
    checking spl config... kernel
    checking kernel source directory... /usr/src/linux-3.6.3-1-ARCH
    checking kernel build directory... /usr/src/linux-3.6.3-1-ARCH
    checking kernel source version... 3.6.3-1-ARCH
    checking kernel file name for module symbols... Module.symvers
    checking whether debugging is enabled... no
    checking whether basic debug logging is enabled... yes
    checking whether basic kmem accounting is enabled... yes
    checking whether detailed kmem tracking is enabled... no
    checking whether modules can be built... yes
    checking whether atomic types use spinlocks... no
    checking whether kernel defines atomic64_t... yes
    checking whether kernel defines atomic64_cmpxchg... no
    checking whether kernel defines atomic64_xchg... yes
    checking whether kernel defines uintptr_t... yes
    checking whether INIT_WORK wants 3 args... no
    checking whether register_sysctl_table() wants 2 args... no
    checking whether set_shrinker() available... no
    checking whether shrinker callback wants 3 args... no
    checking whether struct path used in struct nameidata... yes
    checking whether task_curr() is available... no
    checking whether unnumbered sysctl support exists... no
    checking whether struct ctl_table has ctl_name... no
    checking whether fls64() is available... yes
    checking whether device_create() is available... yes
    checking whether device_create() wants 5 args... yes
    checking whether class_device_create() is available... no
    checking whether set_normalized_timespec() is available as export... yes
    checking whether set_normalized_timespec() is an inline... yes
    checking whether timespec_sub() is available... yes
    checking whether init_utsname() is available... yes
    checking whether header linux/fdtable.h exists... yes
    checking whether files_fdtable() is available... yes
    checking whether __clear_close_on_exec() is available... yes
    checking whether header linux/uaccess.h exists... yes
    checking whether kmalloc_node() is available... yes
    checking whether monotonic_clock() is available... no
    checking whether struct inode has i_mutex... yes
    checking whether struct mutex has owner... yes
    checking whether struct mutex owner is a task_struct... yes
    checking whether mutex_lock_nested() is available... yes
    checking whether on_each_cpu() wants 3 args... yes
    checking whether kallsyms_lookup_name() is available... yes
    checking whether get_vmalloc_info() is available... no
    checking whether symbol *_pgdat exist... yes
    checking whether first_online_pgdat() is available... no
    checking whether next_online_pgdat() is available... no
    checking whether next_zone() is available... no
    checking whether pgdat_list is available... no
    checking whether global_page_state() is available... yes
    checking whether page state NR_FREE_PAGES is available... yes
    checking whether page state NR_INACTIVE is available... no
    checking whether page state NR_INACTIVE_ANON is available... yes
    checking whether page state NR_INACTIVE_FILE is available... yes
    checking whether page state NR_ACTIVE is available... no
    checking whether page state NR_ACTIVE_ANON is available... yes
    checking whether page state NR_ACTIVE_FILE is available... yes
    checking whether symbol get_zone_counts is needed... no
    checking whether user_path_dir() is available... yes
    checking whether set_fs_pwd() is available... no
    checking whether set_fs_pwd() wants 2 args... yes
    checking whether vfs_unlink() wants 2 args... yes
    checking whether vfs_rename() wants 4 args... yes
    checking whether vfs_fsync() is available... yes
    checking whether vfs_fsync() wants 2 args... yes
    checking whether struct fs_struct uses spinlock_t... yes
    checking whether struct cred exists... yes
    checking whether groups_search() is available... no
    checking whether __put_task_struct() is available... yes
    checking whether proc_handler() wants 5 args... yes
    checking whether kvasprintf() is available... yes
    checking whether rwsem_is_locked() acquires sem->wait_lock... no
    checking whether invalidate_inodes() is available... no
    checking whether invalidate_inodes_check() is available... no
    checking whether invalidate_inodes() wants 2 args... yes
    checking whether shrink_dcache_memory() is available... no
    checking whether shrink_icache_memory() is available... no
    checking whether symbol kern_path_parent exists in header... no
    checking whether kern_path_parent() is available... no
    checking whether zlib_deflate_workspacesize() wants 2 args... yes
    checking whether struct shrink_control exists... yes
    checking whether struct rw_semaphore member wait_lock is raw... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating lib/Makefile
    config.status: creating cmd/Makefile
    config.status: creating module/Makefile
    config.status: creating module/spl/Makefile
    config.status: creating module/splat/Makefile
    config.status: creating include/Makefile
    config.status: creating scripts/Makefile
    config.status: creating spl.spec
    config.status: creating spl-modules.spec
    config.status: creating PKGBUILD-spl
    config.status: creating PKGBUILD-spl-modules
    config.status: creating spl.release
    config.status: creating dkms.conf
    config.status: creating spl_config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    make all-recursive
    make[1]: Entering directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11'
    Making all in module
    make[2]: Entering directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module'
    make -C /usr/src/linux-3.6.3-1-ARCH SUBDIRS=`pwd` CONFIG_SPL=m modules
    make[3]: Entering directory `/usr/src/linux-3.6.3-1-ARCH'
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-debug.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-proc.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-kmem.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-thread.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-taskq.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-rwlock.o
    CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.o
    /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.c: In function 'vn_remove':
    /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.c:327:2: error: implicit declaration of function 'path_lookup' [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[5]: *** [/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.o] Error 1
    make[4]: *** [/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl] Error 2
    make[3]: *** [_module_/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module] Error 2
    make[3]: Leaving directory `/usr/src/linux-3.6.3-1-ARCH'
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build spl.
    ==> Restart building spl ? [y/N]
    ==> ----------------------------
    ... i'm stuck here, can anyone help me with this one? please !

    Did you read the comments, either on the AUR page or in the output that you posted? They explain it.

  • [SOLVED]Install Scribes after Archlinux's python3 update from october

    I would like to install scribes with the latest updates, but since Archlinux switched to Python3 by default (in october), I am unable to do so.
    Before the update, i ran without problem:
    bzr branch lp:scribes
    cd scribes
    sh autogen.sh
    make
    sudo make install
    But now I can't pass autogen.sh :
    checking what language compliance flags to pass to the C++ compiler...
    checking for a Python interpreter with version >= 2.5... python
    checking for python... /usr/bin/python
    checking for python version... 3.1
    checking for python platform... linux2
    checking for python script directory... ${prefix}/lib/python3.1/site-packages
    checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages
    configure: error: Error: Dependency check failed
    In conf.log there is:
    configure:6227: ./conftest
    File "depcheck.py", line 10
    print "Checking for D-Bus (Python Bindings)... yes"
    ^
    SyntaxError: invalid syntax
    So I run 2to3 on the depcheck.py file in the folder:
    2to3 -w depcheck.py
    And I get:
    checking for a Python interpreter with version >= 2.5... python
    checking for python... /usr/bin/python
    checking for python version... 3.1
    checking for python platform... linux2
    checking for python script directory... ${prefix}/lib/python3.1/site-packages
    checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages
    Error: Python bindings for D-Bus was not found.
    configure: error: Error: Dependency check failed
    In depcheck.py, the error is launched when:
    # Check for D-Bus Python Bindings.
    try:
    import dbus
    if dbus.version < (0, 70, 0): raise AssertionError
    print("Checking for D-Bus (Python Bindings)... yes")
    except ImportError:
    print("Error: Python bindings for D-Bus was not found.")
    raise SystemExit
    except AssertionError:
    print("Error: Version 0.70 or better of dbus-python needed.")
    raise SystemExit
    It turns out I can't access dbus module from python3:
    $ python
    Python 3.1.3 (r313:86834, Dec 1 2010, 12:35:23)
    [GCC 4.5.1 20101125 (prerelease)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import dbus
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: No module named dbus
    >>>
    $ python2
    Python 2.7.1 (r271:86832, Dec 2 2010, 03:10:07)
    [GCC 4.5.1 20101125 (prerelease)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import dbus
    >>>
    But anyway, scribes is written with python2 syntax in mind, so let's use it :
    $ export PYTHONPATH=/usr/lib/python2.7
    I now re-run ./autogen.sh :
    checking what language compliance flags to pass to the C++ compiler...
    checking for a Python interpreter with version >= 2.5... ./configure: line 6015: 17533 Aborted ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5
    python2
    checking for python2... /usr/bin/python2
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    configure: error: Error: Dependency check failed
    In conf.log, there is now:
    configure:6191: result: ${exec_prefix}/lib/python2.7/site-packages
    configure:6227: gcc -o conftest -g -O2 conftest.c >&5
    configure:6227: $? = 0
    configure:6227: ./conftest
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    Traceback (most recent call last):
    File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
    configure:6227: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "scribes"
    But with the PYTHONPATH set, I can't even start the python interpreter (python2 still works fine):
    $ python
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    Traceback (most recent call last):
    File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
    Aborted
    I can still start scribes without compiling it, but then on the console, the same error appears:
    $ python2 scribes.in
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    Traceback (most recent call last):
    File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    Traceback (most recent call last):
    File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
    Without PYTHONPATH set, I can also run scribes (with python2), but it gives me an error in the console. I also tried o run 2to3 on every python file in the project and correcting the syntax to be conform to http://diveintopython3.org/porting-code … -2to3.html (but that's not really what I'm supposed to do, is it?), and I got the same error as the one below ("No module named gobject") when trying to build with autogen.sh:
    $ export PYTHONPATH=
    $ python2 scribes.in
    Traceback (most recent call last):
    File "/home/wan/scribes_d/scribes_721/SCRIBES/SaveSystem/ExternalProcess/ScribesSaveProcess.py", line 7, in <module>
    from gobject import MainLoop, threads_init
    ImportError: No module named gobject
    I am out of ideas to try to correct the problem. Can anyone help me please?
    Last edited by wan (2010-12-09 01:26:14)

    I knew there was an old (and not up-to-date) package in community, but I didn't know that I could get the PKGBUILD.
    That teached me the -G argument for yaourt!
    To solve the problem, the previous script helped a lot:
    $ sed -i 's/python depcheck.py/python2 depcheck.py/' configure.ac
    ... on some other files as well.
    I submitted the now up-to-date PKGBUILD to the AUR here: http://aur.archlinux.org/packages.php?ID=44275
    Thanks for your suggestions!

  • Archwiz Script for installing Arch Linux

    I created a new Bash Script Project called Archwiz, located on  github flesh/archwiz ,
    its still in Beta for a few reasons, I never figured out how to get computer translations working in the script so I can Localize it, and I never figured out all the details to get an AUR custom repo working and lastly I didn't get the Asynchronous downloads to work right, so there are all disabled in this script.
    This script was a fork of another script found here Archlinux Ultimate Install Script.
    The Script itself has several files, the wizard.sh is a library, that allow programmers to use this library as an API for writing scripts, so its usefully to anyone that wants an API to write Bash Scripts, but the script itself scripts a script that is saved as configuration files, then executes the script inside itself, so you can look at all the configuration files before running it.
    The script was written for use by anyone, but mostly targets programmers like myself who need to setup a machine to use as a work station and want it set up a certain way every time, although this script is far from finished, I have a lot of tweaking to do to it before it would be completely there, but as it is, I can get up and running on a machine with little effort, so this make it ideal for a Linux Administrator who has to install thousands of OS's and have them configured all the same way, but works great for someone just wanting to install Arch Linux.
    The Project is Self Documenting and Self Localizing, although currently only English works, but the po files are there, so it would be easy enough if you wanted to localize it; but the computer translation function I started would be the correct way to do this.
    The scripts makes use of a custom repo, so remove it when finished, the script should do this for you, but just to let you know, it downloads the core to the flash drive, this way it can install very fast, once you install it one, it has all the files on it to install on another computer without an Internet connection, well at least that was my thinking, I never did get the AUR custom repo to work, but the idea is to have all the files on the flash so you do not need to use up bandwidth installing Arch Linux on a new machine, just install it, then run pacman updates.
    The Idea of a Wizard is to make the life of those installing an OS, much easier, they have the Option to do a Custom install, or a Wizard install, even an Automatic install to pre-configure machines.
    The script determines if you have UEFI Bios or not, and formats and configures the Hard Drive correctly, and gives you full control over the partitioning of the drive, within the bounds of the tools used, so its very flexible, it uses systemd, so boot time on my machine is 10 seconds flat, and that's because I mount a lot of network drives and map them at boot time, I got 2 seconds boot time with mounting, so the packages are not perfect, but they do work.
    I only tested GDM, since I installed every Desktop Manager and configuration for my needs, this was the only one I got to work for all of them, but I normally use KDE or Mate, but I ran into issues with Mate and went back to KDE, so I could get back to work.
    This script was designed to Format the Drive you install it to, so do not use this on a Partitioned Drive,  it will format the hard drive, so you are warned once more during the install, but this could be fixed, I had to abandon the project to finish another, so the script is as it is, but could give someone a great start if they want to folk it and finish it, so fork me.
    See the help.html for details.
    Last edited by Flesh (2013-02-28 00:31:54)

    Moving to Community Contributions...

  • Error in script line install fails

    v 11 install fails and gives error in the script line as the issue

    Are you on a Windows machine?
    If yes, please download Flash Player from the following link: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    Then close all browsers and double-click the file you downloaded.
    Thanks,
    Sunil

  • Script Error Installing Acrobat Reader

    I'm trying to install the latest Acrobat Reader.  I run the 977kb install_reader10_en_mssd_aih.exe.  It completes the download, with progress at 66%, when a script error occurs.
    The message is "An error has occurred in the script on this page.".  Line: 1, Char: 10091, Error: 'ActionLaunchReader' is undefined, Code: 0, URL: http://127.0.0.1:1178/app/_js/adobe.js
    What's happening?  This seems to me to be a problem with a script at Adobe.com.  Is Adobe already working on it?
    Thank you.

    Many thanks, Claudio. I was having a similar problem trying to download the newer Adobe Acrobat 11 using Firefox 17.0 on a Win XP Pro with SP 3. I kept getting a similar script error message; so I followed the link you gave. I was able to download Acrobat 11 with no problems. You earned a gold star, my friend.
    RoyalPhotography

  • How to script the install of Flash Comm. Server?

    Hi all,
    I need to deploy FCS 1.5 to a number of W2K servers. I have
    scripted every single part of the install and updates, EXCEPT for
    the initial FCS1.5 install, because I can find no documentation on
    it at all - anywhere!
    The variables that I need to be able to "pass" to the install
    are:
    IIS or folder for install
    first / last name for reg. purposes
    company name for reg. purposes
    serial #
    admin username
    admin password
    Is there any way that this can be scripted? I have gone
    through all of Adobe's docs and various places on the web but
    cannot find any info on any potential switches/files that I can
    feed to the installer.
    Here's hoping that someone has done this already!!!
    Thanks so much,
    Rick Tait

    Hi,
    ALTER SYSTEM SET DB_RECOVERY_FILE_DEST=’new_location’;
    After changing FRA location, all new files are created in the new location. However, permanent and old transient files are left in the old FRA location.
    Regards

  • Problem with Exchange 2010 scripts after installing PowerShell 4.0

    Hi
    After installing new updates for MS Exchange 2010 and PowerShell 4.0 I've got problems with PS scripts using buil-in
    exchange commands.
    I wrote interactive script for searching e-mails. Here is a pice of code where I get error after installing PS v4.
    $SearchContent=Read-Host "Write sentence to find"
    Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "Inner box" -LogOnly -Loglevel Full | Out-Null
    After installing PowerShell 4.0 I get that bug and report in TargetMailbox is not genereated.
    The property keyword isn't supported.
    At C:\Administration\Scripts\T-SearchMail.ps1:122 char:1
    + Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Disco ...
    + ~~~~~~~~~~~~~~~~~   
    + CategoryInfo          : InvalidArgument: (:) [], ParserException
        + FullyQualifiedErrorId : 35E6C841
    Using PowerShell 2.0 everything was ok.
    How to solve this problem?
    Tomasz
    Kind Regards Tomasz

    But http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx is dated
    October 2013, while the current Windows Management Framework 4.0 System Requirements section states:
    Servers that are running the following applications can now run WMF 4.0. The versions listed are the minimum releases required to run WMF 4.0.
    Microsoft Exchange Server 2013 Service Pack 1
    Microsoft Exchange Server 2010 SP3 with Update Rollup 5
    Since
    Update Rollup 5 For Exchange 2010 SP3 (KB2917508) was published Febrary 2014, shouldn't Exchange 2010 now be compatible with PowerShell 4.0?

  • GPO Script Silent Install of Flash Player 11.3.300.265

    Hello,
    I am trying to run a script that will uninstall older versions of Flash and then install Flash Player 11.3.300.265 (both the active x control and the plugin for Firefox).  The script runs on computers running both XP (SP3) and Windows 7.  My test machine is a Windows 7 machine.
    The problem I am encountering is that the uninstaller runs successfully but the other .exe files do not run and install.  I installed old versions on my test machine and the new Flash unistaller successfully uninstalls them.  Then the script/installation gets hung up.  Here is a copy of the script:
    @echo off
    REM This script runs in the login script. It checks to see if the computer has ran the script before by checking the logs directory for the computer name. If it hasn't ran before it continues on to uninstall any old versions of flash player and install whatever version is sitting in the 10.0 directory.
    REM To push out latest version of flash player put the latest version in the 10.0 directory and delete all the computer.txt files out of the logs directory. 
    set server=leejsp-fs2
    if exist "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt" goto end
    echo Flash Player install started on %date% %time% from %server% >> "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt"
    echo.
    echo Removing Flash Player...
    "\\%server%\syncnet\Adobe_Flash_Player\uninstall_flash_player.exe" -uninstall
    echo.
    echo Installing Flash Player for Internet Explorer...
    "\\%server%\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_active_x.exe" -install -au0
    echo.
    echo Installing Flash Player for Firefox...
    "\\%server%\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_plugin.exe" -install -au0
    echo Flash Player install finished on %date% %time% from %server% >> "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt"
    :end
    The parameters I am using were found in the 11.3 Admin Guide.  I have also tried the install without the "-au0" parameter with no success.  When I manually run the files they install perfectly fine on the machine.  I have also tried running the script with out the uninstaller to see if the executables would install but that did not work either.
    Last note: this script worked perfect with Adobe Flash 10.3 so all I did was update the file and change the file name (and parameters). 
    What could be going wrong??  Please, any help on this would be amazing.  I am very frustrated at this point.

    Pat,
    Thanks for the response. 
    I poorly described the script "hanging".  It does not hang up, it does complete.  It "completes" because the last line of text for the logs lists that the script finishes (ex: Flash Player install finished on Thu 07/26/2012  9:15:18.95 from leejsp-fs2).  However, Flash is not installed.  This tells me that the script is executing as well as the first command to uninstall older versions of Flash but the next two commands to install Flash Active X and the Flash Plugin are not.
    Here is the FlashInstall.txt from my test machine.  It is just a snipet of the whole log but acccurately shows the issue.  It is a bit long.  Thanks for any assistance!
    =O====== M/11.3.300.265 2012-07-25+18-38-11.742 ========
    0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\uninstall_flash_player.exe" -force   -uninstall
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001018
    0003 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0004 [W] 00001019
    0005 [W] 00001020
    0006 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0008 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0009 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0010 [W] 00001021
    0011 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0012 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0013 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0014 [W] 00001048
    0015 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0016 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0017 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0018 [W] 00001037 SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\\FlashPlayerApp.exe/ 2
    0019 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0020 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0021 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0022 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0023 [W] 00001018
    0024 [W] 00001036 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0025 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0026 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0027 [W] 00001019
    0028 [W] 00001020
    0029 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0030 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0031 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0032 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0033 [W] 00001021
    0034 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0035 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0036 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0037 [W] 00001048
    0038 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0039 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0040 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0041 [W] 00001037 SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\\FlashPlayerApp.exe/ 2
    0042 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0043 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0044 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0045 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0046 [W] 00001036 Software\Mozilla\MaintenanceService\extensions/Plugins 2
    0047 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0048 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0049 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0050 [W] 00001036 Software\Opera Software/Plugin Path 2
    0051 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/11.3.300.265 2012-07-25+18-38-12.022 ========
    =O====== M/11.3.300.265 2012-07-25+18-38-14.269 ========
    0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_active_x.exe"  -install -au0
    0001 [F] 00001003 -au0
    =X====== M/11.3.300.265 2012-07-25+18-38-16.157 ========
    =O====== M/11.3.300.265 2012-07-25+18-38-19.309 ========
    0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_plugin.exe"  -install -au0
    0001 [F] 00001003 -au0
    =X====== M/11.3.300.265 2012-07-25+18-38-20.292 ========

  • Power-shell script to install scom agent to multiple servers

    Hi
    we are trying to upgrade/install scom 2012 r2 agents to our windows servers (300+) server via powershell script.
    we are wanting the result to be written to csv file but we are facing difficulty in trying to find the object/value to look at to the put the condition against.
    we found the script that does for ping(below part script) result but we want to capture any failure. is there anything we can use to achieve what we ant to do?
    Thank you in Advance.
    -------------------Sample script--------------------------
    # Ping the computer
        $pingStatus = Get-WmiObject -Class Win32_PingStatus -Filter "Address = '$computer'";
        if($pingStatus.StatusCode -eq 0)
            #If computer is up, write message and launch agent install
    InstallSCOMAgent $Computer
    "Success , $computer." | out-file "D:\output.csv" -Append -NoClobber
    #Write-Host -ForegroundColor Green  "Reply received from $computer.";
        else
            #Else, just write a message indicating computer unreachable 
           "Failed , $computer." | out-file "D:\output.csv" -Append -NoClobber

    Just in case Newbie like me wondering how it can be done
    Here is the code (of course i got the help) simple but does what i want at this stage.  Next I am looking at how I can push the agents in parallel, this script will take fairly long time when trying to push to huge number of servers.
    #Import PowerShell Modules 
    import-module OperationsManager
    #Variables
    $InstallAccount = Get-Credential domainname\username
    $PrimaryMgmtServer = Get-SCOMManagementserver -Name <managementservername>
    #Connect to OpsMgr Management Group
    Start-OperationsManagerClientShell -ManagementServerName: <managementservername> -PersistConnection: $true -Interactive: $true;
    $list = Import-Csv -Path 'D:\temp\serverlist.csv'
    foreach ($entry in $list)
    $computer = $entry.ServerName
        try
        Install-SCOMAgent -Name $computer -PrimaryManagementServer $PrimaryMgmtServer -ActionAccount $InstallAccount -ErrorAction Stop
    #Write Success message into file
    "$computer, Success." | out-file "D:\temp\result.csv" -Append -NoClobber
        Catch
    #just write a failure message into file
            "$computer, Failled." | out-file "D:\temp\result.csv" -Append -NoClobber
    --------------------------End---------------------------------------------------------------------------

Maybe you are looking for

  • Unable to open MS.xps file in KM

    Hello, I Have uploaded a MS .xps file in to the KM folder but is unable to open it from there. The file opens normally on IE (internet explore) before it is uploaded Error Message... An error has occurred in the application you are using. I am using

  • Who's Who - Restrict Result List

    Dear, My problem today is that my Who's Who displays all the positions from the backend in the result list. For example, if Mr X was in entity A til end of Dec07 and then he changed position and was in entity B. Then Who's who displayed all the resul

  • Quick time player for 10.7.5

    I shot a video (CIMG2239.AVI) on my Casio 7.2 Elixim camera. I am trying to watch the video on my MacBook Pro (OS X Lion 10.7.5). When I try to play the video, I get a message, "Quick Time Player can't open because a required codec isn't available".

  • Monitor displaying at 150%

    Not sure where to post this, but monitors seems like the right spot. I have a Samsung LCD monitor connected to my powermac G4. I was trying to adjust the view setting on a game I was playing and it reset the whole monitor settings. Don't recall just

  • Excel and Acrobat 7

    Hi, I am trying to print/convert 2 of 3 sheet in an excel (2003) document to pdf. When I preview the document, I can see that there are two sheets. I am expecting both sheets to be converted to one document, however Acrobat tries to create 2 document