go to sections menu

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

header picture for Ingegno theme

You are here: general-updates-and-announcements > setting up an update script to run files

Go to Homepage, contents or to navigation menu

setting up an update script to run files

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

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

go to sections menu

navigation menu

go to sections menu