January 15, 200521 yr I created my first unattended windows cd, thank you very much for the information.The problem is in the T-12 minute of the installation ( when it reads my cmdlines.txt) it gets stuck , i see a flash of a command screen , the command screen exits , and then my installtion does nothing anymore.My cmdlines.txt[COMMANDS]"useraccounts.cmd""RunOnceEx.cmd" My useraccount.cmdnet user Elias (password) /addnet localgroup Administrators Elias /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXIT My RunOneEX.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Programmakes aant installere..." /fREG ADD %KEY%\001 /VE /D "Klaarmaken voor installatie..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Winrar 3.42" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\wrar342.exe /sREG ADD %KEY%\010 /VE /D "Alcohol 120 %" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\trial_setup.msi /qn" /fREG ADD %KEY%\015 /VE /D "Deamon Tools" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\daemon347.exe /qn /Reboot=SuppressREG ADD %KEY%\020 /VE /D "Firefox" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\fire.exe /sREG ADD %KEY%\025 /VE /D "DU Meter 3" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\DUMeter-Install.exe /VERYSILENT /SP-REG ADD %KEY%\030 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\035 /VE /D "ABC" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\ABC.exe /sREG ADD %KEY%\040 /VE /D "Messenger v7.0" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\MsnMsgs.msi /qb" /fREG ADD %KEY%\040 /V 2 /D "pskill.exe msnmsgr.exe" /fREG ADD %KEY%\045 /VE /D ".NET Framework 1.1 SP1" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\netfxsp1.exe"REG ADD %KEY%\045 /VE /D "Acrobat Reader 7" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\acroread7.exe"EXIT Thanks,EliasPS: sorry for my english
January 15, 200521 yr what is in your prepare.cmd?try removing "useraccounts.cmd" from your cmdlines.txtand try to install again.
January 15, 200521 yr Author This: cmdow @ /HIDDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Programmatoegang en -instellingen.lnk"DEL "%AllUsersProfile%\Start Menu\Windows-catalogus.lnk"EXIT
January 15, 200521 yr put a pause @ The end of each script & try again, this will show u the error, also, be sure that both files are in same directory as cmdlines.txt cuz u arent specifying an alternate path
January 15, 200521 yr not @PauseJUSTpauseShouldn't really make a difference. Adding @ to the start of a batch line should just ensure that the line is not echoed, regardless of whether or not "echo off" has been set previously. Hence the reason so many batch files start with the line@echo off
January 16, 200521 yr I can tell you your problem is in your runonceex.... you have a ton of entries with no end quotes as well as no '/f' at the end of each line. Not only that but your last 2 entries use the same numbers (045)... Clean that thing up!!
January 16, 200521 yr try to make a regonceex.cmd with THIS SOFTWARE (click)then edit it very good piece of software
Create an account or sign in to comment