Specifying the path to ISCmdBld is not possible

I'm working on a build procedure using InstallShiled X. When I try to  browse to ISCmdBld.exe in Tools - Options I get the message "An error occurred in the application" (continue/restart/close application). When I try to enter the file specification (C:\Program Files\InstallShield X\ISCmdBld.exe) manually I do not get an error, but after closing and re-opening FinalBuilder the file specification is lost.

The call stack in the bug report shows me that the error occurs in module "FBInstallShield.bpl", unit "FBInstallShieldOptions2Frame", line 81, function "TNewerInstallShieldOptionsFrame.txtDevIsCmdBldLocationButtonClick". (Due to the settings of my e-mail program I cannot use "mail bug report". I did not find an option to save the bug report to a file - maybe it is a good idea to add this option to a next build of FinalBuilder).

Is this a known bug. Do you have a work around?

Notes:

- I use builld 6.1.0.866 (but the same problem occured in previous builds).

- I can specify the ISCmdBld location and use it until I close FinalBuilder.

Regards,

Herman

Hi Herman,

Will look into this now. In the meantime, please add the following code to the before action script event of the InstallShield action (JavaScript):

InstallShieldOpt = GetOptionsObject(“InstallShield”);
InstallShieldOpt.DevISCmdBldLocation = “c:\the path to ISCmdBld”; // make sure you use double backslashes in the path


This build fixes the crash when browsing for the InstallShield path:
https://www.finalbuilder.com/downloads/finalbuilder/610/FB610_921.exe

I haven’t been able to reproduce the problem that the entered value dissapears after FinalBuilder is closed. Can you make sure your FinalBuilder6.ini file is writeable?
C:\Documents and Settings\All Users\Application Data\VSoft\FinalBuilder6\FinalBuilder6.ini

I installed the new build. The problem when I try to browse to the InstallShield location is fixed now. I still cannot save the InstallShield location in the INI file. I checked if I can write to the INI file by switching off some packages I do not use.

The "Before Action" script you mentioned is a good work-around for the problem. I can now continue to finish my build script.

I just loaded another FinalBuilder project. Now the InstallShield location is stored in the INI file. Both projects now seem to read the InstallShield location correctly.

Hi

Just to confirm, i to have seen this crash, and i couldn't enter a value manually either.

Wkr.

Svend.

Hi

I installed build 921, and even though it dosn't crash anymore, it continues to forget the path. The ini file isn't wite protected and there is a line in the final builder section that tell's the path :

[FinalBuilder]
FBVersion=6.1.0.921
DevCmdBldLocation=C:\Program Files\InstallShield 10.5\System\IScMDbLD.EXE

 Wkr.

Svend

Hi Svend,

This is quite strange. I’ll continue to investigate - in the meantime please use the workaround mentioned at the top of this thread.

Problem found and fixed - will let you know when a new build is ready.

New build here:

https://www.finalbuilder.com/downloads/finalbuilder/610/FB610_935.exe