Made a Kext Installer...

Discussion in 'PowerPC Macs' started by ifrit05, Jan 13, 2014.

  1. ifrit05, Jan 13, 2014
    Last edited: Jan 13, 2014

    ifrit05 macrumors regular

    ifrit05

    Joined:
    Dec 23, 2013
    Location:
    Near Detroit, MI. USA
    #1
    Whipped up a Kext/Bundle/Plugin driver installer (someone said they would like one, can't remember who). They're Command files, so they're not as flashy as Kext Helper.

    I'm not as good at building Cocoa apps as I though so I whipped up some Bash scripts to do the job. It's self explanatory, and you can check the Command files to make sure I'm not trying to destroy your computer. (I love Macs, why would I do that???)

    I'm looking into some tutorials for Xcode so maybe I'll have a more versatile program in the future. Plus side is that since it's a bash script essentially, it works on PPC and intel Macs.

    Let me know what you guys think.

    Unzip "DriverInstaller" and place the folder into your Home folder. Inside that you'll see a couple of scripts and another folder named "DropFilesHere" (put your drivers in there), and then run the appropriate command file. If you need a Kext installed, run KextInstaler.command. For Bundles, run BundleInstaller.command, etc.

    EDIT: New version!

    Changes: Added coloring, various tweaks.
    The scripts now require the "DriverInstaller" folder to be installed to your Home ( /Users/YourUserName/ ) folder. This should fix the errors.
     

    Attached Files:

  2. Hughmac macrumors demi-god

    Hughmac

    Joined:
    Feb 4, 2012
    Location:
    Kent, UK
    #2
    Thanks very much, I'll give it a Bash later :)

    Cheers :)

    Hugh
     
  3. G4fanboy macrumors regular

    Joined:
    Mar 9, 2013
    Location:
    Andalucia Spain
    #3
    Universal Kext Helper! Thanks for your scripts!

    All the Kext/Bundle/Plugin to install should go on the folder Kext?
     
  4. ifrit05 thread starter macrumors regular

    ifrit05

    Joined:
    Dec 23, 2013
    Location:
    Near Detroit, MI. USA
    #4
    Yup just drop your kexts/drivers into the "DropFilesHere" folder.
     
  5. G4fanboy macrumors regular

    Joined:
    Mar 9, 2013
    Location:
    Andalucia Spain
    #5
    I put the Driver Installer folder on desktop. Open the folder DropFilesHere. Drag and drop all the (tiger ati128) kexts, bundles and plugins there. Double click on kextinstaller (first, I think) and it says:
    1 Installing kexts...
    cp: DropFilesHere/*.kext: No such file or directory
    The Steps 2 and 3 are completed
    Should be the Driver Installer folder on another place to work?
    I think the line on KextInstaller.command
    sudo cp -R DropFilesHere....
    should be
    sudo cp -R /DropFilesHere...
     
  6. ifrit05 thread starter macrumors regular

    ifrit05

    Joined:
    Dec 23, 2013
    Location:
    Near Detroit, MI. USA
    #6
    Hmm... Well I was getting that problem because the script wants to start off in the home directory by default. Since I don't know where you want to put it, I put the first command in there "cd ${0%/*}" to set the relative path to the working directory. If I were to write it like /Drop, then the script thinks the folder is relative to the root directory ( / ), so it fails.

    It was working fine on my end and I even tested it out in different directories all around my HDD.

    I'll look into it.
     
  7. G4fanboy, Jan 13, 2014
    Last edited: Jan 13, 2014

    G4fanboy macrumors regular

    Joined:
    Mar 9, 2013
    Location:
    Andalucia Spain
    #7
    I moved Driver Installer to Home with same result (No such file or directory)
    I think it just needs a "/"

    ----------

    Can you edit the command to be used with the Driver Installer folder at the root of the Hd, I mean at the side of Applications, Library and System? Should be the easiest way.
     
  8. G4fanboy macrumors regular

    Joined:
    Mar 9, 2013
    Location:
    Andalucia Spain
    #8
    Also the plugin installer says in the Third step
    rm: /System/Library/Extensions.mkext: No such file or directory
     
  9. ifrit05 thread starter macrumors regular

    ifrit05

    Joined:
    Dec 23, 2013
    Location:
    Near Detroit, MI. USA
  10. G5-Sir Mac Alot macrumors member

    Joined:
    Sep 24, 2012
    Location:
    Ridgefield, WA USA
    #11
    Can this be used to install openjdk for java 6&7? If so, how? (For a total noob). Thanks.
     
  11. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #12
    No, those are not kexts.
     
  12. G4fanboy macrumors regular

    Joined:
    Mar 9, 2013
    Location:
    Andalucia Spain
    #13
    This version 2.0 made the kext thing works all right, but the plug and bundle failed on the third step both. Just made in terminal
    rm -rf /System/Library/Extensions.mkext
    and it worked (I think)
    Even with this bug for 2.0 it is quicker with your scripts than my manual mode
    I was surprised that the folder "drop your x@$" keep having the kext, plugs and bundle, giving no feedback about if it worked.
    Maybe the scripts should move instead of copy them, having a feedback of them moved when folder is empty.
     
  13. ifrit05 thread starter macrumors regular

    ifrit05

    Joined:
    Dec 23, 2013
    Location:
    Near Detroit, MI. USA
    #14
    I'm working on an applescript droplet currently but I'm having trouble passing multiple dropped files to the cp command.
     

Share This Page