Jump to content

XKnoppix

Member
  • Posts

    207
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by XKnoppix

  1. I just mean how do you register %CDROM%? I don't care if it's a batch file
  2. @enuffsaid What's the code you put in your RunOnceEx.cmd that registered %CDROM% as an enviromental variable? How would i register if for multiple boots? Thanks
  3. By the way, i just tried those lines i posted earlier and they didn't work What's the problem?
  4. Okay but what about the %CDROM% thing? Do you use %CDROM% in your RunOneEx or do you use %SystemDrive%?
  5. Well i do have WFP disabled until the last line in my RunOnceEx.cmd file. I then re-enable it. But i will check out that topic. Thanks
  6. How's this looking? REG ADD %KEY%\170 /VE /D "Registering CDRWIN" /f REG ADD %KEY%\170 /V 1 /D "cmd.exe /C\"XCOPY \"%CDROM%\$OEM$\$1\install\Applications\CDRWIN\cdrwin.dat" \"%SystemDrive%\CDRWIN3\" /E /I /Q /H /R /Y\"\"" /f Will it work? Thanks
  7. Sweet! So just throw it in XPCD\$OEM$\$$\System32 and XP will do the rest?
  8. Oh I ment to say %CDROM% Isn't it a variable for the CD-ROM and would allow me to run files straight offf the cd rather than copying them to Hard Drive? Thanks P.S. Remember "multiple boots"
  9. How do i implement %CD% variable for multiple restarts, because for some reason when it restarts the %CD% variable is deleted?!
  10. I still don't get what these lines do? REG ADD %KEY%\170 /VE /D "copy" /f REG ADD %KEY%\170 /V 1 /D "cmd.exe /C\"XCOPY \"%CD%\NSW2003\MSDOS\*.*\" \"%allusersprofile%\Application Data\Symantec\Ghost\Template\Common\MSDOS\*.*\" /E /I /Q /H /R /Y\"\"" /f I don't even have a "%allusersprofile%\Application Data\Symantec\Ghost\Template\Common\MSDOS\ dir on my CD?! Could you explain? Plus if i figure this out i'm going to use XCOPY to replace $Progs and $Docs for read-only error reasons Thanks
  11. RunOnceEx.cmd cmdow @ /HID @echo off REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v RunOnceEx /f >NUL SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\010 /VE /D "ATI Drivers" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\ATI\Driver\Setup.exe -s -f1%systemdrive%\install\Applications\ATI\Driver\setup.iss" /f REG ADD %KEY%\020 /VE /D "ATI Control Panel" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\ATI\Control\Setup.exe -s -f1%systemdrive%\install\Applications\ATI\Control\setup.iss" /f REG ADD %KEY%\030 /VE /D "Adobe Acrobat Reader" /f REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AR6.msi /QN" /f REG ADD %KEY%\040 /VE /D "Microsoft .Net Framework" /f REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\NetFramework\netfx.msi /QN" /f REG ADD %KEY%\050 /VE /D "Nero Burning Rom" /f REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg" /f REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\Applications\Nero\Nero6009.exe /no_ui /silent /noreboot" /f REG ADD %KEY%\060 /VE /D "Windows Media Player 9" /f REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\WMP9\MPSetupXP.exe /Q:A /R:N" /f REG ADD %KEY%\070 /VE /D "Registering Video Codecs" /f REG ADD %KEY%\070 /V 1 /D "regsvr32.exe %systemroot%\system32\xvid.ax /s" /f REG ADD %KEY%\070 /V 2 /D "regsvr32.exe %systemroot%\system32\divxdec.ax /s" /f REG ADD %KEY%\070 /V 3 /D "regsvr32.exe %systemroot%\system32\ac3filter.ax /s" /f REG ADD %KEY%\080 /VE /D "Registering mIRC" /f REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\mIRC\register.reg" /f REG ADD %KEY%\090 /VE /D "MSN Messenger 6.1" /f REG ADD %KEY%\090 /V 1 /D "%systemdrive%\install\Applications\MSN\MsnMsgs.msi /QN" /f REG ADD %KEY%\100 /VE /D "WinRAR 3.30" /f REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar330.exe /s" /f REG ADD %KEY%\110 /VE /D "Hauppauge WinTV Drivers" /f REG ADD %KEY%\110 /V 1 /D "%systemdrive%\install\Applications\WinTV\whql337_21163.exe /s" /f REG ADD %KEY%\110 /V 2 /D "taskkill.exe /F /IM whql337_21163.exe" /f REG ADD %KEY%\120 /VE /D "CDRWIN 3.9f" /f REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\Applications\CDRWIN\cdrwin.exe /s" /f REG ADD %KEY%\130 /VE /D "**** NFO Viewer" /f REG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\Applications\****\****.msi /QN" /f REG ADD %KEY%\140 /VE /D "Longhorn Transformation Pack" /f REG ADD %KEY%\140 /V 1 /D "%systemdrive%\install\Applications\Longhorn\Longhorn Transformation Pack.exe /s" /f REG ADD %KEY%\140 /V 2 /D "taskkill.exe /F /IM Longhorn Transformation Pack.exe" /f REG ADD %KEY%\150 /VE /D "Applying Registry Tweaks" /f REG ADD %KEY%\150 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f REG ADD %KEY%\160 /VE /D "Enabling Windows File Protection" /f REG ADD %KEY%\160 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Longhorn\wfp.reg" /f REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /V Cleanup /D "%systemdrive%\cleanup.cmd" EXIT
  12. By the way could someone post some code for my RunOnceEx file? For example: %systemdrive%\install\Applications\CDRWIN\cdrwin.dat to C:\CDRWIN3\ Thanks
  13. @Frank_Sechrist Okay I didn't understand one thing you said?!? I don't see those lines in anyone elses RunOnceEx.cmd file when they use XCOPY, what does it do? Thanks
  14. Could someone post some sample code using XCOPY in RunOnceEx to copy over a file and/or directory please? When XCOPY copies a file does it remove read-only attributes? Thanks
  15. Could i use XCOPY in RunOnceEx right after the install? I don't know how to use XCOPY so could you post some sample code? Thanks
  16. How do i register cdrwin 3.9F silently?
  17. Does anyone know how to register CDRWIN 3.9F silently? I can't figure out where the information is stored Thanks
  18. Could i put it in my cleanup.cmd file? cmdow @ /HID @echo off REG DELETE HKLM\software\Microsoft\Windows\CurrentVersion\Run /V "Cleanup" /f DEL "%systemroot%\*.bmp" DEL "%systemroot%\system32\dllcache\*.scr" DEL "%systemroot%\system32\*.scr" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk" net user aspnet /delete RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install RD /S /Q "%allusersprofile%\Start Menu\Programs\PrintMe Internet Printing" DEL "%allusersprofile%\Desktop\*.lnk" DEL "%userprofile%\Desktop\*.lnk" attrib -R "%programfiles%\mIRC\*.*" /S /D attrib -R "%programfiles%\FlashFXP\*.*" /S /D attrib -R "%allusersprofile%\Application Data\Microsoft\Network\Connections\Pbk\*.*" /S /D shutdown.exe -r -f -t 60 -c "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!" EXIT Thanks
  19. Alright what would i put in that batch file?
  20. Okay i'll give it a shot. Speaking of my cleanup.cmd file: cmdow @ /HID @echo off REG DELETE HKLM\software\Microsoft\Windows\CurrentVersion\Run /V "Cleanup" /f DEL "%systemroot%\*.bmp" DEL "%systemroot%\system32\dllcache\*.scr" DEL "%systemroot%\system32\*.scr" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk" net user aspnet /delete RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install RD /S /Q "%allusersprofile%\Start Menu\Programs\PrintMe Internet Printing" DEL "%allusersprofile%\Desktop\*.lnk" DEL "%userprofile%\Desktop\*.lnk" attrib -R "%programfiles%\mIRC\*.*" /S /D attrib -R "%programfiles%\FlashFXP\*.*" /S /D attrib -R "%allusersprofile%\Application Data\Microsoft\Network\Connections\Pbk\*.*" /S /D shutdown.exe -r -f -t 60 -c "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!" EXIT Can i setup my user accounts from there rather than the usual cmdlines.txt, useraccounts.reg setup? I'm just trying to find the most hassle free setup Thanks
  21. First of all, i have these lines in my RegTweaks.reg file that were suppose to permanently delete "Links" from underneath the Favorites menu in IE: [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar] "LinksFolderName"="" "Locked"=dword:00000001 But it's not working? Well, not the way i want it to :/ It now has a folder name "Favorites" underneath the sub menu for favorites and i can't delete IT! Seems even more redundant Now i've read a few posts that i searches for on adding favorites silently. Seems there it a few ways to go about it. Winnt.sif, reg tweaks, etc. I am just looking for some input on the "best" method to add my favorite websites to Favorites in IE Thanks
  22. By the way have you seen my Topic in the Unattended Windows forum about Longhorn and WFP? If not you should take a look and see if you can help me having issues Thanks
  23. Yeah i hear you. But i don't understand INF files. So this is what i got Now i ran the program again (even though it's already installed) and once it got to the first setup screen i hit ctrl-alt-del and looked in up in the processes and sure enough... it was under Longhorn Transformation Pack.exe ?! So i'm not sure if i did that right. But how would i go about finding the accual name? Do i have to install it again or what? Thanks
×
×
  • Create New...