cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hide Build Warnings Selectively

Hide Build Warnings Selectively

Summary

InstallShield 2008 introduced the ability to selectively hide certain build warnings for all InstallShield projects, or for a specific project.

Synopsis

InstallShield 2008 introduced the ability to selectively hide certain build warnings for all InstallShield projects, or for a specific project. This article explains how to accomplish this.

Discussion

WARNING: Please use this functionality with caution, as build warnings are typically displayed for valid reasons and may indicate a problem area within your InstallShield project. InstallShield does not recommend ignoring these warnings, and cannot be held liable for problems arising from hiding these warnings.
All Projects
Turning off build warnings for all InstallShield projects is typically a feature that setup authors with large numbers of existing projects can take advantage of most. This allows them to disable select build warnings for all of their projects from a single source. To accomplish this, follow the steps below:
  1. Locate the "settings.xml" file in the following folder: <InstallShield Installation Directory>\Support\0409\
  2. Open it in Notepad or similar text editor and locate the following section: <Warnings Disable=""/>
  3. Between the quotation marks, enter the build warning numbers to be hidden delimited by commas.
Example: <Warnings Disable="-1234,-5678"/>
If using the InstallShield 2008-2010 Standalone Build, build warnings can be turned off in similar fashion by modifying the similar file under the folder: <InstallShield Installation Directory>\IS 2008 StandaloneBuild\Support\0409
If using the InstallShield 2011 or later Standalone Build, build warnings can be turned off in similar fashion by modifying the similar file under the folder: <InstallShield Installation Directory>\2011 SAB\Support\0409
An Individual Project
Turning off build warnings for a specific project may be helpful in order to selectively ignore certain warnings that will not be addressed in the future. To turn off build warnings for a specific InstallShield project, simply follow the steps below:
  1. Select the "Direct Editor" view within the InstallShield IDE.
  2. Highlight the "InstallShield" table.
  3. Create a new row at the bottom of this table and enter "DisableWarnings" in the Property column.
  4. Enter the build warning numbers to be hidden delimited by commas in the Value column.

Additional Information

NOTE: This method will NOT work for InstallScript or Basic MSI compiler warnings, only build warnings.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Oct 17, 2007 07:50 PM
Updated by: