MSFN Forum: Help With Runonceex.cmd - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help With Runonceex.cmd Please help me! Rate Topic: -----

#1 User is offline   viewsonic 

  • Group: Members
  • Posts: 5
  • Joined: 13-February 05

  Posted 18 February 2005 - 04:40 PM

Can anyone please look over my runonceex.cmd file? I chcked it but i seem to be running into some problems right when it gets to installing java and going on from there... see below:

Quote

cmdow @ /HID
@echo off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\variablerazvan.txt SET CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Windows is now installing applications..." /f

REG ADD %KEY%\005 /VE /D "MSN Messenger 6" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\apps\msn\MsnMsgs.msi /qn" /f

REG ADD %KEY%\015 /VE /D "Office 2003 Professional" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%\025 /VE /D "Winrar" /f
REG ADD %KEY%\025 /V 1 /D "%CDROM%\apps\winrar\setup.exe /S" /f

REG ADD %KEY%\030 /VE /D "Acrobat Reader 7 Lite Version" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\apps\acro\acro7lite.exe" /f

REG ADD %KEY%\035 /VE /D "eMule Special Edition" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\apps\emule_install.cmd" /f

REG ADD %KEY%\037 /VE /D "Mozilla Firefox" /f
REG ADD %KEY%\037 /V 1 /D "%CDROM%\apps\firefox\firefox.exe" /f

REG ADD %KEY%\040 /VE /D "FlashGet 1.65" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\apps\flashget\fgf165.exe /S" /f
REG ADD %KEY%\040 /V 2 /D "%CDROM%\apps\flashget_serial_tweak.cmd" /f

REG ADD %KEY%\047 /VE /D "Nero Burning ROM 6.6 Reloaded" /f
REG ADD %KEY%\047 /V 1 /D "REGEDIT /S %CDROM%\apps\Nero\register.reg" /f
REG ADD %KEY%\047 /V 2 /D "%CDROM%\apps\Nero\nero6600.exe" /f

-->also at nero, it doesnt install fully automated, it still asks for me to what i want to install...<---

REG ADD %KEY%\050 /VE /D "Adobe Photoshop 7" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\apps\photoshop\Setup.exe" /f

REG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /f
REG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=".\silent.inf"" /f

REG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v"/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=C:\Progra~1\Java] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=0]"" /f

---> From here on, nothing gets installed! I dont know why! <--- :unsure:

REG ADD %KEY%\060 /VE /D "Winamp 5.08D" /f
REG ADD %KEY%\060 /V 1 /D "%CDROM%\apps\winamp\install.cmd" /f

REG ADD %KEY%\065 /VE /D "AnyDVD 4.5.7.2 Stable" /f
REG ADD %KEY%\065 /V 1 /D "%CDROM%\apps\anydvd\SetupAnyDVD4572.exe /S" /f
REG ADD %KEY%\065 /V 2 /D "%CDROM%\apps\anydvd\Key.AnyDVD" /f

REG ADD %KEY%\070 /VE /D "CloneCD 5.1.0.0 Stable" /f
REG ADD %KEY%\070 /V 1 /D "%CDROM%\apps\clonecd\SetupCloneCD5100.exe /S" /f
REG ADD %KEY%\070 /V 2 /D "%CDROM%\apps\clonecd\Key.CloneCD" /f

REG ADD %KEY%\075 /VE /D "BitComet v1201" /f
REG ADD %KEY%\075 /V 1 /D "%CDROM%\apps\bitcomet\bcomet1201unst.exe /S D=%systemdrive%:\progra~1\BitCmt /NCRC" /f

REG ADD %KEY%\076 /VE /D "FlashFXP Scene Edition" /f
REG ADD %KEY%\076 /V 1 /D "%CDROM%\apps\fxp\flashfxp.exe /SILENT" /f
REG ADD %KEY%\076 /V 2 /D "%CDROM%\apps\fxp\reg.cmd" /f

REG ADD %KEY%\077 /VE /D "Installing Flash and Shockwave Player" /f
REG ADD %KEY%\077 /V 1 /D "%CDROM%\apps\shockwave\flashshockwavefull.exe /s" /f

REG ADD %KEY%\077 /VE /D "Daemon Tools 3.47" /f
REG ADD %KEY%\077 /V 1 /D "%CDROM%\apps\daemontools\daemon347.msi /qn REBOOT=ReallySuppress" /f

REG ADD %KEY%\078 /VE /D "Alcohol 120 Percent" /f
REG ADD %KEY%\078 /V 1 /D "%CDROM%\apps\alcoh[SIZE=7][SIZE=7]ol\setup.exe /qn REBOOT=Suppress" /f
REG ADD %KEY%\078 /V 2 /D "REGEDIT /S %CDROM%\apps\alcohol\register.reg" /f

REG ADD %KEY%\079 /VE /D "Lavasoft Ad-Aware SE Pro 1.5" /f
REG ADD %KEY%\079 /V 1 /D "%CDROM%\apps\Ad-Aware\aawSEPro105install.vbs" /f

REG ADD %KEY%\080 /VE /D "Lavasoft Ad-Aware SE Pro Plugins" /f
REG ADD %KEY%\080 /V 1 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plfilespecs.exe /s" /f
REG ADD %KEY%\080 /V 2 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plhexdump.exe /s" /f
REG ADD %KEY%\080 /V 3 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\pllspexplorer.exe /s" /f
REG ADD %KEY%\080 /V 4 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plmessengerstop.exe /s" /f
REG ADD %KEY%\080 /V 5 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\ploemessenger.exe /s" /f
REG ADD %KEY%\080 /V 6 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\pltweakse.exe /s" /f
REG ADD %KEY%\080 /V 7 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plvx2cleaner.exe /s" /f

REG ADD %KEY%\081 /VE /D "mIRC 6.16" /f
REG ADD %KEY%\081 /V 1 /D "%CDROM%\apps\mirc\instal.cmd" /f

REG ADD %KEY%\095 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\095 /V 1 /D "REGEDIT /S %CDROM%\apps\tweaks.reg" /f

REG ADD %KEY%\100 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\100 /V 1 /D "%CDROM%\apps\cleanup.cmd" /f

EXIT


Any help will be really appreciated! :}


#2 User is offline   ^_^ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 298
  • Joined: 05-June 04

Posted 18 February 2005 - 04:46 PM

I can't answer all of the problems, but the nero should read more like
%systemdrive%\install\Apps\Nero6\nero6600.exe /silent /noreboot /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_sn


now I use batch file on a floppy to run my stuff, and when I run into a problem, I echo out the line that seems to be causeing the problem, just to make sure the rest works.
Maybe you could move the java entry down to the bottom of the list and see if all works then :}

#3 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 18 February 2005 - 04:51 PM

What exactly DOES happen? Do they appear in the RunOnceEX window? are they just skipped during execution?

REG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /f
REG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=".\silent.inf"" /f

Should be
REG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /f
REG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=\".\silent.inf\"" /f


REG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v"/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=C:\Progra~1\Java] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=0]"" /f

Should be
REG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v\"/qn ADDLOCAL=jrecore,extra,other_US IEXPLORER=1 MOZILLA=1 INSTALLDIR=C:\Progra~1\Java REBOOT=Suppress JAVAUPDATE=0 CUSTOM=0\"" /f

That's all the parse errors i could see off the bat. I'm guessing it's your screwy quotes messing things up :)

Also, I don't believe all those [] around the MSI Properties were neccesary, nor do I believe you know what some of them do.
[ADDLOCAL=jrecore[,extra][,other_US] | ALL]

Is giving you an option of all the different stuff. To be used it must be
ADDLOCAL=jrecore

or
ADDLOCAL=jrecore,extra,other_US

or
ADDLOCAL=ALL

Understand what I'm getting at? It's just listing the possible values for YOU to choose.

#4 User is offline   viewsonic 

  • Group: Members
  • Posts: 5
  • Joined: 13-February 05

Posted 18 February 2005 - 04:56 PM

@ ^_^: I will try that for nero and java...

@Alanoll: Everything after the java does NOT appear in the runonceex window. It seems they are just skipped, because nothing installs after the java entry (which is at the bottom of the runonceex window). Just to confirm this, I checked the program files directory on my hdd, and the rest of the apps arent installed... i hope you understand better now.

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 18 February 2005 - 04:57 PM

viewsonic, on Feb 18 2005, 04:56 PM, said:

@ ^_^:  I will try that for nero and java...

@Alanoll: Everything after the java does NOT appear in the runonceex window. It seems they are just skipped, because nothing installs after the java entry (which is at the bottom of the runonceex window). Just to confirm this, I checked the program files directory on my hdd, and the rest of the apps arent installed... i hope you understand better now.
<{POST_SNAPBACK}>

I edited my post, so perhaps you could take a look :whistle: Hope my edits make your stuff work.

#6 User is offline   viewsonic 

  • Group: Members
  • Posts: 5
  • Joined: 13-February 05

Posted 18 February 2005 - 05:04 PM

ahh, i see, i found a referance on the java site and i popped it in ;), I will test the install out with the updates, and I will let you know how it goes from there!

#7 User is offline   Stinger12348 

  • Junior
  • Pip
  • Group: Members
  • Posts: 78
  • Joined: 31-July 03

Posted 18 February 2005 - 05:05 PM

nevermind

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy