Adiel Posted August 19, 2004 Share Posted August 19, 2004 well i finally got over the BSOD problem now its my apps install :|shall we start?1. half of my programs requires me to log on as admin, and can't install without logged as admin, i tried to log as admin, with no pass cuz i set my password blank and it says it can't log with blank password, how can i make the administrator log on b4 the runonceex is excuting?heres my useraccounts.cmd file :net user User /addnet localgroup Administrators Home /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITheres the autologon.regWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="User""DefaultPassword"="AutoAdminLogon"="1"2.in istall, i see the ">> %windir%\apps.log" line next to the "Alcohol 120%" title, even thought i included a space in my runonceex here :REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logREG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Alcohol\reg.reg" /f >> %windir%\apps.logand another problem just like this, instead of seeing in the apps install window the title "office 2003 pro + sp1" i see the ""%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" line.. heres the part of the runonce of office :REG ADD %KEY%\050 /VE /D "Office 2003 Pro + Sp1" /f >> %windir%\apps.logREG ADD %KEY%\050 /VE /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f >> %windir%\apps.log3. after K-Lite is installed the C:\install\klite folder is opened, why? heres the runonce part of klite :REG ADD %KEY%\035 /VE /D "K-Lite Codec Pack 2.24" /f >> %windir%\apps.logREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Applications\K-lite codec\klcodec224s.exe /SILENT" /f >> %windir%\apps.log4. when installing nero, the install window opens, how can i make him not open? heres the runonce part of nero :REG ADD %KEY%\040 /VE /D "Nero Burning Rom v6.3.11.7" /f >> %windir%\apps.logREG ADD %KEY%\040 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg" /f >> %windir%\apps.logREG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\Applications\Nero\nero63117.exe /silent /noreboot" /f >> %windir%\apps.log5. when trying to install winrar it says : "C:\program files\Winrar is not accesible".. heres the runonce part of winrar :REG ADD %KEY%\085 /VE /D "Winrar 3.40 Beta 4" /f >> %windir%\apps.logREG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\Applications\Winrar\wrar34b4.exe /s" /f >> %windir%\apps.log6. the deafault theme i've created won't install - heres the winnt.sif part acoording to themes :[Shell] CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royale.msstyles" DefaultStartPanelOff = Yes DefaultThemesOff = Noi'll be very very glad if u can answer my questions and problems, thank all who'll try and thanks to those which will succeed helping me Link to comment Share on other sites More sharing options...
eth0 Posted August 19, 2004 Share Posted August 19, 2004 in istall, i see the ">> %windir%\apps.log" line next to the "Alcohol 120%" title, even thought i included a space in my runonceex here :REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logREG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Alcohol\reg.reg" /f >> %windir%\apps.logWhy the >> logfile twice?You only need it on the second line..and another problem just like this, instead of seeing in the apps install window the title "office 2003 pro + sp1" i see the ""%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" line.. heres the part of the runonce of office :REG ADD %KEY%\050 /VE /D "Office 2003 Pro + Sp1" /f >> %windir%\apps.logREG ADD %KEY%\050 /VE /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f >> %windir%\apps.logHeh.. compare your registry entries to the one for alcohol.*mumbles about /VE*3. after K-Lite is installed the C:\install\klite folder is opened, why? heres the runonce part of klite :REG ADD %KEY%\035 /VE /D "K-Lite Codec Pack 2.24" /f >> %windir%\apps.logREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Applications\K-lite codec\klcodec224s.exe /SILENT" /f >> %windir%\apps.logHeh.Bet you if you dry-run your .cmd and check your registry key that it 'll sayc:\Install\Applications\K-liteUse more quotation marks to wrap the commandline.http://unattended.msfn.org/xp/runonceex.htm <<< highly suggest you read that one once more, especially the summary regarding testing. Link to comment Share on other sites More sharing options...
MCT Posted August 19, 2004 Share Posted August 19, 2004 "DefaultPassword"=""u need "" @ the end 2 specify blank/nothing Link to comment Share on other sites More sharing options...
Adiel Posted August 19, 2004 Author Share Posted August 19, 2004 thank u both, any body knows about 4 5 and 6??? Link to comment Share on other sites More sharing options...
Adiel Posted August 19, 2004 Author Share Posted August 19, 2004 any suggestions? Link to comment Share on other sites More sharing options...
tropho Posted August 25, 2004 Share Posted August 25, 2004 Each line must have a unique number!QUOTE:REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logSHOULD BE:REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\016 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logIf you duplicate numbers chaos ensues... Link to comment Share on other sites More sharing options...
nivek7 Posted August 25, 2004 Share Posted August 25, 2004 Each line must have a unique number!QUOTE:REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logSHOULD BE:REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\016 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logIf you duplicate numbers chaos ensues...err... i dont think that is correct. correct me if im wrong. (it was originally right) Link to comment Share on other sites More sharing options...
dirtyepic Posted August 25, 2004 Share Posted August 25, 2004 wrong. you are correct....REG ADD %KEY%\015 /VE /D "Alcohol 120%" /f >> %windir%\apps.logREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn" /f >> %windir%\apps.logis the way to do it. Link to comment Share on other sites More sharing options...
dirtyepic Posted August 25, 2004 Share Posted August 25, 2004 actually, scratch that. the numbering is right, but the command isn't.the >> *.log is what's screwing it up. take those off or put them inside the /f's/f is a switch of REG. the command your adding has to go:REG ADD [key] /V [value] /D [data] /fso..REG ADD %KEY%\015 /VE /D "Alcohol 120%" /fREG ADD %KEY%\015 /v 1 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn >> %windir%\apps.log" /fis the way to do it.if you need to have a title in your log do:REG ADD %KEY%\015 /VE /D "Alcohol 120%" /fREG ADD %KEY%\015 /V 1 /D "echo \"Alcohol 120%\" >> %windir%\apps.log" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\Applications\Alcohol\setup.exe /qn >> %windir%\apps.log" /fyou can't >> a line of text, ">>" captures output of a command. so use "echo \"Whatever\" >> app.log" Link to comment Share on other sites More sharing options...
Astalavista Posted August 25, 2004 Share Posted August 25, 2004 god this is so funny...all of the runonceex.cmd commands u could ever need is already listedat http://unattended.msfn.org/xp/applications.htmproblem is someone people don't like to read... 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