1) IS doc, Command line compiler entry:
============================
the syntax is shown:
Compile script_file [ inx_file ] [ switches ]
while the example shows:
Compile -I"C:\Program Files\InstallShield\InstallShield Professional
6\Include" "C:\MyInstallations\Test Pad\Script Files\Setup.rul"
so which is right? it seems to like the switches before the script_file,
but I'm not sure.
Also, the include switch is shown as either /i or -I, is this a typo? It's
the only switch that shows two different cases.
2) IS doc, Command line tools batch file example:
==================================
the path is set in the bat file:
REM Set the search path to find InstallShield's command line tools
Path C:\Progra~1\Instal~1\Instal~1.1pr\Program;%PATH%
so is this correct syntax? I don't get what the "Instal~1.1pr" part does,
so I'm not sure if I'm setting my path right.
3) My results with this bat file:
====================
I changed the file to set the path as
PATH "C:\Program Files\Common Files\InstallShield\IScript"; %Path%
the compiler is called,
REM Execute the command line compiler
Compile -I"C:\Program Files\InstallShield\InstallShield Professional
6\Include" "C:\My Installations\Test Pad\Script Files\setup.rul" >
ISBuild.rpt
and I get the error:
C:\Program Files\InstallShield\InstallShield Professional
6\Include\ifx.h(7) : fatal error F8511: can't open include file
line 7 of ifx.h:
#include "ISRT.h"
the only ISRT.h on my system is at C:\Program
Files\InstallShield\InstallShield Professional 6\Script\ISRT\include.
ok, so I modify the batfile compile line to include this path as well
REM Execute the command line compiler
Compile -I"C:\Program Files\InstallShield\InstallShield Professional
6\Include";"C:\Program Files\InstallShield\InstallShield Professional
6\Script\ISRT\Include" "C:\My Installations\Test Pad\Script Files\setup.rul"
> ISBuild.rpt
compilation then errors out after reaching max errors. All errors are of
the form
C:\Program Files\InstallShield\InstallShield Professional
6\Inlude\WinSub.h(XX) : error C8014: 'XXXX" : identifier already defined.
So how can I make this work? This is the example from the documentation for
crying out loud and it's turning into a rathole.
Help and Thanks
Isaac Brock