Invoking the InstallShield compiler from UltraEdit

by Paul Arnett <PArnett@sscinc.com>

You can configure a command button to compile the script, and have UltraEdit
capture the output and display it in a results pane.  That was cool, but
here's what REALLY got me.  If there are errors, and they show up in the
output pane, you can double-click on any error and UltraEdit takes you right
to the offending line of code!

INSTRUCTIONS:

Here is what I have and it seems to work without any hangups.  When I was
calling the compile executable directly, it displayed some conpany info
before the actual output, and UltraEdit would return an error if you tried
double-clicking on one of those lines.  The attached wrapper scripts will
filter-out everything except the actual compile errors.
 
Place the attached files in your InstallShield "Program" folder.
 
Under "Tool Configuration" create a "Compile" command with this info:
    Command Line: "C:\Program Files\InstallShield\InstallShield 5.5
Professional Edition\Program\Compile.bat" %P
    Working Directory: %p
    Menu Item Name: Compile
And check the following options:
    Save All Files First
    Output to List Box
    Capture Output
 
If you want to create a "debug" command, it will be the same as "compile",
with a few exceptions:
    Command Line: "C:\Program Files\InstallShield\InstallShield 5.5
Professional Edition\Program\debug.bat" %P %modify%<enter media name>
    Menu Item Name: Debug
 
Note: When you launch the debugger, It's going to ask you to modify the
command.  All you have to do is replace "<enter media name>" with the name
of the media to debug your script with.
 
