Jump to content

gai-jin

Member
  • Posts

    81
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by gai-jin

  1. as of right now, I'm using cdr.exe to eject the cd, not vbs. I can certainly change back to the vbs script though if it'll do this...
  2. I'm using cd2.cmd as listed below to ask a user to insert disc 2 at the beginning of runonceex. Is it possible to use a gui propmt with an OK button instead of the cmd prompt window popping up at this point? How could I do this? THanks Gai-jin CLS @ECHO OFF ECHO. ECHO Ejecting CD-ROM Drives... ECHO If you are using a cd rom please remove it from ECHO the cdrom drive and If you have a second cd place ECHO it in the drive at this time please. ECHO. ECHO. ECHO Wait till the cdrom/dvd drive quits blinking ECHO and then press any key to continue. start %systemdrive%\install\Tools\cdr open ECHO. PAUSE IF EXIST %systemdrive%\install\runonce.cmd GOTO RUNBATCH SET CDROM2= IF EXIST D:\install\runonce.cmd SET CDROM2=D: IF EXIST E:\install\runonce.cmd SET CDROM2=E: IF EXIST F:\install\runonce.cmd SET CDROM2=F: IF EXIST G:\install\runonce.cmd SET CDROM2=G: IF EXIST H:\install\runonce.cmd SET CDROM2=H: IF EXIST I:\install\runonce.cmd SET CDROM2=I: IF EXIST J:\install\runonce.cmd SET CDROM2=J: IF EXIST K:\install\runonce.cmd SET CDROM2=K: ECHO Please be patient while files are copied to your hard drive. start "" /wait xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y ECHO. ECHO. ::ECHO Deleting Temp Installation Files... ::RD /S /Q %systemdrive%\install ::RD /S /Q %systemdrive%\Drivers ::ECHO. EXIT
  3. I have a cd2.cmd file which is supposed to prompt the user for disc 2 then copy everything on disc 2 to the hard drive. that's not working, it seems to skip right over the copy part. Should I change it so the copy part is done by runonce like this? Here's what I'm trying to use now: CLS @ECHO OFF ECHO. ECHO Ejecting CD-ROM Drives... ECHO If you are using a cd rom please remove it from ECHO the cdrom drive and If you have a second cd place ECHO it in the drive at this time please. ECHO. ECHO. ECHO Wait till the cdrom/dvd drive quits blinking ECHO and then press any key to continue. start %systemdrive%\install\Tools\cdr open ECHO. PAUSE IF EXIST %systemdrive%\install\runonce.cmd GOTO RUNBATCH SET CDROM2= IF EXIST D:\install\runonce.cmd SET CDROM2=D: IF EXIST E:\install\runonce.cmd SET CDROM2=E: IF EXIST F:\install\runonce.cmd SET CDROM2=F: IF EXIST G:\install\runonce.cmd SET CDROM2=G: IF EXIST H:\install\runonce.cmd SET CDROM2=H: IF EXIST I:\install\runonce.cmd SET CDROM2=I: IF EXIST J:\install\runonce.cmd SET CDROM2=J: IF EXIST K:\install\runonce.cmd SET CDROM2=K: ECHO Please be patient while files are copied to your hard drive. start "" /wait xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y ECHO. ECHO. ::ECHO Deleting Temp Installation Files... ::RD /S /Q %systemdrive%\install ::RD /S /Q %systemdrive%\Drivers ::ECHO. EXIT If I take the xcopy out of the batch and put it in runonceex as a seperate step, this should work? How could I determine the source drive letter?
  4. Need a 2 cd install for on specific system, can't go just to dvd yet. What is a better method for runonceex?
  5. I believe this will do what you want. http://www.msfn.org/comments.php?shownews=9295
  6. I cobbled it together from the gosh guide. I re-did much of it, so i'm sure there are probably many mistakes. But I don't know what to look for, and the gosh guide seems very difficult to understand clearly.
  7. Okay, can anybody help me with this? I'm trying to convert everything to a RunOnceEX format instead of batch format, but not sure if I've got this setup right. I had trouble understanding gosh's tutorial, and also am not clear at all on the format of the registry entries under the '13min' section. (and, the way I have this setup now, will the 13 min section even be run?) All feedback and corrections greatly appreciated. Runonceex.inf [Version] Signature=$CHICAGO$ [DefaultInstall] AddReg = RunXP [XP] AddReg = RunXP [RunXP] ;http://support.microsoft.com/?kbid=232509 HKLM,"%RunOnceEx%\",Title,0,"Installing Applications" HKLM,"%RunOnceEx%\",Flags,0x00010001,20 HKLM,"%RunOnceEx%\install01",,,".NET Framework v1.1" HKLM,"%RunOnceEx%\install01",1,,"%24%\install\NetFramework\netfx.msi /qn" HKLM,"%RunOnceEx%\install02",,,"McAfee Antivirus" HKLM,"%RunOnceEx%\install02",1,,"%24%\install\applications\vse7\vse700.msi /qn" HKLM,"%RunOnceEx%\install03",,,"Office 2003 Professional" HKLM,"%RunOnceEx%\install03",1,,"%24%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qn" HKLM,"%RunOnceEx%\install04",,,"Adobe Acrobat 6" HKLM,"%RunOnceEx%\install04",1,,"%24%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"""-s /v\"""/qn\""" HKLM,"%RunOnceEx%\install05",,,"Lavasoft Ad-Aware SE" HKLM,"%RunOnceEx%\install05",1,,"%24%\install\applications\adaware\aawsepersonal.exe /s" HKLM,"%RunOnceEx%\install06",,,"Sun Java VM 1.4.2" HKLM,"%RunOnceEx%\install06",1,,"%24%\install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v /qn" HKLM,"%RunOnceEx%\install07",,,"Powertoys for Windows XP" HKLM,"%RunOnceEx%\install07",1,,"%24%\install\Applications\PowerToys\ImageResizerPowertoySetup.exe /s /v/qn" HKLM,"%RunOnceEx%\install07",2,,"%24%\install\Applications\PowerToys\CmdHerePowertoySetup.exe /s /v/qn" HKLM,"%RunOnceEx%\install07",3,,"%24%\install\applications\PowerToys\TweakUI.msi /qb" HKLM,"%RunOnceEx%\install08",,,"Google Toolbar" HKLM,"%RunOnceEx%\install08",1,,"%24%\install\applications\googlebar\google.exe /q" HKLM,"%RunOnceEx%\install09",,,"Nero Burning Rom 6" HKLM,"%RunOnceEx%\install09",1,,"%24%\install\Applications\Nero\Nero63120.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f" HKLM,"%RunOnceEx%\install10",,,"Nero Mix" HKLM,"%RunOnceEx%\install10",1,,"%24%\install\Applications\Nero\NeroMIX14022b.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f" HKLM,"%RunOnceEx%\install11",,,"Nero Media Player" HKLM,"%RunOnceEx%\install11",1,,"%24%\install\Applications\Nero\NMP14022b.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f" HKLM,"%RunOnceEx%\install12",,,"Nero Vision Express 2" HKLM,"%RunOnceEx%\install12",1,,"%24%\install\Applications\Nero\nve21218.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f" HKLM,"%RunOnceEx%\install13",,,"Winrar 3.30" HKLM,"%RunOnceEx%\install13",1,,"%24%\install\Applications\WinRAR\wrar330.exe /s" HKLM,"%RunOnceEx%\ZZcleanup",,,"Cleaning up" HKLM,"%RunOnceEx%\ZZcleanup",1,,"%10%\Apps\cleanup.bat" HKLM,"%RunOnceEx%\ZZcleanup",2,,"%11%\cmd.exe /c rd /S /Q %24%\Install" HKLM,"%RunOnceEx%\ZZcleanup",3,,"%11%\cmd.exe /c del /Q """%16409%\Nero StartSmart.lnk""" HKLM,"%RunOnceEx%\ZZcleanup",4,,"%11%\cmd.exe /c del /Q """%16409%\Adobe Reader 6.0.lnk""" HKLM,"%RunOnceEx%\ZZcleanup",5,,"%11%\cmd.exe /c del /Q """%16407%\PrintMe Internet Printing""" HKLM,"%RunOnceEx%\ZZcleanup",6,,"%11%\cmd.exe /c rd /S /Q """%16407%\PrintMe Internet Printing""" [Post] AddReg=13min [13min] HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","User","PCOwner" HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","Company","None" HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy" HKLM,"SOFTWARE\Ahead\NeroVision\Info","User","PCOwner" HKLM,"SOFTWARE\Ahead\NeroVision\Info","Company","None" HKLM,"SOFTWARE\Ahead\NeroVision\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy" HKLM,"SOFTWARE\Ahead\NeroMix\Info","User","PCOwner" HKLM,"SOFTWARE\Ahead\NeroMix\Info","Company","None" HKLM,"SOFTWARE\Ahead\NeroMix\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy" HKLM,"SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core","EnableConcurrentSessions",0x00000001 HKLM,"\SYSTEM\CurrentControlSet\Control\","WaitToKillServiceTimeout"="3000" HKLM,"\SOFTWARE\Microsoft\PCHealth\ErrorReporting","DoReport"=0x00000000 HKCU,"Software\mIRC\License",@,"10572-999922" HKCU,"Software\mIRC\UserName",@,"Free Version" [Strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" new.inf [Version] Signature=$CHICAGO$ [newhive] HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Applying custom settings" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000020 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",,,"Applying Inf's" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",1,,"rundll32 setupapi,InstallHinfSection XP 128 ..\Windows\Inf\runonceex.inf" ;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",2,,"rundll32 setupapi,InstallHinfSection DefaultInstall 128 ..\Windows\Inf\Install.inf" cd2.cmd CLS @ECHO OFF ECHO. ECHO Ejecting CD-ROM Drives... ECHO If you are using a cd rom please remove it from ECHO the cdrom drive and If you have a second cd place ECHO it in the drive at this time please. ECHO. ECHO. ECHO Wait till the cdrom/dvd drive quits blinking ECHO and then press any key to continue. start %systemdrive%\install\Tools\cdr open ECHO. PAUSE IF EXIST %systemdrive%\install\runonce.cmd GOTO RUNBATCH SET CDROM2= IF EXIST D:\install\runonce.cmd SET CDROM2=D: IF EXIST E:\install\runonce.cmd SET CDROM2=E: IF EXIST F:\install\runonce.cmd SET CDROM2=F: IF EXIST G:\install\runonce.cmd SET CDROM2=G: IF EXIST H:\install\runonce.cmd SET CDROM2=H: IF EXIST I:\install\runonce.cmd SET CDROM2=I: IF EXIST J:\install\runonce.cmd SET CDROM2=J: IF EXIST K:\install\runonce.cmd SET CDROM2=K: ECHO Please be patient while files are copied to your hard drive. xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y ECHO. ECHO. ::ECHO Deleting Temp Installation Files... ::RD /S /Q %systemdrive%\install ::RD /S /Q %systemdrive%\Drivers ::ECHO. EXIT
  8. Also, I'm trying to do this in a 2CD set fashion... is there a good way to pause and cause a user to insert disc 2 when using this method? Gai-jin
  9. any clarifications you can offer would be greatly appreciated...
  10. And if new.inf tells section 'XP' to run at 13 min, and section 'XP' is just telling 'runxp' to run later, then when do 'post' '13min' and 'strings' kick in?
  11. Ok, I'm trying to use gosh's tutorial here: http://gosh.msfnhosting.com/using_runonceex.htm to convert my disc from using batch files to using runonceex. I'm not sure I understand all of the process, but here's the bit that confuses me most at the moment: As I understand it, this is running new.inf at the end of txt mode setup. and all new.inf is doing is adding registry entries which will cause setup to process runonceex.inf at the 13 min point, is that right? new.inf [newhive] HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Applying custom settings" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000020 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",,,"Applying Inf's" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",1,,"rundll32 setupapi,InstallHinfSection XP 128 ..\Windows\Inf\runonceex.inf" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",2,,"rundll32 setupapi,InstallHinfSection DefaultInstall 128 ..\Windows\Inf\Install.inf" Then it seems like, based on the quote I posted above, this is supposed to use some parts of runonceex.inf at the 13 min mark, but other parts won't run until after logon? How does that work? Thanks, Gai-jin
  12. What does the /f do?
  13. That's one thing I hate about nero... seems like they put out a new build every day. Impossible to keep up.
  14. Sorry. Missed that one.
  15. I want remote desktop enabled by default. I did a reg shot after enabling remote desktop, here are the keys that were changed, and the end results. 3 keys were changed by my av program defining last scanned file. these were omitted, since they are obviously not related: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\fDenyTSConnections: 0x00000000 HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch\Epoch: 0x000004C8 HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009" HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009" HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections: 0x00000000 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch\Epoch: 0x000004C8 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009" HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009" Do I need all of these for remote desktop to be enabled? Particularly I wonder what the Epoch keys do. Thanks, Gai-jin
  16. and then I can do away with the other autologon reg file?
  17. How do you do it in winnt.sif? Here's what mine looks like: ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes [unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch=yes TargetPath=\WINDOWS Repartition=Yes WaitForReboot=No OemPnPDriversPath="Drivers\001\AsusSMBus;Drivers\002\AsusIDE;Drivers\006\SI3112r;Drivers\008\Ethernet;Drivers\010\AsusGart;Drivers\015\Audio" [GuiUnattended] AdminPassword=asldfjasdf EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1 [userData] ProductKey=123-456-789-000-000 FullName="PC Owner" OrgName="" ComputerName=MyComputer [TapiLocation] CountryCode=1 Dialing=Tone AreaCode=402 [RegionalSettings] LanguageGroup=1 Language=00000409 [identification] JoinWorkgroup=MSHome [Networking] InstallDefaultComponents=Yes [Components] msnexplr=off zonegames=off msmsgs=off Media_clips=off Media_utopia=off [url] Home_Page=http://www.google.com Help_Page=http://support.microsoft.com Search_Page=http://www.google.com [GuiRunOnce] %systemdrive%\install\cd2.cmd
  18. I'd like to have the system set so that it will auto-logon once to install all my programs, but then not autologon from there on out. (especially since I change the admin user password after I log in for the first time). Right now, to get the auto login, I'm using: autologon.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="Owner" "DefaultPassword"="" "AutoAdminLogon"="1" Any suggestions would be welcome. Gai-jin
  19. [edit] double posted in error
  20. Nero Version : 6.3.1.15 Here's the section of runonce.cmd that launches nero. ECHO Installing Nero Burning ROM... ECHO Please wait... start "" /wait %systemdrive%\install\Applications\Nero\Nero63115.exe /silent /noreboot /no_ui /sn=mmmm-xxxx-3333-xxxx-3333-xxxx /write_sn Here are other, somewhat related, files: CD2.cmd (copies files over from disc two, then launces runonce.) CLS @ECHO OFF ECHO. ECHO Ejecting CD-ROM Drives... ECHO If you are using a cd rom please remove it from ECHO the cdrom drive and If you have a second cd place ECHO it in the drive at this time please. ECHO. ECHO. ECHO Wait till the cdrom/dvd drive quits blinking ECHO and then press any key to continue. start %systemdrive%\install\Tools\cdr open ECHO. PAUSE IF EXIST %systemdrive%\install\runonce.cmd GOTO RUNBATCH SET CDROM2= IF EXIST D:\install\runonce.cmd SET CDROM2=D: IF EXIST E:\install\runonce.cmd SET CDROM2=E: IF EXIST F:\install\runonce.cmd SET CDROM2=F: IF EXIST G:\install\runonce.cmd SET CDROM2=G: IF EXIST H:\install\runonce.cmd SET CDROM2=H: IF EXIST I:\install\runonce.cmd SET CDROM2=I: IF EXIST J:\install\runonce.cmd SET CDROM2=J: IF EXIST K:\install\runonce.cmd SET CDROM2=K: ECHO Please be patient while files are copied to your hard drive. xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y ECHO. start /wait %systemdrive%\install\runonce.CMD ECHO Restarting the PC in 30 seconds... shutdown -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!" ECHO. ::ECHO Deleting Temp Installation Files... ::RD /S /Q %systemdrive%\install ::RD /S /Q %systemdrive%\Drivers ::ECHO. EXIT The Nero setup files are actually on disc one in $oem$\$1\install\applications\nero\ Anything else I can offer to help troubleshoot?
  21. I'm having trouble. This seems to be an intermittent problem, and so far the only pattern I think I've noticed is it happens only when I'm doing a 2 cd install, not an install from dvd (but I wouldn't swear even to that). For some reason, nero setup intermittently crashes during the runonce phase of my install. It seems as though it finishes the setup (or most of it) before it starts acting up, as nero works fine after install. Anyone have ideas as to why this is happening? Gai-jin
  22. Perhaps part of the confusion is that some people don't seem to understand what RTM means. RTM is a term used by software companies to say that the software has been released to 'manufacturing' not to manufacturers. This term is used for all software developed by microsoft. all it means is the build is final, and we're sending this version to the company that makes our cd's for us. With most software, theres a manufacturing time, where a company presses millions of cds, then the sofware ends up on store shelves. Since this is a free download, it was put on the web within days, no real 'maufacturing' time. But essentially, RTM means this is the final bits which will be distributed to the public.
  23. My multi disc install isn't working with xp sp2. The CD_eject.vbs script doesn't seem to work anymore. Is this part of the new security of sp2? Anyone else having trouble? Gai-jin
  24. Which reg file? This key? HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","SFCSetting",0x00010001,0xffffff9d ?
  25. Okay, then what am I missing. It says clearly on that page that the sfc file method is NOT recommended, as if there is another method. Then it presents the reg key thing, so I thought that was the other method. What is the recommended method?
×
×
  • Create New...