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> p\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.
Related Articles
Build Warning 6245 7Number of Views Build Warning 3114 4Number of Views Show or hide rejected advisories (rejection notices) 11Number of Views Build Warning -7346 4Number of Views Build Warning 6220 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago