Jump to content

Afterdawn

Member
  • Posts

    177
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by Afterdawn

  1. OMG a whole active forum with Microsoft haters Well, if Microsoft didn't exist... there's nobody else to bash... so yeah, I dig 'm!
  2. I must admit that the code isn't very clear! Replacing IF EXIST by %IE% isn't really helpfull IMHO. Why don't you use clear syntax with indents.. something like your "visual code": if exist (%file%) ( if exist (%graphics_dp%) ( graphics_dp.cmd ) if exist (%lan_dp%) ( lan_dp.cmd ) nircmd BLA BLA BLA ) else ( ETCETERA... )
  3. @ Bâshrat the Sneaky The ~q makes sure that the entry added to OemPnpDriversPath is surrounded by double quotes... just like it should be. The help for NIRCMD is contained in the Help file that's included! About your script.. it's very difficult to see what's it doing / supposed to do. Can't you just tell what you want... and then I could tell you how I should do it!
  4. After reading through this thread I still actually still didn't know what this "program" exactly did, so I just ran it, and it seems like it changes registry values / import some tweaks? Why would anybody want that? No offense, but isn't it better just to import your own Reg-file with the tweaks you WANT?
  5. I'm afraid you have to give more details about your problem... What programs did you run after you've installed Ad-watch?
  6. Emulating is a cheap alternative to the real thing... To actually play with an old console such as the NES with those akward (real ergonomical ) controllers behind an old TV will give you the best retro-feeling! Also I'd like to sit on the couch, instead of sitting behind the computer. Okay, with a few clicks you can play virtually every game ever released for every console.. but nothing beats the real thing! Anyway, this http://www.the-underdogs.org/ is a good site for classic games for the PC, where you sometimes may get the downlaod the game if it's abandoned.
  7. I haven't tried it but this idea is more appealing to me: Just reserve a small partition (say 4 GB or something like that) of your fysical disk, and then let vmware use this partition directly as a disc. Anyone with experience with that? I mean what happens when you let vmware make that partition bootable? What could possibly go wrong (in the worst case)?
  8. NirCMD does the same! In addition, nircmd has a lot more functions that may come to use of you.
  9. Why don't just don't install all the hotfixes EXE-files at install-time? That way you have a much more maintainable installation... Just add a new hotfix to the directory. This is the part of the script I call in my cmdlines.txt (for hotfixes). echo Installing Hotfixes: echo ---------------------------------------------- pushd hotfixes for %%i in (*.exe) do ( echo Installing hotfix %%i... %%i /passive /norestart /n ) popd
  10. With SysInternals AutoRuns you can also get a list of all installed Browser Extensions. Just make sure you show all items, and then Hide Microsoft entries for better overview. You can uncheck and re-check the items.
  11. With devcon: devcon drivernodes * With this you see all drivers-versions of all installed drivers.
  12. Just hit Ctrl + SHift + Escape to start the tast-manager. Then in the menu choose Run... And type explorer! Explorer.exe works for the taskbar too.
  13. I want to have my DevicePath-key automatically set at the T-39 minute stage, by means of a DetachedProgram. I know that a program called SetDevicePath.exe exists, but I want to create it in a script, so that I can add/modify my own things... I currently run this script as a detachedProgram, and it does change the DevicePath entry correctly in the registy (complete with %systemdrive% and all), however it seems like when this script is run, Windows Setup has already read the values from the Registry, because my custom drivers aren't installed.. I use this script: @echo off set drivers_path=%SystemDrive%\drivers set drivers_prefix=%%SystemDrive%%\drivers set newPath=%%SystemRoot%%\inf call :traverse %drivers_path% reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion /v DevicePath /t REG_EXPAND_SZ /d %newPath% /f goto :eof :traverse pushd %~f1 if EXIST *.inf ( set curPath=%drivers_prefix%%~2 call set newPath=%%newPath%%;%%curPath%% ) for /d %%I in (*) do ( call :traverse "%%I" "%2\%%I" ) popd goto :eof Who can help me out? Note: I already have a solution where you can automatically add entries to the winnt.sif file. Look here if interested. So that is, before the installation, at ISO-creation time. But now I want to create a script that does this at Install-time.
  14. Okay good to hear that it finally works for you now! And you're right, the winnt.sif file can be relative!
  15. Okay, I created my own, and this one definitely works for me. Just modify the 3 values in the begin of my script. The driver_prefix is just the name that should be prefixed for every folder that contains an INF-file. The drivers_path and winnt_file should be surrounded by quotes if you have spaces in your path. Make sure you've downloaded nircmd. @echo off set drivers_path=D:\xp_unattend\$oem$\$1\drivers set drivers_prefix=drivers set winnt_file=D:\xp_unattend\i386\winnt.sif call :traverse %drivers_path% %drivers_prefix% nircmd.exe inisetval %winnt_file% "Unattended" "OemPnPDriversPath" "~q%newPath%~q" goto :eof :traverse pushd %~f1 if EXIST *.inf ( if NOT DEFINED newPath ( set newPath=%~2 ) else ( call set newPath=%%newPath%%;%~2 ) ) for /d %%I in (*) do ( call :traverse "%%I" "%2\%%I" ) popd goto :eof
  16. This script is nice btw, but I'd wonder why he didn't use a utility to update the winnt.sif. That way he could replace the whole :RECREATE routine into this line: nircmd inisetval "d:\xp_unattend\I386\winnt.sif" "Unattended" "OemPnPDriversPath" "~qTHIS_IS_THE_NEW_VALUE~q" http://www.nirsoft.net/utils/nircmd.html
  17. Why do you want a cmd file so badly, if the executable has been confirmed working by so many? Well, maybe hard to explain, but I'll try: I just like to have something that I know HOW it works. Just out of curiosity, and to be assured that it does what I think it does. Also, I might want to add/modify some things, every now and then.
  18. Hmm too bad... I thougt your script changed it at runtime! I'm still working on a script that automatically updates the path in the t-39 stage. Thus as a attached program! Actually exactly the same as Pyron's SetDevicePath.exe, but I want it as an cmd-script!
  19. I was just being sarcastic. Actually I liked them for about... 10 minutes or so, then they started to p*** me off, so I disabled them!
  20. Take a look at here: http://support.microsoft.com/?kbid=237607 It's about a command-line tool regini.exe, which is in Windows XP by default. With this tool you can change registry permissions from the command prompt. I don't know exactly how it works but you can look it up in the above-mentioned page.
  21. Use this to comletely disable Windows Picture Viewer. It disable thumbnail-view too however. regsvr32 /u /s shimgvw.dll
  22. [quote name='Jeremy' date='Feb 4 2005, 06:10 PM']If it has anything to do with IE, I'm not touching it. Period.[/quote] Amen! You're right! Even Microsoft's own developers hate to continue working at an out-dated browser (with bad PNG support), while there exists much better browsers.
  23. Yeah but won't you be missing the awesome buzzer and winks features!!
×
×
  • Create New...