Jump to content

a06lp

Member
  • Posts

    976
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by a06lp

  1. my most sincere apoligies for not saying this first: Thank You!
  2. Hmm, why is this? Are you sure it won't work? It seemed to be working when I copied and pasted the original code into my cleanup.cmd file...
  3. That is from the first post - it's a direct link to schalti. But the real credit goes to the creator of the program. As for stickying this post - that's not my decision...
  4. @hp38guser: I recieved your PM, and have been waiting until my next clean install to test the script, and verify that it works. once it does, i will update the first post with all changes that need to be made. I have also asked you to please explain the script you made more fully, so that we can understand the logic behind the script, and why it works. When you have a chance, please post that (or PM it to me), and I'll update the first post with it. @all: for now, however, the download in the first post DOES work (even though it may contain some unneccesary things).
  5. Not to be a pest, but any news on the 5.094 MSI front?
  6. Hi all, I'm editing my cleanup.cmd file, and there's something I need to do. I need a way to say "If Firefox is installed, then run the following 3 lines of code". Then 3 lines of code are: REM Mozilla Firefox (Remove IE Shortcuts) DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk" REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v "{871C5380-42A0-1069-A2EA-08002B30309D}" /t REG_DWORD /d 1 /f REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\HideDesktopIcons\NewStartPanel /v "{871C5380-42A0-1069-A2EA-08002B30309D}" /t REG_DWORD /d 1 /f But these lines should ONLY run, IF firefox was installed. Also, I need the way to check for firefox to be path-indifferent - meaning, it doesn't matter where firefox is installed to. How can I do this?
  7. And therefore, this seems to be a great way to install any hardware. If it's in your system now, the drivers are installed during setup. If you later add a component, and the drivers were originally on the cd, it will ask for the cd. (I think this is correct - let me know, hp38guser)
  8. Drivers From CD (Simple Method) Updated: 11/08/05 (The old AutoIt Method is available here.) This is not my method. Major thanks to idle.newbie and hp38guser, as most of this is their work. Thanks also go out to Pyron for making SetupCopyOEMInf.exe and WatchDriverSigningPolicy.exe, which are used in this method. The info from this outline is from this post, and, more specifically: here, here, and here. This is a method of automatically installing drivers (which are located on your CD), for devices that are plugged into the computer that WindowsXP is being installed on. This new way uses a Batch file. Why another way, you ask? The reason is simple: This method does not need the use of a FAKE setup.exe, nor does it need extra lines in TXTSETUP.SIF (like other methods do). It's very simple and straightforward. It's as easy as 1, 2, 3: 1. Download the attached zip file, and unzip its contents to $OEM$\. (There are 6 files in the zip: 7za.exe, Drivers.cmd, nircmd.exe, Process.exe, SetupCopyOEMInf.exe, WatchDriverSigningPolicy.exe) (These files will run from the CD, and are never copied to the Hard Drive.) 2. Open up winnt.sif (located in i386), and add two lines under [GuiUnattended], as shown below: If you WANT the cmd window (batch file) to show, use THIS code: Winnt.sif CLS @ECHO OFF TITLE Drivers-from-CD Installation color 1F :: Set Current Drive as CD CD /D "%~dp0" :: Set Drivers Location Folder SET DRV=Drivers :: Ticker script ECHO.exec hide %CD%\Process.exe -r setup.exe >%SystemDrive%\Ticker.ncl ECHO.wait 10000 >>%SystemDrive%\Ticker.ncl ECHO.exec hide %CD%\Process.exe -p SetupCopyOEMInf.exe high >>%SystemDrive%\Ticker.ncl ECHO.exec hide %CD%\Process.exe -s setup.exe >>%SystemDrive%\Ticker.ncl ECHO.wait 50000 >>%SystemDrive%\Ticker.ncl ECHO.script %SystemDrive%\Ticker.ncl >>%SystemDrive%\Ticker.ncl :: Pre-Install (Suspend Setup, and Set Setup to Low Priority) .\Process.exe -s setup.exe .\Process.exe -p setup.exe low :: Allow for Unsigned Drivers START .\WatchDriverSigningPolicy.exe :: If Compressed Drivers Exist, Unzip Them & Change Drivers Location Folder to Hard Drive IF EXIST Drivers.7z ( SET DRV=%SystemDrive%\Drivers .\7za.exe x -y -aoa -o"%SystemDrive%\Drivers" ".\Drivers.7z" ) :: Run NirCmd Ticker Script (code above) START .\NirCmd.exe script %SystemDrive%\Ticker.ncl :: Install Drivers .\SetupCopyOEMInf.exe "%DRV%" :: Post-Install (Close NirCmd, Setup Priority back to Normal, Resume Setup) .\Process.exe -k NirCmd.exe .\Process.exe -p setup.exe normal .\Process.exe -r setup.exe :: Delete Ticker File DEL %SystemDrive%\Ticker.ncl EXIT NirCmd v1.80 Created by NirSoft (link) Used to run Ticker script. Process.exe v2.03 Created by Beyond Logic (link) Used to pause setup, set process priorities, and kill processes while drivers install. SetupCopyOEMInf.exe Created by Pyron (link) It scans a dir recursively and calls SetupCopyOEMInf for every .inf it finds (which copies a specified .inf file into the %windir%\Inf directory). WatchDriverSigningPolicy.exe Created by Pyron (link) Basically, this makes it so that when Windows finds non-signed drivers (non-WHQL), it doesn't care. The source for WatchDriverSigningPolicy is here. Although the attachment doesn't seem to be working, the basic outline of the code is in the post. How Does It Work? (A Much Simplified Guide) When Windows Setup reads the GuiUnattended section of winnt.sif, it will load up our Drivers.cmd code. The Drivers.cmd file will first pause Windows Setup (using Process.exe). Next, it will activate WatchDriverSigningPolicy.exe so that we can install unsigned drivers. The batch script will then determine if compressed drivers exist. If so, it will extract them. Then it will run SetupCopyOEMInf.exe to scan every subdirectory in $OEM$\Drivers (or %systemdrive%\Drivers if compressed drivers exist) and add copy all the .inf files so that Windows will recognize and install drivers for every PnP device (that you included drivers for). Finally, we resume Windows Setup (again, using Process.exe). What About Compressed Drivers? If you use compressed (.7z) drivers, make sure to ADD your compressed "Drivers.7z" to the $OEM$ folder. The batch will automatically detect the compressed drivers (make sure it is named "Drivers.7z"), unzip it to the Hard Drive (using the included "7za.exe"), and then scan the Hard Drive (instead of the CD) for .inf files. Updates: 11/08/05: Major updates: Solved the problem of setup continuing before all the .inf files are scanned and integrated. New Method - (Batch file instead of AutoIt) - Windows Setup will now pause (based on this post and also this post and this post). Added Process.exe v2.03, and NirCmd v1.80 to the zip - These are the programs we use to pause Windows Setup. This method now works with compressed drivers - just add your "Drivers.7z" to the $OEM$ folder. The batch takes care of the rest. 10/11/05: New upload again. This time, the Drivers.au3 file is altered again, and the code to be entered into winnt.sif has been changed. This entire method runs from CD (no files copied over!) This is all from this post. Again- I personally tested this method (as has hp38guser) and it works! 08/01/05: Re-uploaded the zip file. The only updated file in the zip is the Drivers.au3 - it's a smaller file, with less coding (i.e., no extra crap, as per hp38guser's request (here). It has been tested, and is working. Attachment Updated: 11/08/05 MD5 Hash: E6FCD3B433BA04D0F0CC96CB7613DA0A Download from Mirror 1 Download from Mirror 2 (please try above link first...)
  9. Ok, I don't fully understand this tool, but help me out here. I use Bashrat's Drivers-From-CD method (outlined here) to install my drivers now. My basic structure is like this: And I use the 4 files listed in the above-linked post. Will the tool in this post help me not need all of that? If so, what steps are needed to use this tool? Or am I totally misunderstanding the purpose of this new tool?
  10. Yes, I am ashamed. It is me. Bâshrat, please help me. I'm desperate. I need to auto-install the drivers for my HTPC's A7N8X-VM/400 Mobo, and it wont work! (I don't want to run the utility.) Eveything else on my drivers-from-CD works great, just not this. Can you help? Nothing I do seems to work.
  11. do you leave bt engine running the whole time? or just run and close it?
  12. I ALSO have RoadRunner. What settings did you do for BitTornado, and BT Engine, and router to make this program work? Also, what were the full steps you did to make this install sielntly?
  13. i downloaded and ran this file, and registered and everything. i notice no difference... what steps did you do to make it work?
  14. anyone know how to silently install these 2 AMAZING audio tools? MediaMonkey? The Godfather? thanks!!
  15. could you provide a direct link to the latest driver download? thanks
  16. i cant find the msi - i have an exe... what do i do?
  17. working with the above code, can someone modify it to move ALL shortcuts from [all individual users]\desktop to %AllUsersProfile%\Desktop in addition to moving all the shortcuts from individual users start menu to AllUsersProfile's start menu?
  18. ignore my last post (above). PrimoPDF gave me some installation problems. PDFCreator is better!!!!
  19. yea, that link is to a post I made: Solution: Your problem is in this line: [Unattended] UnattendMode=ProvideDefault Change it to: [Unattended] UnattendMode=FullUnattended
  20. so if i have a MCE KEY, with an XP-PRO cd (with the CMPNENTS\MEDIACTR dir), it'll work with? can anyone else confirm this?
  21. this PrimoPDF is amazing, i just tried it, and I love it!
×
×
  • Create New...