Adiel Posted October 10, 2004 Posted October 10, 2004 Hallo,i got some problems with runonceex i can't resolve , if u can help me i'll be glad first problem - taskkill is not killing the tasks i set to kill!2nd problem - for some reason, after installing ad aware and adobe reader, i see in the installation window"Cleaning up and rebooting" , which delets the `Install` folder, and i can't cuntinue the other apps installation,al though its not rebooting, and its last task on the runonceexe file..heres my RunOnceEx cmd file :EDIT : found the problem with taskkill - forgot to put /D before the taskkill 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" /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 "taskkill /IM Ad-Aware.exe"REG ADD %KEY%\005 /V 3 "taskkill /IM hh.exe"REG ADD %KEY%\010 /VE /D "Adobe Reader 6.0"RED ADD %KEY%\010 /V 1 /D "\"%systemdrive%\Install\Applications\Adobe Reader 6\AdbeRdr60_enu_full.exe\" -p"-s /v\"/qn\""REG 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 6\Setup.exe\" /silent=1 /silent /no_ui /qn /noreboot" /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 S&D 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%\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="xxxxxxxxxxxxxxxxxxxxxx" 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.logEXIT
oioldman Posted October 11, 2004 Posted October 11, 2004 On ad-aware, i use a pause so that the windows will open before killing them. You may be trying to kill to early.Also notice that you don't tell it where taskill actually is, your lettig it assume it should know, as not path is used.
Adiel Posted October 11, 2004 Author Posted October 11, 2004 @oioldmanlook at the EDIT i made yesterday :"EDIT : found the problem with taskkill - forgot to put /D before the taskkill"But tnx anyway
oioldman Posted October 11, 2004 Posted October 11, 2004 Oops, didn't see that in the inital read.note to self, open eyes in future
Adiel Posted October 11, 2004 Author Posted October 11, 2004 lol nvm i'm just stuck with the rebooting thing :\
MHz Posted October 11, 2004 Posted October 11, 2004 Try this switch for Adobe Reader-p\"-s /v\"/qn\"\""
MHz Posted October 11, 2004 Posted October 11, 2004 that's the one i'm using.. or isn't? :\Notice the backslash after the -p ?
lilweirddude Posted October 11, 2004 Posted October 11, 2004 im just wondering what apps.log isdoes it record which programs get installed or something?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now