# Wise Installation Studio 7.0 bug

**URL:** https://www.finalbuilder.com/forums/t/wise-installation-studio-7-0-bug/3228
**Category:** Bugs
**Created:** [March 24, 2010, 3:22am UTC](https://www.finalbuilder.com/forums/t/wise-installation-studio-7-0-bug/3228 "2010-03-24T03:22:39Z")
**Posts on this page:** 3
**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: [March 24, 2010, 3:22am UTC](https://www.finalbuilder.com/forums/t/wise-installation-studio-7-0-bug/3228/1 "2010-03-24T03:22:39Z")

</div>

&nbsp;

The Wise Wiindows Installer action&nbsp;triggers a bug in Wise Installation Studio 7.0.

The file versions for the files included with the install project are not updated in the resulting msi. And if I remember correctly there where also some other failures.

This is not exactly a bug in FinalBuilder, but the action is useless, as it can not build a correct install package with Wise Installation Studio 7.0.  
More about the problem here:  
[https://kb.altiris.com/display/1/kb...n=13&s](https://kb.altiris.com/display/1/kb/article.asp?aid=36476&n=13&s)=

The problem can be worked around, if you change the action implementation to use OLE automation, instead of command line execution.

I use the following script now, to build my install packages:

//////////////////////////////////////  
//setup  
ActionResult = false; //default result  
var strProjectFile&nbsp;&nbsp;&nbsp; = FBVariables.PROJECT\_BUILD\_PATH+'\\someproject.wsi';  
var strProjectVersion = FBVariables.PROJECT\_VERINFO\_PRODUCT\_VERSIONNUMBER;  
var strProjectName&nbsp;&nbsp;&nbsp; = ProductVersionInfo.ProductName;  
var strProductMfg&nbsp;&nbsp;&nbsp;&nbsp; = ProductVersionInfo.CompanyName;  
//var strReleaseToBuild = 'Default';

//////////////////////////////////////  
//run  
Action.SendLogMessage('Creating Wise for Windows Installer object');  
var wiseProject = new ActiveXObject('WFWI.WFWIProject');  
wiseProject.SilentMode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = true;  
wiseProject.ThrowExceptions = true;

Action.SendLogMessage('Opening project file: '+strProjectFile);  
wiseProject.Open(strProjectFile);

wiseProject.Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = strProjectVersion;  
wiseProject.Manufacturer = strProductMfg;  
wiseProject.ProductName&nbsp; = strProjectName;

Action.SendLogMessage('&nbsp;&nbsp;&nbsp; ProductName:&nbsp; '+wiseProject.ProductName);  
Action.SendLogMessage('&nbsp;&nbsp;&nbsp; Manufacturer: '+wiseProject.Manufacturer);  
Action.SendLogMessage('&nbsp;&nbsp;&nbsp; Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '+wiseProject.Version);

wiseProject.Properties.Item('ProductCode').Value = wiseProject.GenerateGuid();  
Action.SendLogMessage('Saving project file: '+strProjectFile);  
wiseProject.Save(strProjectFile);

FBVariables.PROJECT\_CLIENT\_MsiProductCode = wiseProject.ProductCode;  
Action.SendLogMessage('ProductCode: '+wiseProject.ProductCode+'&nbsp;'  
+FBVariables.PROJECT\_CLIENT\_MsiProductCode);

Action.SendLogMessage('Compiling project file: '+strProjectFile);

var compileResult;  
compileResult = wiseProject.Compile(strProjectFile);  
wiseProject = null;

if (compileResult) {  
&nbsp; Action.SendLogMessage('SUCCESS');  
&nbsp; ActionResult = true;  
} else {  
&nbsp; Action.SendLogMessage('FAILURE');  
&nbsp; ActionResult = false;  
&nbsp; //throw 'Failed to compile Wise for Windows Installer project.';  
}

&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [March 24, 2010, 11:23am UTC](https://www.finalbuilder.com/forums/t/wise-installation-studio-7-0-bug/3228/2 "2010-03-24T11:23:36Z")

</div>

Hi Christoph,   
  
 Thanks for explaining the bug and offering a workaround for this bug with Wise Installation Studio 7.0. Has Symantec released any information about whether this bug will be fixed?   
  
 Regards,   
 Paul.

---

<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: [April 8, 2010, 1:23am UTC](https://www.finalbuilder.com/forums/t/wise-installation-studio-7-0-bug/3228/3 "2010-04-08T01:23:13Z")

</div>

I have not found anything about Symantec wanting to fix anything regarding Wise Installation Studio.

-rant-  
As I see it, Symantec has no interrest in the product, they only have it because it was included when they bought Altiris, and the product will die.&nbsp;This is IMHO typical Symantec,&nbsp; I have had similar experiences with other "now Symantec" products. As soon as a product gets&nbsp;infected with the&nbsp;Symantec brand, you can flush it.  
-rant-

We will use other tools (wix or i don't know yet) for new windows installer projects, and eventually also migrate our existing Wise Installation Studio projects over. But for now we have to keep the Wise Installation Studio projects building.

I can understand if you do not want to bother spending time and money on getting that symantec piece of crap working in FinalBuilder, but maybe you could add some info about the workaround to the help file (or action description) for other poor souls to find.
