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.
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
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.
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 :