MS Windows - InstallShield some dialogs only in UI mode but not in Silent

Posted on 2011-10-09
Medium Priority
Last Modified: 2012-05-12
Some dialogs only in UI mode but not in Silent.
These dialogs even not recorded in setup.iss file with "... -r -f1setup.iss" option.

How to fix this?

Question by:longjumps
  • 2

Accepted Solution

longjumps earned 0 total points
ID: 37055144
Creating a Silent Installation
If you want to create an installation that will be run in silent mode, create your installation in a typical
manner, and test the script in the normal (non-silent) manner.
You can easily modify your installation script logic to include flow control based on whether your
installation is being run in silent mode. InstallShield provides a system variable called MODE. The MODE
variable contains one of the following constants to identify the installation’s current mode:
• NORMALMODE—Indicates that the installation is running in normal mode.
• RECORDMODE—Indicates that the Setup.exe file is automatically generating a silent installation file
(.iss file), which is a record of the installation input, in the Windows folder.
• SILENTMODE—Indicates that the installation is running in silent mode.
For more information, see MODE.
Tip: All InstallShield built-in and Sd dialogs automatically handle the values stored in the InstallShield Silent response file
(.iss file). If you are creating custom dialogs, you will need to call SilentReadData to handle the dialog’s return values in
silent mode.
After you have created or modified the installation, the next step in creating a silent installation is to
create the response file.

Author Closing Comment

ID: 37055147
I wait a long time, but no answer was here.
Analyzing the issue  found solution and provided it.

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question