Synapse Posted May 23, 2009 Posted May 23, 2009 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.
damian666 Posted May 23, 2009 Posted May 23, 2009 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 Damian666
damian666 Posted May 23, 2009 Posted May 23, 2009 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 Tarun Posted May 23, 2009 Author Administrator Posted May 23, 2009 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.
Synapse Posted May 23, 2009 Posted May 23, 2009 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.
damian666 Posted May 24, 2009 Posted May 24, 2009 well, it should do for now. let me know of any other stuff, and yes, i am looking at another way to check Tarun Damian666
Synapse Posted May 24, 2009 Posted May 24, 2009 well, it should do for now. let me know of any other stuff, and yes, i am looking at another way to check Tarun 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
Administrator Tarun Posted July 18, 2009 Author Administrator Posted July 18, 2009 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.
BKR III Posted August 16, 2009 Posted August 16, 2009 Also Many more Uxtheme Patcherz also available! these are seems to be an intrest Fact
Recommended Posts
Archived
This topic is now archived and is closed to further replies.