Jump to content

bigred

Member
  • Posts

    166
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by bigred

  1. Sweet! Thanks guys...I am really psyched 'cuz now it will be truly unattended... I guess it'll be one more cd! hehe...but hey what's one more when you're over 10 already... I'll try this out and post results...
  2. Not sure if any of this will help Bonkers...but I'll try... Themes: For XCOPY, try using "XCOPY /E /Q" before your target.... (not sure what that is, but AaronXP told me to use that and it works) Reg Tweaks: Reg Tweaks sure looks right from here...can you confirm that it hasn't run for sure? Shutdown.exe: Do you have a nic card? I use psshutdown, and it works great... Sorry I can't be of more help
  3. I wanted to install a number of system files (25-30) that I've edited with different icons etc... After much effort and no success...it seems apparent that in order to batch-install them, I'll have to reboot between the hotfixes and the install of these files.... Does anyone know of a way that I could make this automatically happen? (the other alternative is for me to use the command prompt from the XP cd)..... If I could somehow automate it to run the systemfiles batch file I have after it reboots, it would be really nice... Just thought I'd mention it in case anyone could suggest anything.... :/
  4. Thanks Bonkers.... Usually I'm a lot better at using the search tool...
  5. Well I"m at the point where if I want anything else on my cd, I'll have to start compressing...I'm wondering how this works.. Do I need to install WinRar 3.20 first? What sort of command lines do I use? Any help on this would be great... Thanks
  6. OK...I have one more question on this shortcuts issue.... The shortcut that I'm copying from my install folder to the Start Menu\Programs folder.... I'm assuming it is a shortcut to C:\Program Files\"appropriate folder"\"application name.exe" right? And do I actually rename this shortcut with a .lnk extension while it's in the install folder? Or do I just make a regular shortcut and then call it .lnk in the batch file? Think I've tried it both ways, and no luck yet...thanks for your help
  7. Yup...the batch file runs at the very end, right before you reboot and login.... You can use the "pause" command in your batch file....it will prompt you to "hit any key to continue"....this allows you to slide back up and see if you got any error messages, etc.
  8. I've searched the drive after the install (using shell32 as an example, because it's the main icon file)... The system shows 4 shell32 files.....1 in the system32 folder @ about 8.1 mb (the stock sp1 file)......1 in the dllcache folder @ 34.8 mb (my edited file)....and 1 each in 2 different hidden Hotfix uninstall folders - both of which aren't 8.1mb. Something's screwy...and it's driving me nuts!
  9. Yup....after I enter my Username, my batch file comes up, telling me to remove the cd....I do so, then it copies all of the files, waits a minute and reboots... And when I get back to Windows again, the dllcache folder has the new file, while the system32 folder has the old one...Rebuilding the Icon Cache does nothing...it's really frustrating... It should work the same way as the uxtheme file....but it's not... If you think it would help, I could post my batch files.... ?
  10. OK....thanks Aaron...I didn't realize I wasn't supposed to name the shortcut at the destination... Thanks for all of your help... you must be getting sick of me by now
  11. I always remove the cd from the drive ( I have a pause at the start of my batch file reminding me to do so )... At one poing early on in the install I do get the usual Window that pops up asking for the cd....I could go ahead and click Cancel, then Yes to confirm my choice....but of course I'm trying to make this "unattended"... so instead I've left it on the screen and awaited the automatic reboot.. Still open to any other ideas....
  12. I do 'em myself using Resource Hacker (ResHack).... These ones use the SnowE icons.... It would be soooooooooo nice if I could change these automatically on install....it's a pain to do it otherwise :/
  13. My last (yes, last ) problem I'm having is copying shortcuts to the Start Menu/Programs Folder... This is what I've been doing: ECHO Installing TweakUI PowerToy COPY "%systemdrive%\install\TweakUI\TweakUi.exe" "%systemroot%\System32\" COPY "%systemdrive%\install\TweakUI\Tweak UI.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Tweak UI.lnk" ECHO. ECHO Installing Resource Hacker XCOPY /E /Q "%systemdrive%\install\Resource Hacker\Resource Hacker" "%systemdrive%\Program Files\Resource Hacker" copy "%systemdrive%\install\Resource Hacker\Resource Hacker.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Resource Hacker.lnk" In my install Folder I have 1 folder named Resource Hacker, and in that I have a) a shortcut to C:\Program Files\Resource Hacker\Resource Hacker.exe, and a folder called Resource Hacker which contains the executable and program files... For Tweak UI, it copies the file to the system32 folder properly, but it won't put the shortcut in the Programs Folder (it says it can't find the path) For Resource Hacker it says that it can't find the path (this will be for the first command which copies the folder), and also that the system can't find the file (this will be for the shortcut file).... I'm so close to being done, but boy this has me frustrated.... Thank you to anyone who can help
  14. I edit lots of my system files with replacement icons (shell32,shdocv,mshtml,explorer,cpl files, and tons more).... To change them all I do is rename or copy over the file in the dllcache folder....rename the file in the system32 folder...then put the new edited file in the system32 folder and reboot.... Then rebuild the icon cache using TweakUI and they're good to go.... I've tried changing all of these files at the end of my unattended install, but I'm having problems...somehow they files in the dllcache folder are changed, but the system32 folder always ends up not working (after rebooting, the original is back in the system32 folder, and the icons are back to the originals).... During my unattended install, it says the files are copied successfully, so what am I missing? Is it refreshing them before I have a chance to reboot? Does anyone have any answers on this? Or any things for me to try? I would really appreciate any help, as this batch file will replace them all in 5 seconds, whereas it takes me about 10 minutes doing it manually... Thanks... Here is the end of my hotfixes batch file... ECHO Installing Pre-Sp2 Updates for IE6 and OE6... start /wait %systemdrive%\install\Hotfixes\q817979.exe /Q:A /R:N ECHO. ECHO Installing Pre-Sp2 Updates for IE6 and OE6... start /wait %systemdrive%\install\Hotfixes\q818060.exe /Q:A /R:N ECHO. ECHO Installing Windows Media Player 9 Security Update... start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N ECHO. ECHO Copying patched UXTheme.dll... REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.old COPY "%systemdrive%\Install\Uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\uxtheme.dll uxtheme.old COPY "%systemdrive%\Install\Uxtheme\uxtheme.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched shdocvw.dll... REN %systemroot%\System32\dllcache\shdocvw.dll shdocvw.old COPY "%systemdrive%\Install\SystemFiles\shdocvw.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\shdocvw.dll shdocvw.old COPY "%systemdrive%\Install\SystemFiles\shdocvw.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched mstsc.exe... REN %systemroot%\System32\dllcache\mstsc.exe mstsc.old COPY "%systemdrive%\Install\SystemFiles\mstsc.exe" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\mstsc.exe mstsc.old COPY "%systemdrive%\Install\SystemFiles\mstsc.exe" "%systemroot%\System32\" ECHO. ECHO Copying patched mshtml.dll... REN %systemroot%\System32\dllcache\mshtml.dll mshtml.old COPY "%systemdrive%\Install\SystemFiles\mshtml.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\mshtml.dll mshtml.old COPY "%systemdrive%\Install\SystemFiles\mshtml.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched msgina.dll... REN %systemroot%\System32\dllcache\msgina.dll msgina.old COPY "%systemdrive%\Install\SystemFiles\msgina.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\msgina.dll msgina.old COPY "%systemdrive%\Install\SystemFiles\msgina.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched mstask.dll... REN %systemroot%\System32\dllcache\mstask.dll mstask.old COPY "%systemdrive%\Install\SystemFiles\mstask.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\mstask.dll mstask.old COPY "%systemdrive%\Install\SystemFiles\mstask.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched browselc.dll... REN %systemroot%\System32\dllcache\browselc.dll browselc.old COPY "%systemdrive%\Install\SystemFiles\browselc.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\browselc.dll browselc.old COPY "%systemdrive%\Install\SystemFiles\browselc.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched url.dll... REN %systemroot%\System32\dllcache\url.dll url.old COPY "%systemdrive%\Install\SystemFiles\url.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\url.dll url.old COPY "%systemdrive%\Install\SystemFiles\url.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched mydocs.dll... REN %systemroot%\System32\dllcache\mydocs.dll mydocs.old COPY "%systemdrive%\Install\SystemFiles\mydocs.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\mydocs.dll mydocs.old COPY "%systemdrive%\Install\SystemFiles\mydocs.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched netshell.dll... REN %systemroot%\System32\dllcache\netshell.dll netshell.old COPY "%systemdrive%\Install\SystemFiles\netshell.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\netshell.dll netshell.old COPY "%systemdrive%\Install\SystemFiles\netshell.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched wiashext.dll... REN %systemroot%\System32\dllcache\wiashext.dll wiashext.old COPY "%systemdrive%\Install\SystemFiles\wiashext.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\wiashext.dll wiashext.old COPY "%systemdrive%\Install\SystemFiles\wiashext.dll" "%systemroot%\System32\" ECHO. ECHO Copying patched iexplore.exe... COPY "%systemdrive%\Install\SystemFiles\iexplore.exe" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\iexplore.exe" "C:\Program Files\Internet Explorer\" ECHO. ECHO Copying patched explorer.exe... REN %systemroot%\System32\dllcache\explorer.exe explorer.old COPY "%systemdrive%\Install\SystemFiles\explorer.exe" "%systemroot%\System32\dllcache\" REN %systemroot%\explorer.exe explorer.old COPY "%systemdrive%\Install\SystemFiles\explorer.exe" "%systemroot%\" ECHO. ECHO Copying new cpl files... ECHO Beginning with access.cpl... COPY "%systemdrive%\Install\SystemFiles\access.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\access.cpl" "%systemroot%\System32\" ECHO. ECHO And now appwiz.cpl... COPY "%systemdrive%\Install\SystemFiles\appwiz.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\appwiz.cpl" "%systemroot%\System32\" ECHO. ECHO And now desk.cpl... COPY "%systemdrive%\Install\SystemFiles\desk.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\desk.cpl" "%systemroot%\System32\" ECHO. ECHO And now hdwwiz.cpl... COPY "%systemdrive%\Install\SystemFiles\hdwwiz.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\hdwwiz.cpl" "%systemroot%\System32\" ECHO. ECHO And now inetcpl.cpl... COPY "%systemdrive%\Install\SystemFiles\inetcpl.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\inetcpl.cpl" "%systemroot%\System32\" ECHO. ECHO And now intl.cpl... COPY "%systemdrive%\Install\SystemFiles\intl.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\intl.cpl" "%systemroot%\System32\" ECHO. ECHO And now joy.cpl... COPY "%systemdrive%\Install\SystemFiles\joy.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\joy.cpl" "%systemroot%\System32\" ECHO. ECHO And now main.cpl... COPY "%systemdrive%\Install\SystemFiles\main.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\main.cpl" "%systemroot%\System32\" ECHO. ECHO And now mmsys.cpl... COPY "%systemdrive%\Install\SystemFiles\mmsys.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\mmsys.cpl" "%systemroot%\System32\" ECHO. ECHO And now ncpa.cpl... COPY "%systemdrive%\Install\SystemFiles\ncpa.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\ncpa.cpl" "%systemroot%\System32\" ECHO. ECHO And now nusrmgr.cpl... COPY "%systemdrive%\Install\SystemFiles\nusrmgr.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\nusrmgr.cpl" "%systemroot%\System32\" ECHO. ECHO And now powercfg.cpl... COPY "%systemdrive%\Install\SystemFiles\powercfg.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\powercfg.cpl" "%systemroot%\System32\" ECHO. ECHO And now sysdm.cpl... COPY "%systemdrive%\Install\SystemFiles\sysdm.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\sysdm.cpl" "%systemroot%\System32\" ECHO. ECHO And now telephon.cpl... COPY "%systemdrive%\Install\SystemFiles\telephon.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\telephon.cpl" "%systemroot%\System32\" ECHO. ECHO And now timedate.cpl... COPY "%systemdrive%\Install\SystemFiles\timedate.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\timedate.cpl" "%systemroot%\System32\" ECHO. ECHO And now sapi.cpl... COPY "%systemdrive%\Install\SystemFiles\sapi.cpl" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\sapi.cpl" "%systemdrive%\Program Files\Common Files\Microsoft Shared\Speech\" ECHO. ECHO Installing MSN Messenger Plus ECHO Please wait... start /wait %systemdrive%\install\MSNMessengerPlus\MsgPlus220.exe /SilentInstallNoSponsor ECHO. ECHO Copying patched shell32.dll... COPY "%systemdrive%\Install\SystemFiles\shell32.dll" "%systemroot%\System32\dllcache\" COPY "%systemdrive%\Install\SystemFiles\shell32.dll" "%systemroot%\System32\" ECHO. ECHO Restarting the PC in 60 seconds... psshutdown.exe -r -t 60 -f -m "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\install RD /S /Q %systemdrive%\Drivers ECHO. EXIT
  15. Yup...unattended was what I was looking for..but thanks anyways.. Hmmm..ok, after yet another install I've realized it wasn't the MSN 6 Install that was the problem...it was the Messenger Plus install that was opening MSN 6... Any suggestions?
  16. When MSN 6 installs... it automatically opens up, and so does MSN Today.... 1. I would like to make it so these don't pop-up (would I use the "kill" feature I read about a while ago? And if so could you give some quick instructions?). 2. If possible I would really like to turn off 2 options in MSN 6 when I install it: a) Open MSN Today when Messenger Signs In, and b ) Open Messenger Main Window when Messenger starts Any help is appreciated...
  17. OK....I followed instructions, and got the folder copied...but I did have one more question... During the batch file, and specifically when this folder was copied, a dialogue came up asking me if I was specifying "a file (f) or a directory (d)" ...I was being prompted to hit f or d... I hit d because it's a folder I'm installing, and everything worked fine....but how could I do this without having to press a key...how can I automate that ? Thank you
  18. Oh I see....I've never used this XCOPY yet (still a noob ). I'll give it a try.... thanks for the quick reply...
  19. Hmm...thanks matgrouix.....unfortunately I have a SoundBlasterLive card
  20. Please forgive my noobi-ness...but at least I'm having fun learning I want to copy a couple of things to the Program Files folder... Obviously if I use "%systemroot%" in my batch file, that's meaning the Windows folder...but of course the "Program Files" folder is in the same C Drive directory as the "Windows" folder is.... Can anyone give me a sample line that would copy "exampleA" to the Program Files folder? (This is a folder containg ResHack) Would I just put - copy "%systemdrive%\Install\SystemFiles\exampleA" "C:\Program Files\" ??? Thanks for your help...
  21. That's ok...but thanks for checking it out for me... It's a little thing to change afterward....but of course I was trying to make "the perfect cd".... Sigh...I guess it won't be perfect any more
  22. Does anyone know how to turn off/edit the volume/sound system tray icon, through the registry? I'd like to include this as one of my registry tweaks for my cd... Thanks
×
×
  • Create New...