Jump to content

UXTheme Patch for Service Pack 3 (SP3)


Tarun

Recommended Posts

Posted

it looks like it's coded in autoit, i haven't touched autoit in about 2 years so i can't remeber.. but if you can make winapi calls, you may want to add a call to the GetFileVersionInfo() or GetFileVersionInfoEx() functions.

just as a precaution.

but again i can't remember autoit very well, so no idea if you can even do that.

Posted

yes, we can use those calls ^^

and i will find a way to do that, but for now...

try this new one i uploaded, it should adress the issues we have :D

Damian666

Posted

ok, i got it, now it triple checks ^^

first if on vista, exit.

then if not on sp3, exit.

then if fileversion is wrong, exit.

patching is always checked...

Damian666

  • Administrator
Posted

ok, i got it, now it triple checks ^^

first if on vista, exit.

then if not on sp3, exit.

then if fileversion is wrong, exit.

patching is always checked...

Damian666

If OS != Windows XP then display a message box saying that OS is not supported, then close. Or simply disable the patch button and tell the user why.

If you're on XP and the Service Pack = 3 and the file version matches, enable Patch button.

There were often times where I used the patch it would sometimes say it was successful yet wouldn't be. That leads me to think there's a better method to check and verify the patch was applied.

Posted

ok, i got it, now it triple checks ^^

first if on vista, exit.

then if not on sp3, exit.

then if fileversion is wrong, exit.

patching is always checked...

Damian666

sounds good, should help prevent people from messing up their uxtheme file.

Posted

well, it should do for now.

let me know of any other stuff, and yes, i am looking at another way to check Tarun :D

Damian666

Posted

well, it should do for now.

let me know of any other stuff, and yes, i am looking at another way to check Tarun :D

Damian666

i can't for the life of me remember autoit. but there may be a function like C's "fseek()". At least i would hope so by now. I stopped using autoit because of the lack of some functions that really should be in there. For example, i'm willing to bet uxtender reads the whole file as a string then concates them all together due to a lack of a fwrite() type function of being able to edit it on the stream.

but if theres a function like fseek(), you could just skip to the offset, read the number of bytes and compare it.. if both offsets equal what your app sets them to then it's patched successfully, or the file is already patched (which leads to better reliability then checking if uxtheme.uxtender exists)..

ok i've rambled on too long. :D

  • 1 month later...
  • Administrator
Posted

Had a user encounter a problem with UXTender. Ran it once and it said everything was patched, but it wasn't. Had to do Restore and restart, then Patch AGAIN before it would work.

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...