Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Hotfix Slipstreaming

- - - - -

  • This topic is locked This topic is locked
92 replies to this topic

#26
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
@XtremeMaC: The RollUp gets the normal HFTYPE1 treatment: it is nothing more, nothing less than a Type I Hotfix. Nothing will be overwritten, and it does not matter the order in which the fixes are run, as long as you include QCHAIN.EXE in the HFTYPE3 directory. (In short, it goes in HFTYPE1.) Do tell the results. Thanks.

@visaversa: I looked into your problem from another thread, and you have too much stuff in the directories. I will write a detailed response to your post later tonight, and post an updated version for you to use, with your requested modifications.


How to remove advertisement from MSFN

#27
visaversa

visaversa

    Face it...

  • Members
  • PipPipPip
  • 428 posts
GreenMachine,

Thanks for the code...ill try it somewhere today...
True, i think it’s to slow for most of people.

The only reason why I choose for an optional script is to run some thing quicker by skipping things already done…but that’s a matter of opinion I guess.
I do really like your script because it’s easy to see what it does in each step. Nice work…

Yesterday I tried without the iis components and strangely it gave me the same error…Can’t understand why yet.
Could it have to do with permissions on the system drive? Anyway I am sure we find the problem, as always it will be something simple we overlooked. Before I continue to test, I have to finish of an other project.

Thank you for sharing your knowledge and time for investigating this problem.

W

#28
visaversa

visaversa

    Face it...

  • Members
  • PipPipPip
  • 428 posts
GreenMachine,

Each day i see some progress in the script...good i like that.
Let us now whenever it ready to test.
W

#29
Tbone2

Tbone2

    Member

  • Members
  • PipPip
  • 268 posts
Great job GreenMachine

Just a few problems.

1 none of the msi hotfixes installed...no big deal, all but dotnet one :)

2 per your list Current HotFixes and Updates Q816093.EXE seems to be a type 1 not 2...it also did not install...gave error saying what switchs could be used

Now this could be just me :rolleyes: not the greatest at this stuff.

I have moved Q816093.EXE to type 1 and will retest but all else works great.

BTW where do i put the reg tweaks at ?

I would like to thank all that have posted on this board I have learned alot....Also I have tried every version of unattended installs from webmedic to gosh to Aaron to you and have enjoyed them all...each one is a work of art.

I have nothing bad to say about any of the ways that has been posted each has good and bad points.

Looking forward to the next test :D

Thank again

#30
Tbone2

Tbone2

    Member

  • Members
  • PipPip
  • 268 posts
I do beleave I found my mistake.
Putting msi exe's in ROX2M directory ...doh
also putting Q816093.EXE in the hotfx1 directory...seem this works ...so far :rolleyes:

Found where to put the .reg files too...wow reading really does help :D

will let you know how it goes ....installing now

also will time the install...I know it will take a little over a hour on this 1.1 gig...slow a** system but thats ok.

Thanks to all that posted

Edit post

Install took 61 mins...only error i got was KB819639.EXE.... i don't think i need this one?

and Windows update shows everthing is updated

Thank you :)

Q828026 - Update for Windows Media Player Script Commands, replaces Q819639
again i didn't read....someone slap me :D

#31
Tbone2

Tbone2

    Member

  • Members
  • PipPip
  • 268 posts
final install with new cd no errors all update are installed :)

thanks GreenMachine

#32
ipierce

ipierce
  • Members
  • 4 posts
GreenMachine, it looks like your links for the script are not on the site any more.

I would love to get my hands on this script since it fixes a big problem -- I want to use RIS to roll out Windows XP, but post-SP1 hotfixes modify ntoskrnl.exe and so I can't create a RIS image unless I can either slipstream the hotfixes into my I386 folder, or the method used here -- just put all the hotfixes in a script to run after setup.

Anyway, when I try any of GreenMachine's links, I get 404.

#33
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
Due to a MSFN change, and un-updated links. Sorry.

http://greenmachine.msfnhosting.com/

It you have any specific questions, please feel free to PM me.

#34
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts

I want to use RIS to roll out Windows XP, but post-SP1 hotfixes modify ntoskrnl.exe and so I can't create a RIS image unless I can either slipstream the hotfixes into my I386 folder, or the method used here -- just put all the hotfixes in a script to run after setup.

I think you are a little mistaken about this. Let me know what your problem is in a little more detail and maybe I can help you. :)

#35
ipierce

ipierce
  • Members
  • 4 posts
Okay, here's the situation. I'm rolling out XP. I want to use RIS for speed and so everyone gets the same build. I want the XP that gets installed to have as many of the programs we'll be using as possible, but for right now I'm stuck just on the Microsoft stuff.

I ran RISETUP on my server and had it copy over the install files from my Windows XP CD-ROM. The CD has service pack 1 applied already. (It's a gold volulme license key CD from Microsoft, not something I slipstreamed myself.)

I boot a computer using the RBFG.exe boot disk. The machine finds the RIS server and XP gets installed.

I go to the newly created machine and run Windows Update to get the latest hotfixes, .NET framework, stuff like that. At this point, I've got XP SP1 with all the latest updates and Microsoft software (DX9, .NET framework, etc.) Before going any further I want to put an image of that system back up on my RIS server.

But I can't. I run riprep from the RemInst share on my RIS server, and I get the error message "The RIS server to which you are attempting to post this installation does not have the correct CD-based image..." This error is discussed in MS KB article 324573 -- http://support.micro...kb;en-us;324573

Some hotfix I installed modifies ntoskrnl.exe. The version on my RIS server is 5.1.2600.1106 and the version on my new XP box is 5.1.2600.1151. Because of the mismatch RIS won't accept the OS image. (I'm not sure which hotfix modifies ntoskrnl.exe, maybe it would be easiest to just not apply that one and run it in a script after the OS is installed...)

My plan was to create an install of XP that's got all the latest hotfixes applied. This looks to be extremely time consuming. I'm thinking now that the easiest thing will be a batch file to run Qchain and all the hotfixes I want. As new hotfixes come out, I'll just need to modify by batch file and make sure the hotfix executable gets into the right folder.

It's very annoying that I can slipstream a service pack, but can't (easily) slipstream a hotfix. The Microsoft suggestion described in http://www.microsoft...p1/hfdeploy.asp involves expanding the Qxxxxxx.exe hotfixes, finding the latest binaries, and replacing the compressed binaries in my RIS i386 folder with the ones from the expanded hotfixes. Then you have to make a list of all the .cat files as well. For twenty-two hotfixes, that's WAAAAY too much work. I'm getting paid by the hour but I need to get this job done too :)

Thanks for taking the time to read all this! And thanks for fixing your link GreenMachine. Mabye my answer is there.

#36
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
The easy fix is to slipstream the hotfixes. You do not need to run them manually once per machine, and the files you mention will be up to date. Though I do not use RIS, the script I use does have an option to just slipstream the hotfixes. The script is based upon the document that you quote, and all the steps in that document have been automated. For good measure, I also update the CAB files, and the ntdll.dll in the systems32 subdirectory. Though you may need some minor modifications for RIS, this is a valid solution to the problem you describe. Again, if I can help you specifically with this script, PM me.

#37
ipierce

ipierce
  • Members
  • 4 posts
Coolio, thanks GreenMachine. I'll have a go and see what I can do. Also, since the links have changed, you'll probably want to update the README.TXT that comes with XPCREATE. It's got the old link.

#38
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
GreenMachine: RIS is a totally different beast, and because it's in a corporate environment and there is a lot of licensing you have to deal with, hacking up the files is not really an option and I definately wouldn't recommend it.

ipierce: The reason I asked you about RIS is because I use it myself. I have a technique that I use that does not require you to use RISPREP. I do not like the idea of using anything other than a base image because every time you need to change something you have to redo the image. You can find a HOW TO for RIS that I am working on currently [url="http://www.anythingit.org/home/modules.php?name=Forums&file=viewtopic&t=10&sid=c26dd91a436de4e3fbd653369eea9891""]here[/url] on my website. It is not completed yet, but there is a lot of information. There is a complete section for RIS as well as a section for automation.

To give you an idea of what I do... I use a base Windows image with no service packs installed. If you have tried to slipstream SP1 you have probably run into the problem with BSOD on the boot to GUI mode. This is caused by the lack of SP4 on your domain controller. It's possible that you haven't tried this, or that you aren't using 2000 Server as your domain controller... I was just pointing that out. Anyways... I have edited the Client Installation Wizard screens to allow for customization, asking versions of different software that you might want to install, and questions such as PC type (laptop, desktop...) and remote locations (we have 14). Using a method I devised (Microsoft and everyone else I have spoken to said it wasn't possible) I pass those variables to the registry for use later... During the GUI Mode setup when cmdlines.txt runs I install the VLS package for DirectX9.0b as well as our IEAK package and any HKCU keys. On GuiRunOnce I have it launch a file that installs SP1, places an item in the RunOnce and reboots the PC. Second boot the RunOnce item runs and installs all hotfixes (rollup, critical, recommended), places another item in the RunOnce and reboots again. Third reboot the RunOnce installs all of our standard software that goes on every PC and then launches a script that pulls the variables passed in the CIW and installs the specified versions, places another item in RunOnce and reboots again. Final boot RunOnce installs HKLM REG keys, moves the PC to the correct OU (dependant on the variable for remote location from the CIW), creates a log file locally and on the server, sets the local adminstrator password and cleans all of the temp files and folders off of the PC and reboots again.

I would be more than happy to give you a hand in setting something like this up. I love to help and RIS is my forte. :)

Later!

#39
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
Oh yeah... BTW... welcome ipierce! Just noticed you joined today.

#40
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
ipierce: I also wanted to mention... by using one flat image and scripting the whole thing you can use it for desktops and laptops and any other configurations you might want. SysPrep is limited with what you can do.

#41
ipierce

ipierce
  • Members
  • 4 posts
Well, I was able to get RIS to do what I wanted, by tricking it. If you read the stuff in the KB article 324573 you'll see that RIS checks the version of ntoskrnl.exe that you copied up from your Windows installation CD against the version of ntoskrnl.exe that resides on the machine you'd like to RIPrep and use for future images. If the versions don't match, the RIS server barfs and won't let you upload the image. (This to me seems like a pretty glaring flaw in RIS implementation, one that stems from the use of Single Instance Storage. SIS made sense when I couldn't buy a 78.4 GB HDD... now it's just using CPU cycles to save room on a NTFS partition that is in no way full. But I digress)

The upshot is that if you apply a hotfix that updates ntoskrnl, you can't stage that image back to the RIS server.

My solution: I went through the back door. I just replaced the original ntoskrnl.exe on the RIS server with the hotfixed ntoskrnl.exe from the workstation I wanted to RIPrep. Error bypassed :)

For what it's worth, I did use GreenMachine's XPCREATE application to create an ISO for Windows XP with all the hotfixes and optional components (.NET framework, etc.). I pointed RISetup to the I386 folder that XPCREATE made, and then rolled out a workstation using RBFG and pulled down the XPCREATE I386 image. The OS installed, and then all the hotfixes got installed. But the particular hotfix that updates ntoskrnl.exe didn't get slipstreamed into I386; it was run towards the end of Setup on the new workstation. So I still ran up against the original problem of mismatched ntoskrnl.exe on RIS server and new workstation. That's when I decided it would probably be much easier to make an end run around the whole hotfix process and just manually patch ntoskrnl.exe on my RIS server.

When installing from XPCREATE's I386 folder, all the hotfixes installed silently -- except for two. The first one is KB817778, and it threw an "invalid arguments specified" error. My guess is that it's not the type of hotfix (TYPE1, blue/white icon) that it appears to be based on its icon. Also, Q823718 asked if I wanted to reboot now; maybe it was miscategorized too. Based on the icon it's a TYPE2 but it wasn't completely "silent."

Thanks for your help with this project guys. Now I'm off to create an administrative install point for Office XP...(/me crosses fingers) and install that on my target machine. GreenMachine your XPCREATE is quite a piece of work and I'm glad I found it!

#42
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
Take it from me... You will spend much more time on administration of that then if you script a flat image. To each their own, I guess.

Glad you figured it out...

Later!

#43
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
The RoyalBox HotFix SlipStreaming Method has come a ways since I first started this thread, so I thought I would give a brief progress report.

Firstly, I've added the GuiRunOnce section to the CD creation process. Five types of files can be run from here:
- Type I Hotfixes
- Type II Hotfixes
- Switchless installers
- MSI installers
- MS Packaged MSI installers (in .EXE format)
This, combined with the OPK or MSFN repackaged versions of MDAC, WMP9 and DirectX allow the script to produce a CD that has zero recommended or critical updates showing at Windows Update, without the need to manually edit one single file (WINNT.SIF is generated by Setup Manager)

Secondly, the Type I hotfixes are now run using the /O /U /N /Z switches. The newly adopted /O switch decreases installation time dramatically. This switch has the side effect of disabling the OEM driver search that causes Type I hotfixes to take a considerable amount of time per hotfix if run from the SVCPACK.INF / CMDLINES.TXT portions of setup.

Lastly, for ease of use, I have integrated a primitive TUI menu, allowing the user to select different options or sections of the entire process.

The basis for this whole project is to be able to produce the most up to date XP CD possible, with as many outdated files as possible removed from the CD, and replaced with the updated file versions. Neither speed, nor disk space were major concerns.

There has been much debate about which Hotfix Slipstreaming Method is best, or truest, or biggest, or fastest. For this reason I have compiled a comparison chart of a few of the different methods presented on MSFN. If statistics, numbers and hard facts are your concern, check out the results HERE!

Happy Slippin'!

#44
baliktad

baliktad

    Stellar Underachiever

  • Members
  • PipPip
  • 155 posts
GreenMachine: Fantastic work on that comparison chart! It was really informative as I'm trying to work out what solution I like best. Generally I like to keep as "hands-off" the install source as possible to stay as close to the Microsoft-supported realm as I can. Blaster and Welchia, however have really pushed me into the slipstreamed hotfix world, and it's been a wild ride. Thanks for the info and keep up the good work.

#45
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
Thanks, baliktad. I gotta give credit to you, for tipping the scales in my favour with the /O thing. Who ever would'a thought!

I agree with you about staying as kosher (or orthadox) as possible. The slipstream only option I propose is simply an automated version of the process outlined by MS HERE and HERE. I consider that to be safe, even in a corporate environment.

#46
Przemek

Przemek
  • Members
  • 7 posts
Good Job GreenMachine.

I have any question ( to You, MSTest, gosh ? ):

is posibile any "upgrade" this comparison to MSTT (MSTest) method in two variants:

1) full slipstreaming hoffixes with this method

2) slepstreaming only: rollup (KB826939) - guide is simple ( thx gosh ! ) and MM2, WMP9 -guides was simple too ( thx MSTest ! ) and if is possibbile DX9b (a no seek simple) guide and rest of hotfix slipstreaming with RHSM method (because is fantastic script - thx to RoyalBox and You )

Przemek

Sorry to my English

#47
baliktad

baliktad

    Stellar Underachiever

  • Members
  • PipPip
  • 155 posts
Yeah, the hotfix installation and deployment guide does a wonderful job detailing what to do and Q814847 - well that's one of the reasons I stayed away from hotfix slipstreaming for so long. It's so much hand tweaking, which is of course prone to errors. In an ideal world, hotfixes would be written to support -s just like service packs so we could just slipstream them right in and let Microsoft take care of the hairy stuff. I hear there is something like this in the works for the Longhorn timeframe. Adding, modifying, and replacing components (like WMP/DX/etc) is supposed to be a piece of cake. We'll see I guess.

For now, I've slipstreamed RU1 into my XP SP1 CD for work and home using the MSFN guide. As I install XP in so many different situations, however, I've elected for now to keep the other hotfix installations in a separate batch file. I'm not so concerned about having a complete install with one click as I am automating the tedious tasks.

#48
GreenMachine

GreenMachine

    ineXPlicable

  • Developers
  • 3,062 posts
Thanks, Przemek.

The reason I doubt that I will update the chart to include a method such as MSTest's, is that it is simply too complicated for me. I am dead against editing any files by hand, and following the excellent and simple guides of Aaron exhausted my ability to follow directions. If you, or someone else, provides me with the type of files I included with the comparison chart, I could probably produce a CD to complete the chart in terms of speed and CD size.

In terms of a guide for the RHSM, I will work on that ... However, bear in mind that it is basically a "turn-key" script, so the only user intervention required is dropping the right files in the proper directories. I have a page on the site, Current Hotfixes, where the patches and corresponding directories are listed. The only user specific file required, and then only to allow for unattended installation, is WINNT.SIF. All other files are available for download, and most linked off the Current Hotfixes page.

#49
Tbone2

Tbone2

    Member

  • Members
  • PipPip
  • 268 posts
hey GreenMachine
What speed was your test system ...cd-rom and cpu?...

just wondering if i have the slowest **** system... i got 55 min to install thats a lot more then 28.04 .

#50
Tbone2

Tbone2

    Member

  • Members
  • PipPip
  • 268 posts
ok i also did a install compare.

from reboot of a formated drive to complete final reboot fully installed on a 1.1 ghz amd with a 52x cd-rom took 37.30 using techtype's install

GreenMachine took 53.10 from formated boot to complete install.

I do think this could have been just me...but thats a big time difference...

BTW no bashing meant GreenMachine...I did notice you timed yours from after the dos copy point. this would have droped the time down alot..per it took almost 15 min to copy the files...have no reason why it took so long...possible a bad burn ?

PLEASE don't be offended

I would just like to find out if this was me ...or more like it my system its not the best test system :)

Thanks again GreanMachine and techtype...it's enjoyable testing your guy's work and i do learn.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN