Jump to content

Some problems with RunOnceEx


Adiel

Recommended Posts

Hi guys,

i'm having some problems with apps install using runonceex.cmd..

the first one is that XCOPY command - just don't copy! no error massage no nothing - just not copying any file ! and i got cmdow.exe file in $$\System32 folder.

the 2nd one is with Nero 6.6.0.0 i followed simonsays thread here

http://www.msfn.org/board/index.php?showtopic=29486

and i tried installing with switches , but in the 2 ways i get the same error massage saying :

An error accured during the copy proccess (file name.)
Error : 3
can't find the path specified

but notice - it installs some components and then stops with this error massage.

the 3rd one is with SunJava 5.0 - it just don't install. again no error massage no nothing just don't install itself.

4th one and the last one - when installing winamp 5.05 using the msi and allanol instructions (i think its allanol), winamp don't install - its poping up an installer help window with silent switches ..

heres my runonceex.cmd file , i've bolded the area of the apps upthere (lol) :

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Applications Install By Adiel" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\003 /VE /D ".NET Framework 1.1"

REG ADD %KEY%\003 /V 1 /D "\"%systemdrive%\install\Applications\DotNet Framework 1.1\netfxsp1.exe\" /f >> %windir%\apps.log

REG ADD %KEY%\005 /VE /D "Ad-aware SE Pro Build 1.05 Retail"

REG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\install\Applications\Ad-Aware SE Pro v1.05 Retail\aawsepro.exe\" /s" /f >> %windir%\apps.log

REG ADD %KEY%\005 /V 2 /D "taskkill /IM Ad-Aware.exe"

REG ADD %KEY%\005 /V 3 /D "taskkill /IM hh.exe"

REG ADD %KEY%\010 /VE /D "Adobe Reader 6.02"

RED ADD %KEY%\010 /V 1 /D "\"%systemdrive%\Install\Applications\Adobe Reader 6.02\acroread602.exe\"" /f >> %windir%\apps.log

REG ADD %KEY%\015 /VE /D "BSplayer Pro v1.02.812" /f

REG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\Install\Applications\BSplayer Pro v1.02.812\bsplayerpro100.812.exe\" /S" /f >> %windir%\apps.log

REG ADD %KEY%\015 /V 2 /D "cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\Install\Applications\BSplayer Pro v1.02.812\key.reg \""%ProgramFiles%\Webteh\BSplayerPro\\"" /f

REG ADD %KEY%\030 /VE /D "Nero Burning Rom v6.6.0.0" /f

REG ADD %KEY%\030 /V 1 /D "REGEDIT /S \"%systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg\""

REG ADD %KEY%\030 /V 2 /D "\"%systemdrive%\Install\Applications\Nero v6.6.0.0\Nero.exe\"" /f >> %windir%\apps.log

REG ADD %KEY%\040 /VE /D "Spybot Search n Destroy 1.3" /f

REG ADD %KEY%\040 /V 1 /D "\"%systemdrive%\Install\Applications\Spybot v1.3\spybot.exe\" /VERYSILENT /SP-" /f >> %windir%\apps.log

REG ADD %KEY%\045 /VE /D "SpySweeper v3.2.0 build 146" /f

REG ADD %KEY%\045 /V 1 /D "\"%systemdrive%\Install\Applications\SpySweeper v3.2.0 build 146\sspsetup1_80164.exe\" /VERYSILENT /SP-" /f >> %windir%\apps.log

REG ADD %KEY%\045 /V 2 /D "cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\install\Applications\SpySweeper v3.2.0 build 146\install.dat \"%ProgramFiles%\Webroot\Spy Sweeper\\"" /f

REG ADD %KEY%\045 /V 3 /D "cmd.exe /c cmdow /run /hid \ATTRIB +R +H \"%programfiles%\Webroot\Spy Sweeper\install.dat\" /f

REG ADD %KEY%\050 /VE /D "Sun Java 5.0 (1.5.0) "

REG ADD %KEY%\050 /V 1 /D "\"%systemdrive%\Install\Applications\SunJava 5.0\jre-1_5_0-windows-i586.exe\" /s /qn ADDLOCAL=ADD IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0" /f >> %windir%\apps.log

REG ADD %KEY%\055 /VE /D "Winamp Pro v5.05" /f

REG ADD %KEY%\055 /V 1 /D "\"%systemdrive%\Install\Applications\Winamp Pro v5.05\Winamp.msi\" /qn Xname="WiNAMP" Xkey="XXXX-XXXX-XXXX-XXXX" XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 \" /f >> %windir%\apps.log

REG ADD %KEY%\060 /VE /D "Windows Media Player 10 Final" /f

REG ADD %KEY%\060 /V 1 /D "\"%systemdrive%\Install\Applications\Windows Media Player 10\MP10Setup.exe\" /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f >> %windir%\apps.log

REG ADD %KEY%\065 /VE /D "Winrar 3.40 Final" /f

REG ADD %KEY%\065 /V 1 /D "\"%systemdrive%\Install\Applications\Winrar v3.40 Final\wrar340.exe\" /s" /f >> %windir%\apps.log

REG ADD %KEY%\065 /V 2 /D "cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\install\Applications\Winrar 3.40 Final\rarreg.reg" \"%ProgramFiles%\Winrar\\"" /f

REG ADD %KEY%\070 /VE /D "Cleaning Up and Rebooting Computer.." /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f >> %windir%\apps.log

EXIT

thanks all 'helpers' :)

Link to comment
Share on other sites


Hi Adiel,

i have just checked your winamp line and when it goes into registry it is as

"C:\Install\Applications\Winamp Pro v5.05\Winamp.msi" /qn Xname=WiNAMP Xkey=XXXX-XXXX-XXXX-XXXX XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 " /f

which to me it looks like one " too many, the one directly behind Winamp.msi.

as i gather they have to be in pairs if at all.

my Winamp goes in as

REG ADD %KEY%\055 /VE /D "WinAmp 5.05" /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\Install\winamp\winamp.msi /qb INI=%CDROM%\Install\winamp\setup.ini" /f

the registry shows

D:\Install\winamp\winamp.msi /qb INI=\Install\winamp\setup.ini

your best bet to check them is to add each line to a seperate cmd file and check the registry to see if they are there and what it says.

i did it like this

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

REG ADD %KEY%\065 /V 1 /D "\"%systemdrive%\Install\Applications\Winamp Pro v5.05\Winamp.msi\" /qn Xname="WiNAMP" Xkey="XXXX-XXXX-XXXX-XXXX" XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 \" /f >> %windir%\apps.log

saved it as start.cmd and started it. dont forget to delete the entry in the registry or next start it will try and install ;)

this one does not look right either the two " in the wrong place maybe.

i found most of my settings by trial and error.

cmd.exe /c cmdow /run /hid \xcopy /y "C:\Install\Applications\BSplayer Pro v1.02.812\key.reg "C:\Programme\Webteh\BSplayerPro\

sorry that i cant tell you exactly what the setting are but maybe this will help.

this site has been great help to me and my dvd i made.

Link to comment
Share on other sites

ok , about the winamp - how can i find the KEY later? in which section of regedit?

can u plz give me exact path? (if u know it)

and about the one " too many behind the winamp.msi, where do u see a " behind it? or do u mean the

"\"%systemdrive\

?

Link to comment
Share on other sites

the full path is in the RunOnceEX.cmd file ;)

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

HKLM = HKEY_LOCAL_MACHINE

try something like this

REG ADD %KEY%\055 /V 1 /D "\"%systemdrive%\Install\Applications\Winamp Pro v5.05\Winamp.msi /qn Xname=\"WiNAMP\" Xkey=\"XXXX-XXXX-XXXX-XXXX\" XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 \" /f >> %windir%\apps.log

to get this in the registry

"C:\Install\Applications\Winamp Pro v5.05\Winamp.msi /qn Xname="WiNAMP" Xkey="XXXX-XXXX-XXXX-XXXX" XMODERNSKIN=1 XSkinsetting-MMD3 Xaudio=1 " /f >> C:\WINDOWS\apps.log

is the Xskinsetting-MMD3 correct?

try this for Nero it works for me.

REG ADD %KEY%\030 /VE /D "Nero Burning Rom v6.6.0.0" /f
REG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg" /f
REG ADD %KEY%\030 /V 2 /D "%systemdrive%\Install\Applications\Nero v6.6.0.0\Nero.exe" /f >> %windir%\apps.log

again too many \" in the command

REG ADD %KEY%\030 /V 1 /D "REGEDIT /S \"%systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg\""

and the /f was missing off the middle line

Link to comment
Share on other sites

i think the Nero one should actually look like this

REG ADD %KEY%\030 /VE /D "Nero Burning Rom v6.6.0.0" /f
REG ADD %KEY%\030 /V 1 /D "\"REGEDIT /S %systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg"\" /f
REG ADD %KEY%\030 /V 2 /D "\"%systemdrive%\Install\Applications\Nero v6.6.0.0\Nero.exe"\" /f >> %windir%\apps.log

because you have gaps in your program path 'Nero v6.6.0.0'

it will then look like this

post-80-1097609413_thumb.jpg

Link to comment
Share on other sites

try this on the BS Player

REG ADD %KEY%\015 /V 2 /D "cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\Install\Applications\BSplayer Pro 1.02.812\key.reg\" %ProgramFiles%\Webteh\BSplayerPro\\" /f

or this

REG ADD %KEY%\015 /V 2 /D "\"cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\Install\Applications\BSplayer Pro v1.02.812\key.reg\" %ProgramFiles%\Webteh\BSplayerPro\\"" /f

and on the WinRAR

REG ADD %KEY%\065 /V 2 /D "cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\install\Applications\Winrar 3.40 Final\rarreg.reg\" %ProgramFiles%\Winrar\\" /f

or this

REG ADD %KEY%\065 /V 2 /D "\"cmd.exe /c cmdow /run /hid \xcopy /y \"%systemdrive%\install\Applications\Winrar 3.40 Final\rarreg.reg\" %ProgramFiles%\Winrar\\"" /f

Link to comment
Share on other sites

  • 4 weeks later...

maybe this answer is not at the rigt place here, i had some problems

with installing wmp10 silent and saw this list of the runonceex and

tryed its line for wmp10. works perfect and i just want to say thanks, adiel!!!!

greez, spachtler

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