Before I start, I am aware that there are many similar threads floating around but I haven't seen one that have complete information on this topic.Unfortunately I wasn't able to take any pics during the install of the lights. There are plenty of topics that cover bumper removal, swapping of the actual headlights, which are all pretty much trivial.
I'll dig up the links to the bumper removal later - OR you can do a SEARCH!
What I will cover here is the wiring that comes with the Kufatec harness and the CODING!
After the headlights are all hooked up, you want to wire the DRL and high beam trigger wires into the cabin.
You're going to need to remove your battery as well as its enclosing in order to get to the nipples. They are behind the battery, a little to the right if I recall correctly; near the top right corner of the picture.

What you need to do is get a coat hanger, tape the wires to it, and feed it through the nipple. Oh yea, make sure the nipple is cut open first. Also make sure there aren't any open ends either on the wire or the hanger - you can wrap everything with tape; this way you won't get anything stuck inside during the process.
Here is where the wires will come out from:

So let's say all the wires are in your cabin by now. Remove the fuse box panel. It's on the left of your dash, the part that's exposed once you open the door. There are 3 clips, one at the very top, one in the middle, and one near the bottom. Use a flathead to help you pry the cover off - I pried near the headlight switch, where there is a step on the cover.

This is your opened up fusebox. Now you got to remove the bolts that hold the lower dash together. There are 3 all together.

One on each side.

Left:

Right:

What I used to remove the bolts:

Now with some brute force, pull the dash down starting from the top - I pulled from where the steering extends out:

Unclip the headlight switch:

Here's a pic of both of them so you know where the tabs are to release:


Now remove the OBD connector to allow better use of the space. There are 3 clips on this one. One visible in the pic and 2 behind it.

So now you have the dash removed and out of the way, we can start working on the actual wiring. Make as much space in the area so you can work on these next few steps!
Lie down so you're looking UPWARDS into your lower dash. So you should be resting your head on the carpet. What you're looking at are a lot of plugs which is your ECM; The top of the pic is closer to the front of the car. The orientation should be the same as you sitting in your chair looking at the picture.

You can actually see my high beam wires hooked up in this picture.
Now you're going to look at the row of plugs closest to the front of the car.
Next to it, there is a red bar.

Push it to the right (or to the left, I forget) to unlock the plugs. Now you want to unplug 2 of them. One in each corner. (Plug A-black and D-yellow).
Here's a picture of plug A.

The top row are pins 1 through 4.
The bottom row are pins 5 through 11.
So there are 4 wires in total.
Unmarked (grey) wires go to plug A.
Marked (grey and black) wires go to plug D.
Thin wires are high beam triggers.
Thick wires are DRLs.
To have the high beam triggers wired, they go to
Plug A Pin 5
Plug D Pin 6
To have the DRLs wired, they go to
Plug A Pin 3
Plug D Pin 3
To hook up the actual wire, you want to release the locking mechanism on the plug itself - it's the purple lock on the side of the plug:

To release, take a flathead phillips and just pop it open (it doesn't come out, it's just lock and unlock):

Fit in the wires you want and you're done in terms of wiring. All you have to do is reverse everything and you're good for vag-comming!
I'll make the VAG-Com instructions short for now - class is ending.
First go to Central Electronics-->Long Coding-->Function 07
Things you have to change
Byte 00 Bit 1 ON
Byte 03 Bit 4 OFF
Byte 17 Bit 1 OFF (I think it's off but I forget. Play around)
Byte 21 (Dropdown box) Choose the one that matches your setup or liking.
And the finalize your settings - not sure how that goes; should be something along the lines of transfer to long coding and save. It should be trivial (My vag com specialist helped me program as I gave him the coding).
So there you have it! The wiring guide and coding for those who haven't found the information on this topic.
If there's any questions just shoot me a PM or post in this thread - stuff I can clarify/do better on.
A thanks to all the people who've helped me complete the install and a special thanks to Jens!
Modified by melstrom at 9:19 PM 11-21-2008