MSFN Forum: Windows XP Updates Downloader - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Windows XP Updates Downloader This is a small utility that I've created that allows you to downl Rate Topic: ----- 1 Votes

#1 User is offline   dziubek 

  • Friend of HFSLIP
  • PipPip
  • Group: Members
  • Posts: 203
  • Joined: 26-November 04
  • OS:XP Pro x86

Posted 21 January 2006 - 02:55 PM

@all
http://www.msfn.org/board/index.php?s=&sho...ndpost&p=451227

Multi-lingual interfaces and downloads will be available in the future.


@TommyP
See on this post:

http://www.msfn.org/board/index.php?s=&sho...ndpost&p=451437


#2 User is offline   tommyp 

  • MSFN Addict
  • Group: Developers
  • Posts: 1,664
  • Joined: 09-January 04
  • OS:none specified
  • Country: Country Flag

Posted 21 January 2006 - 04:33 PM

I saw that utility the other day. I like Nuhi's idea of using that mssecure.cab. I'm afraid I won't be able to script it in. It's beyond my knowledge base. However, I do accept tested "plugins" for those who generate them. By tested, I mean code that is tested so I can drop it into HFLSIP. If someone submits a script, I would prefer something that does not need tons of plug-ins. My goal is to keep HFSLIP as lean and mean as possible.

#3 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,569
  • Joined: 14-August 04

Posted 21 January 2006 - 08:39 PM

View Posttommyp, on Jan 21 2006, 05:33 PM, said:

However, I do accept tested "plugins" for those who generate them. By tested, I mean code that is tested so I can drop it into HFLSIP. If someone submits a script, I would prefer something that does not need tons of plug-ins.

Having never used HFSLIP, I don't quite follow. What exactly do you mean by "code you can drop into HFSLIP"? I'd love to extend support to all willing parties.

#4 User is offline   tommyp 

  • MSFN Addict
  • Group: Developers
  • Posts: 1,664
  • Joined: 09-January 04
  • OS:none specified
  • Country: Country Flag

Posted 22 January 2006 - 06:19 AM

jcarle - In simplest terms, HFSLIP is a commandline utility to rip apart the hotfixes and slipstream them into an installable source. If you generate a commandline (cmd) file that does something that HFSLIP doesn't currently do, I can add that into HFSLIP. Or, another possibility is for HFSLIP to call on an EXE so the EXE can do its magic silently (i.e. no clicking or minimal clicking required). Your hotfix downloader seems really promising (and pretty cool I must add). I kind of prefer to have everything pretty much silent so the user would run HFSLIP answer a few Q's and come back 10 or 15 minutes later for the slipstreaming to complete. Here's some ideas to throw out there. Constructive criticism is appreciated.

HFSLIP call XPDOWN (your utility; an exe file) with commandline switches
(switches could be to optionally delete old hotfixes, update new hotfixes from HF folder, redownload all fixes, etc)
HFSLIP or XPDOWN to see if an internet connection is available
XPDOWN does its magic (if it sees an internet connection it will automatically update the files)
Once XPDOWN is complete, it exits silently
HFSLIP resumes dissecting and slipstreaming the hotfixes into the source.

If XPDOWN can support 2k, xpsp1, xpsp2, 2003 and 20003sp1 it would be really cool. For 2k there are plenty of variations... IE5 or IE6; DX9C. I haven't tested your utility, but who is the "keeper" of the overall latest and greatest hotfix list?

#5 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,569
  • Joined: 14-August 04

Posted 22 January 2006 - 08:18 AM

Well, I used this thread as a starting point for the XP critical updates. I'm currently taking about the XML structure that's used by the Microsoft Baseline Security Analyzer since it downloads an XML file containing every hotfix ever published for every microsoft products all the way back to Windows 98 Gold. If I can make head or heels from the contents, then I'll be able to include hotfixes for Windows NT, 2000 and 2003 with ease.

I did take note of the command line options you suggested. Seeing as you don't need direct integration, I just need to make the command line options diverse enough to give the HFSLIP crowd the options they need.

#6 User is offline   tommyp 

  • MSFN Addict
  • Group: Developers
  • Posts: 1,664
  • Joined: 09-January 04
  • OS:none specified
  • Country: Country Flag

Posted 22 January 2006 - 10:48 AM

Thanks dude and thanks from the HFSLIP folks. I'll stay in tune with your other thread for any updates. We also have hotfix lists that are stickied on this subforum if it helps.

Keep up the good work.

#7 User is offline   tzeentch 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-July 06

Posted 19 July 2006 - 11:20 AM

Hello everyone.

I've just come across this and one other topic about automatically downloading latest updates from MS.
I don't know if you're interested but I've written a tool that actually does that silently. It's actually a script. You just have to edit it at the top to specify where the downloaded hotfixes are to be put and maybe few other things (ie. if you use proxy etc). The script then downloads the list of updates from the topic on this forum (YOUR ONE STOP POST FOR WINDOWS CRITICAL UPDATES) and parses it using some regexp hacks (with sed and grep) and then downloads each hotfix from MS. It is quite mature, I use it myself to refresh my repository once in a while in my company.
I think it could fit your needs if I understood them correctly.
Anyway, let me know, if you're interested and I'll post it here. Everything the script uses is included (wget, grep, sed).

#8 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 722
  • Joined: 22-January 05

Posted 19 July 2006 - 01:04 PM

I'm interested. Thx.

#9 User is offline   zartrix 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-April 06

Posted 19 July 2006 - 03:35 PM

View Posttzeentch, on Jul 19 2006, 02:20 PM, said:

Hello everyone.

I've just come across this and one other topic about automatically downloading latest updates from MS.
I don't know if you're interested but I've written a tool that actually does that silently. It's actually a script. You just have to edit it at the top to specify where the downloaded hotfixes are to be put and maybe few other things (ie. if you use proxy etc). The script then downloads the list of updates from the topic on this forum (YOUR ONE STOP POST FOR WINDOWS CRITICAL UPDATES) and parses it using some regexp hacks (with sed and grep) and then downloads each hotfix from MS. It is quite mature, I use it myself to refresh my repository once in a while in my company.
I think it could fit your needs if I understood them correctly.
Anyway, let me know, if you're interested and I'll post it here. Everything the script uses is included (wget, grep, sed).


I´m interested Too.. please post it!
Thanks in advance!
zartrix

#10 User is offline   Kiki Burgh 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,426
  • Joined: 06-January 06

Posted 20 July 2006 - 03:33 AM

looks like HFSLIP will be made more powerful due to interests ... let's raise the bar :) looking forward to this ...

#11 User is offline   tzeentch 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-July 06

Posted 20 July 2006 - 05:12 AM

Hmm, there seems to be a small problem though. I don't know if it's intentional or by mistake but it seems that now you have to be logged on to read anything on this forum. In which case the script cannot really download the updates list :o
All it's getting when trying to access the page is something like "Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below if available." :blink:
Do you know anything about that? I've sent an email to the forum admin but haven't got any response yet.
Or maybe you know of any alternative online location that hosts a current list of updates?

#12 User is offline   Kiki Burgh 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,426
  • Joined: 06-January 06

Posted 20 July 2006 - 09:23 AM

indeed they need to be logged in so they can view our forum ... specifically HFSLIP under Other Member Contributed Projects ... HFSLIP doesn't even show up when not logged in :(

#13 User is offline   Camarade_Tux 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,760
  • Joined: 22-May 05

Posted 20 July 2006 - 11:44 AM

See this topic : http://www.msfn.org/...showtopic=78928

#14 User is offline   Super-Magician 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 970
  • Joined: 15-January 06

Posted 20 July 2006 - 05:14 PM

View Posttzeentch, on Jul 20 2006, 07:12 AM, said:

Hmm, there seems to be a small problem though. I don't know if it's intentional or by mistake but it seems that now you have to be logged on to read anything on this forum. In which case the script cannot really download the updates list :o
All it's getting when trying to access the page is something like "Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below if available." :blink:
Do you know anything about that? I've sent an email to the forum admin but haven't got any response yet.
Or maybe you know of any alternative online location that hosts a current list of updates?

Tomcat76 has a list that is hosted on his own server. You might want to ask him about it. The links are in his signature.

#15 User is offline   tzeentch 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-July 06

Posted 21 July 2006 - 09:09 AM

OK, it's bad. Microsoft has just made some changes to their hotfix download pages which break the script badly. It seems more and more hotfixes now require validation (genuine advantage or whatever you call it). I was looking into it today and I must say it seems pointless parsing the pages the way I've been doing until now.
Although I've found another way. Microsoft released this thingie they call Microsoft Baseline Security Analyzer. It actually contains the code from a tool called Hfnetchk (also by Microsoft). And this tool is used for what? Yes, yes it can check which hotfixes you have, which you don't have and offers you a way to download them and install. So I thought, hmm, I wonder what way MS goes about checking these things and finding download locations for the hotfixes. And it turned out that this tool actually uses an XML file (packed in a cab, the XML itself weights around ~3MB) which contains information regarding every hotfix for every product ever released by MS (may be wrong, but I even noticed W95 in there :w00t: ).
I'm gonna take a good look at this file and see what can I do with it. I already noticed what way is it structured, and how would a program need to look to get the download location and I think it can be done.
If anyone has some experience with this file let me know.
Oh by the way the file name is: mssecure.xml and it's packed inside: MSSecure_1033.cab (that's english version) and you can get it here: http://go.microsoft....k/?LinkId=18922 if you want to have a look.

Regards

#16 User is offline   Super-Magician 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 970
  • Joined: 15-January 06

Posted 21 July 2006 - 09:44 AM

All right, all right, you don't have to explain to us your procedure ;). Yes, there is a tool called MSBA. Also, HFNetChk was not created by Microsoft. If you look, you'll find that out pretty quickly.

#17 User is offline   Camarade_Tux 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,760
  • Joined: 22-May 05

Posted 21 July 2006 - 10:24 AM

And you can download the same xml file from the hfnetchk's website; same format as MS's official one afaik.

#18 User is offline   tzeentch 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-July 06

Posted 24 July 2006 - 11:22 AM

View PostSuper-Magician, on Jul 21 2006, 04:44 PM, said:

All right, all right, you don't have to explain to us your procedure ;). Yes, there is a tool called MSBA. Also, HFNetChk was not created by Microsoft. If you look, you'll find that out pretty quickly.

Hehe, you're right, I was too fast in my assumption :lol:

Anyway, I have an idea, I have the file (thanks for the second source Camrade_Tux :) ), I'm starting coding as soon as I get some spare time.

#19 User is offline   tzeentch 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-July 06

Posted 08 August 2006 - 02:08 PM

To everyone interested:

The program/script is finished. Wow it took some time but considering my recent schedule I'm happy that I could find time to finish it.

The package is self contained and you can just unzip it anywhere you want.

Now. Most probably you will want to configure some of it's behaviour. Depending on factors like: which version of windows do you want updates for, do you use a proxy to connect to internet, etc. I've included a short readme file so be sure to read it. As for now configuring the script means opening it and changing some variables in the beginning. It is well commented and everything should be easy enough. If you'll think it'll be better, I can modify it to use an external config file.

Anyway, grab it, try it, tell me what you think :D

Uh, just one question though. How do I upload the file to MSFN? I can see some storage folders in my control panel but can't seem to find a control to upload it. Or will I just attach it to the post here?

#20 User is offline   tain 

  • Cyber Ops
  • Group: Super Moderator
  • Posts: 3,443
  • Joined: 24-September 05
  • OS:none specified
  • Country: Country Flag

Posted 08 August 2006 - 02:13 PM

You can attach it here or I'll host it for you if you email it to me at tainspamatyahoodotcom. Do NOT remove the spam :)

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy