This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Hide Build Warnings Selectively
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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:
- Locate the "settings.xml" file in the following folder: <InstallShield Installation Directory>\Support\0409\
- Open it in Notepad or similar text editor and locate the following section: <Warnings Disable=""/>
- 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:
-
Select the "Direct Editor" view within the InstallShield IDE.
-
Highlight the "InstallShield" table.
-
Create a new row at the bottom of this table and enter "DisableWarnings" in the Property column.
-
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.
No ratings