acaro Posted February 10, 2005 Share Posted February 10, 2005 Hi!!!I have been reading forum ,post, (using the search function of course) but i can't look for the solution.My problem is that my runonceex.cmd file doesn't works. I doens't nothing. I have followed ALL THE STEPS you have done here but i think my cmdlines.txt never executes itself because i go to the registry after the installation and i don't have nothing in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx (is empty).I think i have tried all!!!here you got the picture with my $OEM$ folder.My cmdlines.txt:[COMMANDS]"RunOnceEx.cmd"I have removed [GUIRUNONCE..] in winnt.sif .Do i must to have reference for this files in any file???? I don't know.Sorry for my english but i'm spanish and i don't uset it enough.THANKS!!!! Link to comment Share on other sites More sharing options...
lysip Posted February 10, 2005 Share Posted February 10, 2005 You must set a winnt.sif setting... http://unattended.msfn.org/global/reference.htm Link to comment Share on other sites More sharing options...
Yzöwl Posted February 10, 2005 Share Posted February 10, 2005 @ acaroYour CD Structure is correctThe content of your cmdlines.txt is correctI think we may need to see your RunOnceEx.cmd, this is the most likely cause of the problem.@ lysipThe [GUIRUNONCE] section in winnt.sif is not required. Link to comment Share on other sites More sharing options...
lysip Posted February 10, 2005 Share Posted February 10, 2005 Actually i was thinking it would be "OemPreinstall=Yes". but i could be wrong so no quotes Link to comment Share on other sites More sharing options...
acaro Posted February 15, 2005 Author Share Posted February 15, 2005 This is my runonceex.cmd: cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Instalando Aplicaciones..." /fREG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Aplicaciones\AReader6\ADBERDR60_ESP_FULL.EXE /qn" /fREG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /fREG ADD %KEY%\003 /VE /D "McAfee ViruScan Enterprise 8.0i" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\Aplicaciones\VSC\vse800.msi /qb" /fREG ADD %KEY%\004 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\Install\Aplicaciones\Java\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn" /fREG ADD %KEY%\005 /VE /D "Microsoft JavaVM - Build 3810" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\JavaVM\MSJavaVM_3810.exe" /fREG ADD %KEY%\006 /VE /D "Mozilla FireFox v1.0 Español" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Aplicaciones\firefox\setup.exe -ms -ira" /fREG ADD %KEY%\007 /VE /D "RealPlayer Alternative" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\Aplicaciones\RAlt\realalt129.exe /VERYSILENT /SP-" /fREG ADD %KEY%\008 /VE /D "QuickTime Alternative" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\Aplicaciones\QAlt\quicktimealt139.exe /VERYSILENT /SP-" /fREG ADD %KEY%\009 /VE /D "Spyware Blaster v3.2" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\Aplicaciones\Spyw\spywareblastersetup.exe /verysilent" /fREG ADD %KEY%\010 /VE /D "Office XP Professional con SP3" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Aplicaciones\OfficeXP\PROPLUS.msi /QB" /fREG ADD %KEY%\011 /VE /D "Nero Burning Rom 6.6.0.6" /fREG ADD %KEY%\011 /V 1 /D "%systemdrive%\Install\Aplicaciones\Nero\nero6606.exe" /fREG ADD %KEY%\011 /V 2 /D "%systemdrive%\Install\Aplicaciones\Nero\NeroLang.exe" /fREG ADD %KEY%\012 /VE /D "NeroVision Express v3.0.1.18" /fREG ADD %KEY%\012 /V 1 /D "%systemdrive%\Install\Aplicaciones\Nero\vision.exe" /fREG ADD %KEY%\012 /V 2 /D "%systemdrive%\Install\Aplicaciones\Nero\visionLang.exe" /fREG ADD %KEY%\013 /VE /D ".NET Framework 1.1" /fREG ADD %KEY%\013 /V 1 /D "%systemdrive%\install\aplicaciones\netf\dotnetfx.exe" /fREG ADD %KEY%\098 /VE /D "Importando Entradas al Registro" /fREG ADD %KEY%\098 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\099 /VE /D "Limpieza Final y Reiniciado" /fREG ADD %KEY%\099 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITi think the problem is cmdow but i followed the instructions and i have downloaded and copy the file to \$OEM$\$$\System32. if cmdow is not in his correct location, runonceex.cmd doesn't run , isn't it?I don't have any entry in [GUIRUNONCE] in winnt.sif (the instructions says that this entry must be removed)Thanls for your help!!! Link to comment Share on other sites More sharing options...
acaro Posted February 15, 2005 Author Share Posted February 15, 2005 if i execute runonceex.cmd from cd it adds the registry entries without problems.the problem is during installation the file is like it doesn't exists. Link to comment Share on other sites More sharing options...
sebbe1991 Posted February 15, 2005 Share Posted February 15, 2005 show your winnt.sif (dont show the key!) Link to comment Share on other sites More sharing options...
acaro Posted February 15, 2005 Author Share Posted February 15, 2005 this is my winnt.sif file:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" FileSystem=* TargetPath=\WINDOWS[GuiUnattended] AdminPassword=* EncryptedAdminPassword=No OEMSkipRegional=1 TimeZone=105 OemSkipWelcome=1[UserData] ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="." OrgName="." ComputerName=pc[Display] BitsPerPel=16 Xresolution=1024 YResolution=768 Vrefresh=70[Identification] JoinWorkgroup=GRUPO[Networking] InstallDefaultComponents=Yes[WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall] Mode = 0[IEPopupBlocker] BlockPopups=Yes FilterLevel=Medium ShowInformationBar=Yes[Shell] DefaultThemesOff = "Yes" DefaultStartPanelOff = "Yes" [url="http://%20%20%20%20AutoConfig%20=%201%20%20%20%20Home_Page%20=%20%5burl=http://www.google.com/%5dhttp://www.google.com/"] AutoConfig = 1 Home_Page = [url=http://www.google.com/]http://www.google.com/[/url]as you can see i don't have a lot of options enabled.What's wrong here?????Thanks a lot. Link to comment Share on other sites More sharing options...
Godfatha Posted February 15, 2005 Share Posted February 15, 2005 your cmdlines.txt is correct, the folder architecture is correct, the runonceex seems correct too, but on your winnt.sif, i see ur key section is called ProductID, that is for win2000, what os are u trying to install? change that to ProductKey=xxxxxxxxx...then do u have all files in the correct location u want to run in the runonceex? (like $oem$\$1\install\apps\...) ?and does your OS start correctly after the install? the only difference i see to my setup is that u don't habe a logon script called from cmdlines.txt ( http://unattended.msfn.org/intermediate/users.htm ), maybe u should try that one too, if nothing helps of the said above i am clueless... Link to comment Share on other sites More sharing options...
Astalavista Posted February 15, 2005 Share Posted February 15, 2005 your using XP spanish are you not?ok u can download a totally silent adobe acrobat hereand u can download a netframework totally silent here w/ latest sp1 and hotfixes.I edit your RunonceEX.cmd to run from the CD. check it out i attached at the bottom of this post. If u want to run it from the CD u need to move your Aplicaciones Folder. move it to where u see the same folders as I386Importando Entradas al Registro - move that to the same folderas cmdlines.txt and add this[COMMANDS]"REGEDIT /S tweaks.reg""RunonceEX.cmd" RunonceEX.rar Link to comment Share on other sites More sharing options...
Alanoll Posted February 15, 2005 Share Posted February 15, 2005 @AstalavistaWhy would he have to move everything to install from the CD? His RunOnceEX clearly has %systemdrive%.@acaroFirst : http://www.msfn.org/board/index.php?showto...ndpost&p=270687Second, remove the cmdow line, and then just before the EXITin your batch file, put a PAUSEAnd see if something truly does pop up.Also, the problem with the keys being delete is RunOnceEX (rundll32.exe) is executed EVERYTIME the system starts, and if there are keys there, it tries to execute then DELETES them after trying. Not very good for us to debug unfortunately Link to comment Share on other sites More sharing options...
Astalavista Posted February 15, 2005 Share Posted February 15, 2005 @AstalavistaWhy would he have to move everything to install from the CD? His RunOnceEX clearly has %systemdrive%. i edit his runonceEX.cmd to run from the CD. hehhehehebeforeREG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /fafter REG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /fREG ADD %KEY%\002 /V 1 /D "%cdrom%\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /f Link to comment Share on other sites More sharing options...
acaro Posted February 15, 2005 Author Share Posted February 15, 2005 thanks a lot to all of you for helping me!!!!!i think i have mixed winnt.sif of windows 2000 and windows xp because i'm trying to do a multiOS bootable cd with an $OEM$ folder for each installation. I'm going to trying this and i'm completely sure thant you are in the certain thing.Thanks really to all for your help!!!!PD: is very difficult to understand me with my poor english????? i had a lot of time that i don't spoke in english. (and as you can see it costs a little to me) Link to comment Share on other sites More sharing options...
acaro Posted February 15, 2005 Author Share Posted February 15, 2005 Astalavista, i like very much your idea for install the applications from cd but for the moment i prefer to run it from HD. And i think that it's more fast to install applications from HD when you have a lot of them. If you have a lot, i think from CD will be more slower. (but i'm sure in future i will use it )to others: thanks for show my errors in application switches. Link to comment Share on other sites More sharing options...
Alanoll Posted February 15, 2005 Share Posted February 15, 2005 Astalavista, i like very much your idea for install the applications from cd but for the moment i prefer to run it from HD. And i think that it's more fast to install applications from HD when you have a lot of them. If you have a lot, i think from CD will be more slower. (but i'm sure in future i will use it )to others: thanks for show my errors in application switches.<{POST_SNAPBACK}>pretty much explains what Astalavista did to your code:http://unattended.msfn.org/advanced/methods/runonceex_cd.htmBut in fact, you may notice a speed increase installing directly from CD. If you think about it, either way the files get to the HDD. 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