setting up an update script to run files from blog The Technology blog and podcast
This is for the technology blog and podcast Commentary, articles, and podcasts
setting up an update script to run files
Hi.
this shows you how to set an update script for files.
I have a lot of files I share in dropbox to update.
A lot of the files have command line switches you can do.
msi files are windows installers
msiexec /? will give you a list.
searching for innosetup command line switches gives me a list of
switches I can use.
Know your installer, each installer has its characteristics.
running the installer with /? may give you help or not.
for adobe it told me commands I could use and also that it supported
windows installer commands.
Making the file
1. in the editer of choice I use notepad.
type @echo off at the top of a file.
this stops everyone hearing your code being output to the general public.
1. flash installs.
I have always found it a good idea to install the flash plugin first
then the activex especially when updating.
The following will install the programs for flash in a quite mode but
with progress bar updates.
passive will do this -i installs -r repairs -u uninstalls.
quiet is quiet
norestart, forcerestart and promptrestart will do exactly as the
commands say they will.
If in doubt and you have a command you are not sure about put it at
the end of the file.
If you are not sure if one command finnishes or you want to make sure
something does not belly up on you put pause between commands so you
need to hit enter to process the next step in the file.
msiexec /i install_flash_player_11_plugin.msi /passive
msiexec /i install_flash_player_11_active_x.msi /passive
the next files are inosetups
/silent displays progress bar updates
/varysilent doesn’t.
there are other switches you can search for them online on innosetup.com
vlc-2.0.7-win32.exe /silent
K-Lite_Codec_Pack_995_x64.exe /silent
K-Lite_Codec_Pack_995_Mega.exe /silent
ccsetup402.exe /silent
Dropbox 2.0.26.exe /silent
In some situations where you need to install a program that needs
user interaction put it below your list of automated things or if
you have many like this make a file with that sort of stuff.
for example
SkypeSetup.exe
now adobe.
AdbeRdr11003_en_US.exe /spb /norestart
spb puts it in silent mode with progress bars and s puts it in silent.
norestart makes sure you don’t restart.
At this point we are done so you could just tell it to restart but
remember we have that script file.
it will need to wait for the program to finnish before its safe to kill itself.
if in doubt
put pause
exit
in that order in the file to make sure it exits then restarts.
This is a simple batch program you can find more commands by
searching ms dos batch programming or windows7 batch programming for
special commands.
Informazioni sull'articolo
setting up an update script to run files was released on June 15, 2013 at 1:38 pm by crashmaster in general-updates-and-announcements.
Last modified: June 15, 2013.
Comments (0)
No comments yet.
Leave a comment
You must be logged in to post a comment.
navigation menu
- Archives
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- Categories of this blog
- Subscribe to Blog via Email
- The tech blog’s pages
- Blogroll