# Installshield 2012 task failing even though the build is suuccesfull

**URL:** https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001
**Category:** Discussion
**Created:** [June 20, 2012, 8:29am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001 "2012-06-20T08:29:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 20, 2012, 8:29am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/1 "2012-06-20T08:29:55Z")

</div>

Hello,

When running the final builder InstallShield 2012 task, the task is flagged as error even though the build is successful.&nbsp; The InstallShield build log says zero (0) errors and there is only one warning. The install is also created OK in the output folder. Also note that the "Treat warnings as errors" option is not selected. I think it's worth mentioning that I don't see the full build log in the FB output. Here are last couple of lines:

Dialog SetupType for language English (United States) built  
Dialog SplashBitmap for language English (United States) built  
Resolving strings...  
Language English (United States) buil

And the warning:

ISDEV : warning -6245: One or more of the project's components contain .NET properties that require the .NET Framework.&nbsp; It is recommended that the release include the .NET Framework.

Any suggestions as to why would FB mark this build as failure?

Thanks,

Tina

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 20, 2012, 9:44am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/2 "2012-06-20T09:44:15Z")

</div>

I forgot to mention that I am using Final Builder version 7.0.0.1864

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 21, 2012, 12:33pm UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/3 "2012-06-21T12:33:03Z")

</div>

The problem is that Installshield is reporting a non zero exit code, which is supposed to mean that the build failed :   
  
 [http://community.flexerasoftware.com/showthread.php?t=199423](http://community.flexerasoftware.com/showthread.php?t=199423)   
  
 This is a common and ongoing issue with installshield.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 28, 2012, 10:07am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/4 "2012-06-28T10:07:25Z")

</div>

Thanks for your answer. I am new to FB and in process of learning it. I was wondering, is there a way to tell FB - if you get this error code, treat it as a success?   
 Thanks,   
 Tina

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 29, 2012, 2:16am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/5 "2012-06-29T02:16:02Z")

</div>

In the AfterAction script event of the Installshield action, you can add some script to check the Action.ReturnCode , eg :   
  
 [CODE]if (!ActionResult){ if (Action.ReturnCode == 1234) { ActionResult = true; Continue = true; }}[/CODE]   
  
 You will need to see what return code Installshield is reporting, unfortunately the multitude of returncodes installshield uses do not appear to be documented anywhere.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 30, 2012, 9:16am UTC](https://www.finalbuilder.com/forums/t/installshield-2012-task-failing-even-though-the-build-is-suuccesfull/2001/6 "2012-06-30T09:16:01Z")

</div>

Thank you. Your answer was of great help.   
 Tina
