Jump to content

Silent install without starting the app after install.


Recommended Posts

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 off

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

REG ADD %KEY% /V TITLE /D "Installing Applications (cmd
" /f

REG ADD %KEY%\005 /VE /D "7 Zip" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\7-Zip.exe /S" /f

REG ADD %KEY%\006 /VE /D "Smart Defrag" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\defragsetup.exe /Silent" /f

REG ADD %KEY%\007 /VE /D "Game Booster" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\gamebooster.exe /Silent" /f

REG ADD %KEY%\096 /VE /D "Adobe Reader" /f
REG ADD %KEY%\096 /V 1 /D "%systemdrive%\install\AdobeReader.exe /msi EULA_ACCEPT=YES /qn" /f

REG ADD %KEY%\015 /VE /D "Advance System Care" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\ASC.exe /Silent" /f

REG ADD %KEY%\020 /VE /D "Google Chrome" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\chrome.exe /S" /f

REG ADD %KEY%\025 /VE /D "Direct X" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\DirectX.exe /Q" /f

REG ADD %KEY%\035 /VE /D "Flash Player" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\FP10.exe /S" /f

REG ADD %KEY%\040 /VE /D "Google Earth" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\GoogleEarth.exe /S/v/qn /V"/qb"" /f

REG ADD %KEY%\045 /VE /D ".NET 3.5" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\net35.exe /Q" /f

REG ADD %KEY%\050 /VE /D "Microsoft Silverlight" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\silverlight.exe /Q" /f

REG ADD %KEY%\055 /VE /D "Picasa" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Picasa.exe /S" /f

REG ADD %KEY%\060 /VE /D "Skype" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Skype.exe /Silent" /f

REG ADD %KEY%\074 /VE /D "uTorrent" /f
REG ADD %KEY%\074 /V 1 /D "%systemdrive%\install\uTorrent.exe /S" /f

REG ADD %KEY%\080 /VE /D "VLC Media Player" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\VLC.exe /S" /f

REG ADD %KEY%\085 /VE /D "VSO Image Resizer" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\VSO.exe /Silent" /f

REG ADD %KEY%\090 /VE /D "XBox Media Center" /f
REG ADD %KEY%\090 /V 1 /D "%systemdrive%\install\xbmc10.exe /S" /f

REG ADD %KEY%\095 /VE /D "Image Burner" /f
REG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\ImgBurn.exe /S" /f

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

EXIT

Any idea what switches would stop that?

Link to comment
Share on other sites


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?

Link to comment
Share on other sites

Actually Utorrent wont install silent. Smart Defrag, Game Booster, advance system care, Google Chrome, and Picasa all auto start

Can also try utorrent addon (silent) I made.

Try also addon made By Elite in RyanVM.net Forum

Smart Defrag: http://www.ryanvm.net/forum/viewtopic.php?t=7367

Game Booster : No sure if this is the one. http://www.ryanvm.net/forum/viewtopic.php?t=8825

Advance system care: http://www.ryanvm.net/forum/viewtopic.php?t=7349&sid=cf16f94c743fb56ae5198fe38073e16b

Google Chrome: http://www.ryanvm.net/forum/viewtopic.php?t=7345

Picasa : http://www.ryanvm.net/forum/viewtopic.php?t=8240

Edited by Geej
Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

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/

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