Jump to content

I can't resolve this!


acaro

Recommended Posts

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!!!!

post-80-1108073104_thumb.png

Link to comment
Share on other sites


@ acaro

Your CD Structure is correct

The content of your cmdlines.txt is correct

I think we may need to see your RunOnceEx.cmd, this is the most likely cause of the problem.

@ lysip

The [GUIRUNONCE] section in winnt.sif is not required.

Link to comment
Share on other sites

This is my runonceex.cmd:


cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Instalando Aplicaciones..." /f

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 6" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Aplicaciones\AReader6\ADBERDR60_ESP_FULL.EXE /qn" /f

REG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /f

REG ADD %KEY%\003 /VE /D "McAfee ViruScan Enterprise 8.0i" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\Aplicaciones\VSC\vse800.msi /qb" /f

REG ADD %KEY%\004 /VE /D "Sun Java VM 1.4.2" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\Install\Aplicaciones\Java\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn" /f

REG ADD %KEY%\005 /VE /D "Microsoft JavaVM - Build 3810" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\JavaVM\MSJavaVM_3810.exe" /f

REG ADD %KEY%\006 /VE /D "Mozilla FireFox v1.0 Español" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Aplicaciones\firefox\setup.exe -ms -ira" /f

REG ADD %KEY%\007 /VE /D "RealPlayer Alternative" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\Aplicaciones\RAlt\realalt129.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\008 /VE /D "QuickTime Alternative" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\Aplicaciones\QAlt\quicktimealt139.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\009 /VE /D "Spyware Blaster v3.2" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\Aplicaciones\Spyw\spywareblastersetup.exe /verysilent" /f


REG ADD %KEY%\010 /VE /D "Office XP Professional con SP3" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Aplicaciones\OfficeXP\PROPLUS.msi /QB" /f


REG ADD %KEY%\011 /VE /D "Nero Burning Rom 6.6.0.6" /f
REG ADD %KEY%\011 /V 1 /D "%systemdrive%\Install\Aplicaciones\Nero\nero6606.exe" /f
REG ADD %KEY%\011 /V 2 /D "%systemdrive%\Install\Aplicaciones\Nero\NeroLang.exe" /f

REG ADD %KEY%\012 /VE /D "NeroVision Express v3.0.1.18" /f
REG ADD %KEY%\012 /V 1 /D "%systemdrive%\Install\Aplicaciones\Nero\vision.exe" /f
REG ADD %KEY%\012 /V 2 /D "%systemdrive%\Install\Aplicaciones\Nero\visionLang.exe" /f

REG ADD %KEY%\013 /VE /D ".NET Framework 1.1" /f
REG ADD %KEY%\013 /V 1 /D "%systemdrive%\install\aplicaciones\netf\dotnetfx.exe" /f

REG ADD %KEY%\098 /VE /D "Importando Entradas al Registro" /f
REG ADD %KEY%\098 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

REG ADD %KEY%\099 /VE /D "Limpieza Final y Reiniciado" /f
REG ADD %KEY%\099 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

i 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

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

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

your using XP spanish are you not?

ok u can download a totally silent adobe acrobat here

and 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.

df5_Snap2.png

move it to where u see the same folders as I386

Importando Entradas al Registro - move that to the same folder

as cmdlines.txt and add this

[COMMANDS]"REGEDIT /S tweaks.reg"

"RunonceEX.cmd"

321_Snap1.png

RunonceEX.rar

Link to comment
Share on other sites

@Astalavista

Why would he have to move everything to install from the CD? His RunOnceEX clearly has %systemdrive%.

@acaro

First : http://www.msfn.org/board/index.php?showto...ndpost&p=270687

Second, remove the cmdow line, and then just before the

EXIT

in your batch file, put a

PAUSE

And 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

@Astalavista

Why 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. hehhehehe

before

REG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /f

REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /f

after

REG ADD %KEY%\002 /VE /D "WinRAR 3.42 Corporativa" /f

REG ADD %KEY%\002 /V 1 /D "%cdrom%\Aplicaciones\WinRAR\WinRAR342ce.exe /s" /f

Link to comment
Share on other sites

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

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 :D )

to others: thanks for show my errors in application switches.

Link to comment
Share on other sites

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  :D  )

to others: thanks for show my errors in application switches.

pretty much explains what Astalavista did to your code:

http://unattended.msfn.org/advanced/methods/runonceex_cd.htm

But 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...