Adiel Posted October 12, 2004 Posted October 12, 2004 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 herehttp://www.msfn.org/board/index.php?showtopic=29486and 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 : 3can't find the path specifiedbut 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 offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Applications Install By Adiel" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /f REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG 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.logREG 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.logREG 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.logREG ADD %KEY%\015 /VE /D "BSplayer Pro v1.02.812" /fREG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\Install\Applications\BSplayer Pro v1.02.812\bsplayerpro100.812.exe\" /S" /f >> %windir%\apps.logREG 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\\"" /fREG ADD %KEY%\030 /VE /D "Nero Burning Rom v6.6.0.0" /fREG 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.logREG ADD %KEY%\040 /VE /D "Spybot Search n Destroy 1.3" /fREG ADD %KEY%\040 /V 1 /D "\"%systemdrive%\Install\Applications\Spybot v1.3\spybot.exe\" /VERYSILENT /SP-" /f >> %windir%\apps.logREG ADD %KEY%\045 /VE /D "SpySweeper v3.2.0 build 146" /fREG ADD %KEY%\045 /V 1 /D "\"%systemdrive%\Install\Applications\SpySweeper v3.2.0 build 146\sspsetup1_80164.exe\" /VERYSILENT /SP-" /f >> %windir%\apps.logREG 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\\"" /fREG ADD %KEY%\045 /V 3 /D "cmd.exe /c cmdow /run /hid \ATTRIB +R +H \"%programfiles%\Webroot\Spy Sweeper\install.dat\" /fREG 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.logREG ADD %KEY%\055 /VE /D "Winamp Pro v5.05" /fREG 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.logREG ADD %KEY%\060 /VE /D "Windows Media Player 10 Final" /fREG 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.logREG ADD %KEY%\065 /VE /D "Winrar 3.40 Final" /fREG ADD %KEY%\065 /V 1 /D "\"%systemdrive%\Install\Applications\Winrar v3.40 Final\wrar340.exe\" /s" /f >> %windir%\apps.logREG 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\\"" /fREG ADD %KEY%\070 /VE /D "Cleaning Up and Rebooting Computer.." /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f >> %windir%\apps.logEXITthanks all 'helpers'
BritishBulldog Posted October 12, 2004 Posted October 12, 2004 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 " /fwhich 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" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Install\winamp\winamp.msi /qb INI=%CDROM%\Install\winamp\setup.ini" /fthe registry shows D:\Install\winamp\winamp.msi /qb INI=\Install\winamp\setup.iniyour 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 thisSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG 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.logsaved 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.
Adiel Posted October 12, 2004 Author Posted October 12, 2004 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\?
BritishBulldog Posted October 12, 2004 Posted October 12, 2004 the full path is in the RunOnceEX.cmd file HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExHKLM = HKEY_LOCAL_MACHINEtry something like thisREG 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.logto 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.logis 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" /fREG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg" /fREG ADD %KEY%\030 /V 2 /D "%systemdrive%\Install\Applications\Nero v6.6.0.0\Nero.exe" /f >> %windir%\apps.logagain too many \" in the commandREG 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
Adiel Posted October 12, 2004 Author Posted October 12, 2004 i'll try this , tnxEDITabout the xskinsetting , i guess its correct , many ppl using it..
BritishBulldog Posted October 12, 2004 Posted October 12, 2004 i think the Nero one should actually look like thisREG ADD %KEY%\030 /VE /D "Nero Burning Rom v6.6.0.0" /fREG ADD %KEY%\030 /V 1 /D "\"REGEDIT /S %systemdrive%\Install\Applications\Nero v6.6.0.0\reg.reg"\" /fREG ADD %KEY%\030 /V 2 /D "\"%systemdrive%\Install\Applications\Nero v6.6.0.0\Nero.exe"\" /f >> %windir%\apps.logbecause you have gaps in your program path 'Nero v6.6.0.0'it will then look like this
BritishBulldog Posted October 12, 2004 Posted October 12, 2004 try this on the BS PlayerREG 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\\" /for thisREG 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\\"" /fand on the WinRARREG 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\\" /for thisREG 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
spachtler Posted November 7, 2004 Posted November 7, 2004 maybe this answer is not at the rigt place here, i had some problemswith installing wmp10 silent and saw this list of the runonceex andtryed its line for wmp10. works perfect and i just want to say thanks, adiel!!!! greez, spachtler
BritishBulldog Posted November 7, 2004 Posted November 7, 2004 Dafür ist dieses Forum auch da :-)Gruss
Bâshrat the Sneaky Posted November 7, 2004 Posted November 7, 2004 LOL eine Brithis Bulldog speaking Deutsch Adiel, IMHO you've made it difficult for yourself, why don't you just make some small batchfiles? All those slashes and backslashes
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