Recommended Posts

Hi, I have a big problem when making my Windows XP Unattended CD, everything seems to go fine up to the point where it starts copying hotfixes, then the batch script I made starts complaining that pretty much all of the hotfiles I want to install could not be found.

An example of this is "Cannot find file 'C:\install\Hotfixes\Q322011_WXP.exe/Q' no such file or directory." There are about 25 of these messages, all mentioning various hotfixes, but pretty much saying the same thing. Having looked at my C drive and specifically at the directory it mentions 'C:\install\Hotfixes I can clearly see that all of the hotfixes it mentions are indeed present, so they have been correctly copied over from the CD. Which leaves me somewhat bemused.... They are in the directory the batch file is looking in but the batch file still says it can't find them. On the slim chance that someone here might be able to figure out what's going on, I have included my batch file here as an attachment (in text form) I have also included my winnt.sif file too, although I may have to do this in a sepeate post due to restrictions on attachments per post.

I am totally stuck here guys, so any input anyone can offer at all would be deeply appreciated.

I simply want to build a custom Windows XP CD as my Kids have a habit of screwing their computer up and i'm sick of reinstalling windows over and over again.

So as I said, any help is appreciated.

Q

hotfixes.txt

Link to comment
https://www.neowin.net/forum/topic/113748-xp-unattended-hotfix-blues/
Share on other sites

Hmm. I think I can actually answer this. I'm not 100% sure if I'm right on it, but I think it is. What's wrong with your files is the fact that they are not in the MS-DOS 8.3 filename format (maximum of 8 characters for the file name, and three characters for the extension). I believe hotfixes can only be installed with a batch script when they have an 8.3 filename. The simple solution, I guess, is to rename your hotfixes from "Qxxxxxx_WXP.exe" to "Qxxxxxx.exe". That will then fit into the requirements for an 8.3 filename and should hopefully allow you to install your hotfixes.

Hope this helps.

By the way, quick tip. It's not a good idea to post your WINNT.SIF file before removing your product key from it. Just remove the product key next time, and you'll be all good. ;)

Ooops.... Oh well... There are plenty of those floating around.... Sorry mods...

Yes I suspected something of the same, I will try this again. I followed a guide given by The_Elder_Geek.com. Seems he told me that I should alter this seting when I have never ha to before. I will let you know the results. :) Thanks for the input.

Q

PS.

Erm... I just had a look... So just to be clear,you mean I should use ISO level 1 right, instead of level 2? I'm using nero 6.0 and there is no mention of DOS as there was in nero 5.5x. What settings do ou recomendfor the ISO? I guess you don't have Nero 6.0?

Edited by raid517

On a side note, I tried to replace my uxtheme.dll file, but it didn't work. I suspect that this was because XP file protection copied over the correct uxtheme.dll file from the CD before the install process had completed. Is there anyway to prevent this? Or perhaps there is a way to run Neowin's official uxtheme.dll patcher silently? If so, what are the switches?

Also rather than have themes copied over individually (I have something like 60 themes) I would very much like to replace the entire /Windows/Resources/Themes directory, with the Themes directory from my existing Windows install. Is this possible and if so how?

Thanks in advance for any input.

Q

Silly suggestion, but try writting it like this: "C:\install\Hotfixes\Q322011_WXP.exe" /Q

Example from your text file:

ECHO Installing Q814995_WXP_SP2_x86_ENU.exe
start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe/Q /M /Z

Try it like this:

ECHO Installing Q814995_WXP_SP2_x86_ENU.exe
start /wait "%systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe" /Q /M /Z

The quotes and everything. Let me know. :)

raid517, I will answer both of your last questions in this post.

Yes, in Nero 6, use ISO Level 1. I believe it will default to Level 1 for a Bootable Data CD, but I could be wrong. This should force all files to be in the 8.3 format, and you shouldn't have problems after that.

Alternatively, you could also try the suggestion by Flishfun above. Putting quotation marks, as he suggested, may help as well.

Now, to answer you second question, you can use the UXTHEME.DL_ provided in encryption's fine Unattended guide. It is toward the bottom of the first post, where he mentions UXTHEME.DLL.

encryption's Unattended Windows XP Guide

Well, yes there are two reasons why your files cannot be found. Go to your "C:\install\Hotfixes" directory and rename all hotfixes to the 8.3 standard as FlishFun said. Also, read your error again.

An example of this is "Cannot find file 'C:\install\Hotfixes\Q322011_WXP.exe/Q' no such file or directory."

the "wxp.exe/Q" you need to have a space so it shows such as ...Q322011_WXP.exe<spacebar>/Q, hence why it says "can't find file or directory ...WXP.exe/Q" because you've added the /Q to the filename and it thinks that is the name of the file. Also, I do remember reading somewhere on slipstreaming SP's and Hotfixes that the names of the hotfixes do have to go with the 8.3 naming convention.

You may have seen this and may not need it but here is a GREAT tutorial on how to Slipstream SP1 and all your Hotfixes onto a CD

http://www.<< spam >>/unattended/xp/

Partie?

Its easier to use the FOR command, put all hotfixes that use the 'Welcome to windows XP Qxxxxxx wizard' in \$OEM$\$1\Hotfixes\1, then all the 'Are you sure you want to install this update' hotfixes in \$OEM$\$1\Hotfixes\2, then MDAC 2.8 and the MDAC update in \$OEM$\$1\Hotfixes\3. Lastly, put Qchain.exe in \$OEM$\$1\Hotfixes and create a batch file like this...

@ECHO OFF
ECHO Installing All Pre-SP2 Hotfixes...
CD "%systemdrive%\Hotfixes\1
for %%i in (*.exe) do start /wait %%i /Q /U /N /Z
ECHO.
ECHO Installing All Pre-SP2 Cumulative patches...
CD "%systemdrive%\Hotfixes\2
for %%i in (*.exe) do start /wait %%i /Q:A /R:N
ECHO.
ECHO Installing MDAC 2.8
start /wait %systemdrive%\Hotfixes\3\mdac_typ.exe /q /C:"setup /QNT"
start /wait %systemdrive%\Hotfixes\3\Q823718_MDAC_SecurityPatch.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q
start /wait %systemdrive%\Hotfixes\qchain.exe
EXIT

I got part of this info from MS?FN

What about autopatcher xp? What does that do? can this be used silently? I would love to se a program that atomatically bult a custom install CD and allowed you to include all your own custom programs anf hotfixes on the ISO etc. I'm not sure if this is what autopatcher does, but it would be cool anyway.

Q

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

    • No registered users viewing this page.
  • Posts

    • My Photos app is version 2026.11050.1001.0 and it remembers the window size and position. My Snipping Tool is version 11.2602.49.0 and it can capture the taskbar.
    • MusicBee 3.6.9668 by Razvan Serea MusicBee is an application geared toward managing extensive music collections, easy to use and with a comprehensive feature set. It makes it easy to organize, find, and play music files on your computer, on portable devices, and on the Web. It provides playback of a wide range of audio formats, smart playlists with the ability to discover and play new music from the web, advanced tag editing with automated artwork and tag look up, folder monitoring, automated file re-organization, portable device synchronization, and secure CD ripping with AccurateRip verification. MusicBee features: Supported formats: MP3, AAC, M4A, MPC, OGG, FLAC, APE, TAK, WV, WMA and WAV. Audio CDs: Audio CD playback and ripping (with CD-Text capabilities) is supported. CD tracks can be ripped (in fast or secure mode) as individual files or as a single album with embedded cuesheet. Conversion: Conversion from and to all supported formats as metadata are preserved. Synchronization of tags only (in case that the output file already exists) instead of reencoding is possible. ReplayGain support: both playback and calculation. File Organization: Organization and renaming of music files into folders and files based on tag values such as artist, album, name, track number, etc. that can be specified. MusicBee can do this automatically for all files in a music library or the user can choose the files or folders themselves. Web Browsing: Browsing of the web using Mozilla's XULRunner environment. Scrobbling: Tracks played from MusicBee can optionally be scrobbled to Last.fm. Customizable user interface layout. Customizable keyboard shortcuts. MiniLyrics support Download: MusicBee 3.6.9668 | MusicBee Portable | ~9.0 MB (Freeware) Download: Windows Store Edition View: MusicBee Home page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • On xiaomi hyperos there's also an option to disable google assistant. I've got everything disabled. Only thing I do have installed is a web wrapped for duck.ai which claims to let you use various AIs anonymously
    • I need to understand the rationale of not shipping all of these K2 improvements in a single update/release. It's giving "we will fix Windows 11 but no commitments". It seems to me that they just announce these improvements just to appease the community.
    • The term "RTM" is long gone starting with Windows 10. Every current release is a GA build. This is the result of MS making Windows as a Service (WaaS).
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      520
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      87
    4. 4
      Michael Scrip
      81
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!