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

Posted on 2011-10-09
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
    LVL 1

    Accepted Solution

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

    Author Closing Comment

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

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    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…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now