EliasXP Posted January 15, 2005 Share Posted January 15, 2005 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 Link to comment Share on other sites More sharing options...
Astalavista Posted January 15, 2005 Share Posted January 15, 2005 what is in your prepare.cmd?try removing "useraccounts.cmd" from your cmdlines.txtand try to install again. Link to comment Share on other sites More sharing options...
EliasXP Posted January 15, 2005 Author Share Posted January 15, 2005 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 Link to comment Share on other sites More sharing options...
MCT Posted January 15, 2005 Share Posted January 15, 2005 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 Link to comment Share on other sites More sharing options...
EliasXP Posted January 15, 2005 Author Share Posted January 15, 2005 i'll try @pauseyes , there in the same directorythanks Link to comment Share on other sites More sharing options...
MCT Posted January 15, 2005 Share Posted January 15, 2005 not @PauseJUSTpause Link to comment Share on other sites More sharing options...
EliasXP Posted January 15, 2005 Author Share Posted January 15, 2005 oke , sorry Link to comment Share on other sites More sharing options...
Cartoonite Posted January 15, 2005 Share Posted January 15, 2005 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 Link to comment Share on other sites More sharing options...
durex Posted January 16, 2005 Share Posted January 16, 2005 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!! Link to comment Share on other sites More sharing options...
EliasXP Posted January 16, 2005 Author Share Posted January 16, 2005 i'll try that nowThanks, Link to comment Share on other sites More sharing options...
Mr.Gamer Posted January 16, 2005 Share Posted January 16, 2005 try to make a regonceex.cmd with THIS SOFTWARE (click)then edit it very good piece of software Link to comment Share on other sites More sharing options...
EliasXP Posted January 16, 2005 Author Share Posted January 16, 2005 Thanks,My Unattended windows works now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now