Recommended Posts

what i've been doing recently:

i've been trying to solve the prerequisite problem! i've been experimenting with the solution based around timestamps. i have a good framework setup, however the meat of the functionality is what i've been struggling with. you see, when NSIS gets a 'last modified' timestamp it's trying to access a 64bit number. NSIS can only handle 32bit numbers and so has to fetch it as two separate numbers. since the numbers are binary (and taken as signed numbers too) you can't just print out the decimal representation of each, one following the other because due to being thought to be two separate signed numbers they are converted to decimal from binary int he wrong way. so first of all i had to work out how to convert the numbers correctly. another spanner in the works was that i was comparing the result with one from PHP so i could make sure i ended up with the correct result, however win32 and PHP use two different epochs (reference point in time from which a measurement of time is taken), 369 years apart, which had a huge impact on the result when you consider that the results are represented as seconds, and this confused me for a while.

after i sorted that out, i then needed to work out how to do it in code, because actually i don't need to do such calculations in code, that was just to make sure i understood it all correctly. however firstly its much more complicated than a little maths if i do it in code, and second i hit another stumbling block first...

the second stumbling block is the difference between timestamps from a windows system using the FAT file system and the NTFS file system. NTFS stores all timestamps from UTC+0, whereas FAT stores all timestamps depending on the timezone and DST settings of the system. so, the complication this arises is now as well as fetching the timestamp and doing some maths, i've also got to do a system call to fetch the file system type, if FAT then get the timezone offset from UTC+0 and do more maths to convert the timestamp to UTC+0.

however the bigger problem is whether moving files around from system to system actually converts times to the timezone of the system it's then on.

also, now that the script is going to use 'setoverwrite ifnewer' to decide whether to overwrite files when installing, how does this problem introduced by NTFS filetimes affect this, or does NSIS grab the timezone settings of the machine the release is compiled on so it can compensate for the difference when doing the 'ifnewer' check...

the prerequisite check is getting a bit complicated, so i'm going to look at other easier solutions, however i still need to investigate the above somehow because it could affect the 'ifnewer' check.

the other solution i'm going to look at was suggested by TheGratefulNed above, as is extremely simple, we simply tack a number onto the filenames of the rti files and increment it with each release. just a three digit number would provide 1000 releases, we can do this individually for each line of releases so the number of different releases (2k/xp/2k3/vista/etc) have no effect. lets say we have 12 releases a year though and allow for say an average of 3 re-releases a year (mistakes and releases have to be released again), then 1000 / 15 would do us good for 66 1/2 years, and current windows editions are definataley going to be history by then.

the only issues, with dynamic file names, will i be able to get the script to find a future rti file with an unknown number attached, and will people compiling releases remember to increment the number with each new release.

one of today's releases failed to install due to not meeting prerequisites. KB935966 requires C:\WINNT\system32\dns.exe to be there. if a solution to the prerequisites problem is getting too complicated maybe a compromise solution can be found. can AP look at the error code returned by update.exe and at the end of installing all updates list those that failed due to prerequisites not being met? this would be an improvement as at the moment AP doesn't give any indication why an update failed.

@theblazingangel here is C:\WINNT\KB935966.log

[KB935966.log]
0.320: ================================================================================
0.320: 2007/05/08 22:53:31.677 (local)
0.350: f:\50a4f3de5b36b6bd33\update\update.exe (version 6.2.29.0)
0.380: Hotfix started with following command line: 
0.510:  C:\WINNT\system32\dns.exe is Not Present
0.510: Condition Check for Line 1 of PreRequisite returned FALSE 
0.550: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
0.550: KB935966 Setup encountered an error:  Setup cannot continue because one or more prerequisites required to install KB935966 failed. For More details check the Log File c:\winnt\KB935966.log
0.590: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
0.590: Setup cannot continue because one or more prerequisites required to install KB935966 failed. For More details check the Log File c:\winnt\KB935966.log
8.161: Message displayed to the user: Setup cannot continue because one or more prerequisites required to install KB935966 failed. For More details check the Log File c:\winnt\KB935966.log
8.161: User Input: OK
8.161: Update.exe extended error code = 0xf0f4
8.161: Update.exe return code was masked to 0x643 for MSI custom action compliance.

im running w2k

@gandolas checking for dns.exe should be ok..though there may be more than that as a prerequisite. the log file states that it failed the check for line 1 on my w2k setup so this implies there may be further checks. i can investigate further in a test environment..create a dummy dns.exe and run the update and see if there are more prerequisites. but i think just checking for dns.exe does the trick.

I don't know if any other user had this problem, but after installing the latest Cumulative Security Update for Internet Explorer 6 (KB931768) (from May 2007), the Windows Update site says that i need:

- KB867801 from 7/30/2004

- KB832894 from 2/2/2004

all of them also Cumulative Security Update for Internet Explorer!!

They have broken something with the latest hotfix...

Edited by gandolas

yes posted in The Hotfix Depot thread:

Windows Update found 3 new updates on W2K today (Tue. 8 May):

KB867801

KB931768

KB890830 Malicious software removal tool May 07

IE6.0sp1-KB931768-Windows2000-x86-ENU.exe installed fine. then did a restart as required.

MRT also installed fine.

but on running IE6.0sp1-KB867801-x86-ENU.exe it show message box "This update requires IE 6.0 service pack 1 to be installed" ?? i have IE 6.0 sp1 as my system is fully up to date. has WU given wrong info?...uncompressing IE6.0sp1-KB867801-x86-ENU.exe shows files dated 7 July 2004...an old update?

Two critial updates are released today, WU found 2, but kb867801 didnt work for me..

the update im missing ive found..Windows2000-KB935966-x86-ENU.EXE WU didnt list it...

WU didnt list KB832894...cumulative update thats what KB931768 is! ms have messed up here...

see recent post by @blaze, look like ms haven't included all updates in the latest IE6/7 cumulative update.

then again maybe its just a WU detection problem..

Edited by glutton4sw

I'm sure we could have sent you an outdated (February) version but we didn't. You'll receive May's version, don't worry. And I'm sure you were contacted by SteelTrepid (the CD sales manager) that explained you the situation. If you wanted your money back, you would get it.

You have to see that we are under a great stress, everyday people asking/demanding us to release a new version. If we don't release them, it's because they aren't ready.

And many times people forget that we aren't Microsoft. It's not our obligation to provide you this package. We do it because we want to help people, but many people don't realize that.

/rant off

Same as before:

Hotfix started with following command line: 
C:\WINDOWS\system32\snmp.exe is Not Present

so you have to create the following 2 bottom lines in the module:

(...)
[SystemComponents]
InternetExplorer=ANY
WindowsMediaPlayer=ANY
DotNetFramework=ANY
WindowsInstaller=ANY
MSNMessenger=ANY
ComponentFile=system:\snmp.exe
ComponentVersion=ANY
(...)

:)

Hi I am a new member to this forum but have been on this sight a lot for information and have used autopatcher for a while now so I would like to thank blaze and the others who have worked hard on this project, you sure have saved me many many hours of work. Its kind of funny actually, I wanted to do this very same thing and decided to look to see if it had indeed been done and what do you know I found autopatcher. I was like thank God I don't have to do all this work haha. I am a computer tech and I do some programming using the dot net framework so if I can do anything at all please by all means let me know. I think it is wonderful what yall are doing. Anyways thanks for the hard work and dedication to something you choose to do on your own. You may run into problems and what not and impatient people, but there are a lot of very appreciative folks out there like me. Take all the time you need because I know the outcome is going to be great and will save me many more hours of work. Job well done guys...

David Wilkerson

Blaze, you may want to look at this before the next release.

It fixes the problem with MSVHOST taking 100% CPU resources (Windows Update)

(this problem has been getting worse for the last 2 months)

It will ship on May 22nd but is being issued on MSDN right now.

I downloaded and installed without problem and it fixed the CPU usage.

http://support.microsoft.com/?kbid=927891

http://download.windowsupdate.com/v7/windo...Agent30-x86.exe

@rscomp, already got it

@everyone

ok, a few days ago a member of the autopatcher office team contacted me about something which resulted in me making another change to all the modules in the new releases, so that took a bit of time. i'm glad though because i found i hadn't made a previous change to modules in the addon packs which would have broken them.

then i found a problem with my install script when run in silent mode, i didn't realise that most of my functions were being skipped so i spent a day re-writing code to fix the problem and really improved a chunk of code in the process.

after that i decided a message box was definitely not good enough for prerequisite error messages so i've designed a custom page for that and done a bunch of work towards the framework of the prerequisite check.

tomorrow i need to spend loads of time driving because i'm retaking my driving test the day after. then the day after that it's my 21st and i have relatives coming over. i will be working on autopatcher at every opportunity i get though as usual.

all i have left to do is complete this darn prerequisite check and then it's sorted.

but it's not so easy. firstly i have realized that whatever solution i go with it needs to involve a version number of some sort, i was going to go with a three digit number that could be incremented with each release, but now i've realised thats no good because someone could easily make a mistake and to get the number of a previous release you would need access to the previous release which isn't good for someone taking over from someone else. instead i will go with an eight digit number representing the year, month, and then version e.g. 20070502 would be used for a release created in year 2007, month 05, and this is the second (or maybe third) version/edition meaning the user had to re-release it (e.g. like gandolas' vista release this month).

anyway, the bigger problem is what the solution will be

1) timestamps i previously ruled out because of issues surrounding NTFS/FAT timestamp conflicts, that however no longer seems to be an issue after all, buts it's still a pretty complex solution anyway so i'm ruling it out.

2) put a version in the filename of rti files

3) put a version in the summary field of rti files

4) put a version in separate .ver files, one will accompany each rti file

i won't go into much details, but choosing which of the remaining three solutions to go with is really complicated because it has such a big impact on the script, as well as the person creating the release. all solutions have good and bad points. once i know what i'm doing i should be able to hack it in and finalise the script within a couple of days.

i'm still extremely confident that it will be released this month and fairly soon.

Good luck with your driving test, took mine in Manchester 41 years ago, LOT less traffic.

Relax and pass, that's what I was told.

Almost failed my test here in the USA, left the test station driving on the left hand side, the tester laughed and said "we drive on the right hand side here, give it a try"

All the best.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft Flight Simulator's City Update 15 enhances Midwest cities by Pulasthi Ariyasinghe The third major city update of the year has landed for the original Microsoft Flight Simulator and the 2024 release. The latest drop is upgrading the visuals and regional accuracy of three metropolitan regions in the American states of Illinois, Minnesota, and Wisconsin. The 15th city update is adding eight new areas of interest that have been enhanced with high-fidelity TIN (triangulated irregular network) surface texturing in the mentioned regions. The free update highlights Chicago, Elgin, Cicero, and Arlington Heights in Illinois, as well as Minneapolis, St. Paul, Bloomington, Duluth, Brooklyn Park, Woodbury, Lakeville, Plymouth, and Blaine in Minnesota. In Wisconsin, the development has also upgraded the lands and buildings of Milwaukee, Madison, and Racine. The update lands just as one of the world's largest enthusiast flight simulation conventions, FlightSimExpo, kicks off in downtown St. Paul, Minnesota, on June 14. The Flight Sim development team's 40-minute keynote at the event can be watched here. At the same time, Microsoft is bringing the 6-seat, single-engine, multi-use light civil airplane Piper M600 into the game as a part of its Expert Series 2 program. This premium plane can be purchased from the in-game marketplace for $24.99. City Update 15: The United States Midwest is now available in Microsoft Flight Simulator, as well as the newer Microsoft Flight Simulator 2024, as an optional download. It can be accessed across Steam and the Microsoft Store for PC, Xbox Series X|S, and PlayStation 5, as well as Xbox and PC Game Pass subscriptions. Xbox One, mobile, and PC players can also jump into the new content using Xbox Cloud Gaming if they have a Game Pass Ultimate membership. The game must be updated to the latest version to download this free update from the in-game marketplace.
    • Five things you might have missed during Apple's WWDC 2026 by Aditya Tiwari Image: Apple Apple's annual developer event, WWDC 2026, happened from June 8 through June 12. We have already covered several new features and updates that the iPhone maker unveiled during the official keynote. Apple took Google's help and finally announced the upgraded Siri AI personal assistant, which now comes with an app. Moreover, a truckload of Apple Intelligence features took the center stage. That said, this year's WWDC is a bit different, and you might have noticed or missed the following stuff: Apple's ongoing unification of platforms Image: Apple One thing Apple is widely known for is its seamless hardware-software ecosystem. The company added a new chapter in 2020, when it began the Apple Silicon transition and launched macOS 11 Big Sur with native ARM support. Some major changes happened last year as well, when Apple renamed all of its operating systems to version 26 and introduced the Liquid Glass design language. Until WWDC 2025, Apple keynotes had dedicated segments for iOS, iPadOS, macOS, watchOS, and other operating systems, in which the company discussed each in detail. The WWDC 2026 keynote was different, and Apple allotted most of the screen time to Apple Intelligence and Siri. It didn't even publish separate press releases on its website for different operating systems. While it might seem surprising at first, it shows how Apple plans to move forward with its software ecosystem. Be it the Liquid Glass changes, child safety updates, or other features, they are mostly rolling out across multiple platforms. In other words, Apple is slowly blurring the line between its operating systems and achieving feature parity wherever possible. It's easy to rule out that someone in Apple's marketing team forgot to press the publish button. Everything is a calculated move when it comes to a company like Apple. Putting Apple Intelligence left, right, and center hints that the OS itself is no longer the product anymore. It's Siri, not Pepsi Time and again, various Apple products have been compared to unrelated things and turned into meme material. You might have heard about the "cheese grater" Mac Pro or the "trash can" Mac Pro, to name a few. It's Siri's turn this time. The upgraded AI assistant got a fresh logo, and people have started comparing it with Pepsi. There are other contenders, such as the Sony Ericsson logo and the Yin and Yang symbol. Shot on iPhone. Edited on Mac Image: Apple Apple has been putting the iPhone's camera muscles to the test on various occasions. Even NASA astronauts took it to Space earlier this year and captured some out-of-this-world photos. Recently, Apple TV streamed the first major live sporting event shot entirely on iPhone 17 Pro: an MLS match featuring the LA Galaxy vs. the Houston Dynamo FC. The 'Pro' iPhone has also been used to shoot Apple events in recent years. It's "Scary Fast" Mac event in 2023 was among the earliest attempts, and the tradition trickled down to the WWDC 2026 keynote, which ended with the tag line "Shot on iPhone. Edited on Mac." It's unsurprising to see Apple flexing the camera capabilities of its Pro models, especially when it has been baking professional-grade features, including ProRes RAW and Genlock. Hints for the foldable Apple has been sitting on the foldable iPhone for so long. There is still confusion over when the company will make it official. A recent report said that the iPhone Fold might get delayed as Apple is struggling to perfect its hinge mechanism. But Apple has been dropping hints here and there. A developer dug into the iOS 27 beta code and found internal references about device folding states. As verified by Macworld, the code includes references to "foldState" and "angleDegrees" internal status values, which are apparently designed to tell apps if a device is folded and at what angle. As of now, no other Apple device uses these states. The publication also found internal code suggesting Apple has been testing a device with both Touch ID and Dynamic Island, a combo that doesn't exist today. Last event as Apple CEO Image: Apple Tim Cook's bond with Apple is now almost three decades old, having started in 1998 as the SVP of Worldwide Operations. Back in August 2011, Steve Jobs stepped down as Apple CEO months before his passing, and Cook took charge. Now, the baton has been passed to the hardware chief, John Ternus, who will take over the role on September 1. WWDC 2026 is the last major Apple Event for Tim Cook as CEO. We have seen so much during Cook's tenure over the years, much of which defines Apple as we know it today. From new hardware product lines like Apple Watch, AirPods, Apple Vision Pro, and Apple Silicon, to boosting Apple's services business with Apple Music, Apple TV, Apple Pay, Apple Arcade, Apple Fitness+, Apple Care One, and more. That said, the first developer betas for Apple's latest operating systems are now available. You can check if your device is supported on iOS 27, iPadOS 27, macOS 27 Golden Gate, watchOS 27, and other platforms. What's your favorite feature that Apple announced this year at WWDC 2026? Tell us in the comments.
    • Trailer park trash “sport “, fits the current White House
    • KataLib 5.3.0.0 by Razvan Serea KataLib is more than just a music player — it's a complete audio suite designed for music lovers and creators alike. It combines a powerful audio player, a flexible metadata editor, a capable audio converter, and a music library manager into one streamlined application. Core Features: Audio Player Enjoy seamless playback of virtually any audio format or even streaming video files. DJ Mode lets you mix tracks with manual or automatic crossfades. You can also load and save WinAmp-style playlists for quick access to your favorite sets. Audio Converter Convert between a wide range of audio formats effortlessly. Trim or normalize your output automatically, and even extract audio from streaming video sources. Ideal for preparing files for different devices or platforms. Metadata Editor View and edit ID3v2 tags and other metadata. Batch edit multiple files at once, and fetch missing information directly from the MusicBrainz database. You can also apply or update album art with ease. Music Library Manager Organize your entire audio collection, search across tracks instantly, and download cover images from the internet — or use your own custom artwork. KataLib makes it easy to keep your library tidy and enriched with useful info. Supported Formats: KataLib supports a wide range of both lossy and lossless audio formats: Input: OPUS, AAC, FLAC, M4A, MP3, MP4, MPC, APE, AIF, MKV, AVI, MOV, FLV, WEBM, Ogg Vorbis, WAV, WAVPack, WMA, AC3, OGA, MP2, MPGA, MPEG, DTS, M4B, DSD (DFS) Output: OPUS, FLAC, M4A, MP3, Ogg Vorbis, WAV Under the hood, KataLib uses the trusted FFmpeg engine for audio conversion and media playback, ensuring compatibility with virtually all mainstream media formats. KataLib 5.3.0.0 changelog: Added Option to select the Zoom level of the Oscilloscope visualizer. The taskbar button of the app now displays the progress of its processing tasks. The metadata text of the Visualization Video can now be aligned by the user. We can now reorder the order of the Visualizers and Metadata, in the Visualization Video Setup dialog, by removing any item and adding it again. It will be added at the end. Changed The font size of the Visualization Video can now be more than 30 points. Updated yt-dlp library to version 2026... Fixed Opening the Visualization Video Setup dialog could fail if the settings were wrong. Sometimes there were false duplicates in the Rename Tracks dialog. Tracks without metadata appeared without title in the Recent menu. Download: KataLib 5.3.0.0 | 90.0 MB (Open Source) Links: KataLib Home Page | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      +Edouard
      173
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!