Made a Kext Installer...

ifrit05

macrumors regular
Original poster
Dec 23, 2013
222
78
Near Detroit, MI. USA
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.
 

Attachments

Last edited:

G4fanboy

macrumors 6502
Mar 9, 2013
280
153
Andalucia Spain
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.
...
Let me know what you guys think.
Universal Kext Helper! Thanks for your scripts!

All the Kext/Bundle/Plugin to install should go on the folder Kext?
 

G4fanboy

macrumors 6502
Mar 9, 2013
280
153
Andalucia Spain
Yup just drop your kexts/drivers into the "DropFilesHere" folder.
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...
 

ifrit05

macrumors regular
Original poster
Dec 23, 2013
222
78
Near Detroit, MI. USA
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.
 

G4fanboy

macrumors 6502
Mar 9, 2013
280
153
Andalucia Spain
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.
 
Last edited:

G4fanboy

macrumors 6502
Mar 9, 2013
280
153
Andalucia Spain
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.