Saturday, March 29, 2008

Vista Themes

      It’s 2 am Saturday and I’m writing about what I’ve been doing for the last 3 hours.
Most people like to enjoy and relax, maybe go out on their Friday afternoons. Well no, not me. My favourite activity on a Friday afternoon is hiting the desk with my head. And I came very close to doing that today.

      There comes a time in every man’s life when he says to himself: Well I’ve got a good computer, a great OS but ( after seeing a few SCI-FI films ) I want it to really look cool. Such a thought occurred to me a few hours ago, and I decided to change my classic Vista skin with a cooler techier one. Now I’m not the one to usually have 20 skins for every application and 45 types of cursor that I change acording to my mood. Actually I haven’t really used skins for the OS ever since Win 98. It’s just something that I find useless and memory consuming. But tonight I forgot all that.

      So after googling around for a nice theme I decided ( as usual) on an OS X Leopard one, actually extremely well done from what I saw in the previews. So I downloaded a few versions to test them. Unpacked them and tried to install them. Nothing happened except for my background going black. I decided to take another look on the site where I found them. “ You need to get Vista Glazz and patch files for the skins to work”. I think to myself ok no problem, so I quickly download the latest Glazz version I can find. Install it , hit the “check dlls” button.
!!! “ Vista Glazz is missing key components of the program, do you still want to patch?”. Wow, key components ..no I don’t want to patch. I uninstall it and get the version from the original Vista Glazz website, without corrupt files and stuff ..or so I thought. Do the whole thing over again. Check dlls. “Glazz is missing key components..” oh screw it , patch anyway. It patches a few dlls from the system. Great. Reboot needed. I reboot. When I log on again , my Vista was looking somewhat like MS DOS 5 .

      I think to myself, well it went back to windows basic and now I can install the theme. SO I try to double click on the .theme file. Nothing happens. Then I try to open the personalize menu. OPS, ERROR. APP Crash, host process error. My PC was kinda telling me to go *%& myself. And I got that error for anything that had to do with visual styles , resolutions, basically the way anything looked.

      OK so I figure ..patching system dlls with obscure program = BAD IDEA. Didn’t even know what files it had patched. So I go to my theme folder and notice that the Aero files were patched. Ok no problem it must have kept originals. WRONG, no originals. So I ring a friend and he sends the original files to me via messenger. I try and replace them. BANG no can’t do. YOU NEED PERMISSION to modify these files.

      How do you change permissions in Vista? Easy, right click on the file, properties, security. Advanced, Owner, make yourself the owner of the file. Back Back back , Edit permissions, select yourself give yourself full control over the file. I had to do this for about 10 files in the end. Try and delete the patched files. Again no can’t do. The files are in use. By what? Who knows …Aero wasn’t working, no theme service was working , no graphics service was working ( I disabled all the services myself) ..but hey the files are in use. OK. Reboot. Safe Mode. Delete. WOW the files are still in use. Now that’s weird.

      Solution: Renaming the patched files ..even though they were in use I was allowed to rename them ..yeah ..don’t ask… then copying the good files, rebooting, and then deleting the patched messed up files that were no longer in use due to the name change.
So I did this for my Aero folder and the files inside it. Rebooted once more. I was actually thinking everything would be fine now. Guess again. After logging in nothing had changed, and I still got the fatal errors when trying to change stuff via control panel. And then I go to the original Glazz forum and try to search for a solution. Somebody was complaining of something similar so I followed those ideeas and found out that besides the Aero dlls it also patched a few other ones. To be exact Uxtheme.dll, Themeui.dll and Shsvcs.dll, all found in system32. And the guys also mentioned that Glazz makes a copy of the original and stores it as filename.dll.vgorg so this can be used in case anything goes wrong. Said and done. Again I modified permissions, again I rebooted in safe mode, again I changed names and deleted the crappy files and replaced them with the ones that I got my friend to send to me.( the so called copies of original with the .vgorg were of no use)

      Finally I logged in and surprise ..nothing changed. The theme was still basic BUT ..and this is important I didn’t get the Fatal error thing in Control panel. So I recopied the Aero folder once more ( it had somehow got corrupted between 3 reboots ..again don’t ask ..) recopied the good aero dlls and rebooted for the last time.

      Praise the Lord it works now. People also suggested trying to boot using “ last known good configuration” but that didn’t do any good. And also trying system restore to an earlier date but I didn’t have any restore points near today , plus I have very little faith in that program as it has NEVER helped me with anything.

      The conclusion of this story is : 1) always have a copy of the original file before doing anything to it.
 2) Try and enjoy your Friday afternoons.
 
  Please leave your comments and suggestions after the beep.

  Cheers, Geeky.

3 comments:

Illuminatus said...

Additional conclusions: a)never use a strange program that changes you dlls
b) stop messing around with themes and other ..... like that.

Anonymous said...

Errm yea........ I was on googling tryig to find a way to change my theme and after seeing what people have had to go through to try and change it on Vista, ......... hey look at that im suddenly happy with my current theme wow! amazing

Anonymous said...

yea, something terrifyingly reminiscent of this happened to me only it took a month to come into effect. now to see if the original aero theme was saved...