jpaytoncfd Posted May 29, 2011 Posted May 29, 2011 I have a runonceex setup but several applications start after they install and it clutters things up and I think caused an error.This is the file:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications (cmd" /fREG ADD %KEY%\005 /VE /D "7 Zip" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\7-Zip.exe /S" /fREG ADD %KEY%\006 /VE /D "Smart Defrag" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\defragsetup.exe /Silent" /fREG ADD %KEY%\007 /VE /D "Game Booster" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\gamebooster.exe /Silent" /fREG ADD %KEY%\096 /VE /D "Adobe Reader" /fREG ADD %KEY%\096 /V 1 /D "%systemdrive%\install\AdobeReader.exe /msi EULA_ACCEPT=YES /qn" /fREG ADD %KEY%\015 /VE /D "Advance System Care" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\ASC.exe /Silent" /fREG ADD %KEY%\020 /VE /D "Google Chrome" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\chrome.exe /S" /fREG ADD %KEY%\025 /VE /D "Direct X" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\DirectX.exe /Q" /fREG ADD %KEY%\035 /VE /D "Flash Player" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\FP10.exe /S" /fREG ADD %KEY%\040 /VE /D "Google Earth" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\GoogleEarth.exe /S/v/qn /V"/qb"" /fREG ADD %KEY%\045 /VE /D ".NET 3.5" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\net35.exe /Q" /fREG ADD %KEY%\050 /VE /D "Microsoft Silverlight" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\silverlight.exe /Q" /fREG ADD %KEY%\055 /VE /D "Picasa" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Picasa.exe /S" /fREG ADD %KEY%\060 /VE /D "Skype" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Skype.exe /Silent" /fREG ADD %KEY%\074 /VE /D "uTorrent" /fREG ADD %KEY%\074 /V 1 /D "%systemdrive%\install\uTorrent.exe /S" /fREG ADD %KEY%\080 /VE /D "VLC Media Player" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\VLC.exe /S" /fREG ADD %KEY%\085 /VE /D "VSO Image Resizer" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\VSO.exe /Silent" /fREG ADD %KEY%\090 /VE /D "XBox Media Center" /fREG ADD %KEY%\090 /V 1 /D "%systemdrive%\install\xbmc10.exe /S" /fREG ADD %KEY%\095 /VE /D "Image Burner" /fREG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\ImgBurn.exe /S" /fREG ADD %KEY%\100 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITAny idea what switches would stop that?
Sp0iLedBrAt Posted May 29, 2011 Posted May 29, 2011 Could you say which applications? I'm guessing Skype and uTorrent...Maybe you could use Taskkill http://technet.microsoft.com/en-us/library/bb491009.aspx after the ones that start.
jpaytoncfd Posted May 30, 2011 Author Posted May 30, 2011 Actually Utorrent wont install silent. Smart Defrag, Game Booster, advance system care, Google Chrome, and Picasa all auto start
myselfidem Posted May 30, 2011 Posted May 30, 2011 Remove [cmdow @ /HID] and check the silent switches!
jpaytoncfd Posted May 30, 2011 Author Posted May 30, 2011 What do you mean check the silent switches? They all work and install silent, but some start the program after installing. Is there anywhere that lists all possible switches for each installer?
Sp0iLedBrAt Posted May 30, 2011 Posted May 30, 2011 This could help you http://www.msfn.org/board/topic/12657-application-switches-contributions-only/Did you try taskkill? Please report back
Geej Posted May 31, 2011 Posted May 31, 2011 (edited) Actually Utorrent wont install silent. Smart Defrag, Game Booster, advance system care, Google Chrome, and Picasa all auto startCan also try utorrent addon (silent) I made.Try also addon made By Elite in RyanVM.net ForumSmart Defrag: http://www.ryanvm.net/forum/viewtopic.php?t=7367Game Booster : No sure if this is the one. http://www.ryanvm.net/forum/viewtopic.php?t=8825Advance system care: http://www.ryanvm.net/forum/viewtopic.php?t=7349&sid=cf16f94c743fb56ae5198fe38073e16bGoogle Chrome: http://www.ryanvm.net/forum/viewtopic.php?t=7345Picasa : http://www.ryanvm.net/forum/viewtopic.php?t=8240 Edited May 31, 2011 by Geej
jpaytoncfd Posted June 17, 2011 Author Posted June 17, 2011 Ok, hijacking my own thread. I am using task kill and its working great untill I tried to use it on home. First I copyed taskkill to the home installer. now runonceex starts after the last task kill. So it only installs the apps after that last taskkill.
myselfidem Posted June 17, 2011 Posted June 17, 2011 With some programs wanted connect to Internet or wanted to launch after the installation I use SFX modified module successfully for silent install!I install first the program on my computer with the preference needed and I save the reg file (HKCU\Software\My_Program) to use with SFX!Example with Expert PDF:Expert_7.txt;!@Install@!UTF-8!GUIMode="2"RunProgram="ISAdmin.exe /s"RunProgram="regedit /s Expert.reg" ;!@InstallEnd@!http://www.msfn.org/board/topic/101552-7z-sfx-modified-module-and-tools/http://7zsfx.info/en/
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now