You are on page 1of 6

KEDB _ Silent Installation

By

Mounika Vemuri

06/10/2014

KEDB

1
Why Silent installation? What are the parameters needed for it?
We will go for silent installation for two reasons

1. If the size of the .exe is too large

2. If it is calling three or more MSIs

.EXE File:

Run the .exe file from a command line

To determine which switches are available in the package, use one of the following Help switches when
you run the package at a command line:
 /?
 /h
 /help

The following table lists the command-line switches that are supported by Microsoft Self-Extractor
 /quiet - Runs the package in silent mode
 /passive - Runs the update without any interaction from the user.
 /norestart - Prevents prompting of the user when a restart of the computer is needed.
 /forcerestart - Forces a restart of the computer as soon as the update is finished.

For Installshield .EXE File:

The following are the command line parameters:

-r
This option causes Setup.exe to automatically generate a silent response file (.iss), which is a record of
the installation input, in the systemroot folder (typically C:\WinNT).
-s
This option performs a silent (unattended) installation.

-f1<path\ResponseFile>
This option allows you to specify the alternate location and name of the response file (.iss file). If the -f1
switch is not used when you run silent installation, Setup searches for the response file Setup.iss in the
same folder as Setup.exe.

-f2<path\LogFile>
This option allows you to specify an alternate location and name of the log file. By default, the Setup.log
log file is created and stored in the systemroot  folder (typically C:\Winnt).

-z
Prevents Setup.exe from checking the available memory during initialization. This switch is necessary
when running Setup on a computer with more than 256 megabytes (MB) of memory. If it is not used,
Setup.exe reports insufficient memory and exits.

2
Silent installation for Microsoft Applications:
To specify silent installation options in Config.xml

1. Open the Config.xml file using Notepad.

2. Locate the line that contains the Display element, as shown in the following example:
<!-- <Display Level="full" CompletionNotice="yes" SuppressModal="no"
AcceptEula="no" /> -->

3. Modify the Display element entry with the silent options that you want to use. Make sure that you
remove the comment delimiters, "<!--" and "-->."

For example, use the following syntax:


<Display Level="none" CompletionNotice="no" SuppressModal="yes"
AcceptEula="yes" />
These options will direct Setup to run silently, prevent the prompting of users to enter information,
and prevent the installation from waiting for user interactions.

4. To suppress restarts, add the following lines:


<Setting Id="SETUP_REBOOT" Value="Never" />
<Setting Id="REBOOT" Value="ReallySuppress"/>

5. Save the Config.xml file.

Where we will get the kernel drivers?


Path of Kernel drivers:

Msinfo32.msc - System Summary\Software Environment\System Drivers.

What are Machine Scripts in Deployment Config?


Machine Scripts are the package can be configured to execute scripts at time of deployment, publishing
or removal. These Scripts will run for all users.

3
References:
http://publib.boulder.ibm.com/tividd/td/framework/GC32-0804-00/en_US/HTML/instgu25.htm

http://technet.microsoft.com/en-us/library/aa216713(v=sql.80).aspx

http://technet.microsoft.com/en-us/library/dd630736(v=office.15).aspx

http://www.itninja.com/static/090770319967727eb89b428d77dcac07.pdf

http://technet.microsoft.com/en-us/library/jj713466.aspx

4
Disclaimer
Tech Mahindra, herein referred to as TechM provide a wide array of presentations and reports, with the
contributions of various professionals. These presentations and reports are for informational purposes
and private circulation only and do not constitute an offer to buy or sell any securities mentioned therein.
They do not purport to be a complete description of the markets conditions or developments referred to in
the material. While utmost care has been taken in preparing the above, we claim no responsibility for their
accuracy. We shall not be liable for any direct or indirect losses arising from the use thereof and the
viewers are requested to use the information contained herein at their own risk. These presentations and
reports should not be reproduced, re-circulated, published in any media, website or otherwise, in any form
or manner, in part or as a whole, without the express consent in writing of TechM or its subsidiaries. Any
unauthorized use, disclosure or public dissemination of information contained herein is prohibited. Unless
specifically noted, TechM is not responsible for the content of these presentations and/or the opinions of
the presenters. Individual situations and local practices and standards may vary, so viewers and others
utilizing information contained within a presentation are free to adopt differing standards and approaches
as they see fit. You may not repackage or sell the presentation. Products and names mentioned in
materials or presentations are the property of their respective owners and the mention of them does not
constitute an endorsement by TechM. Information contained in a presentation hosted or promoted by
TechM is provided “as is” without warranty of any kind, either expressed or implied, including any
warranty of merchantability or fitness for a particular purpose. TechM assumes no liability or responsibility
for the contents of a presentation or the opinions expressed by the presenters. All expressions of opinion
are subject to change without notice.

5
Thank You
Visit us at techmahindra.com

You might also like