Hi,
I have a project that builds/run perfectly fine when used within the IDE. But, for automation purposes, I need to be able to build it from the command prompt. I used the below batch given by a fellow developer, but that hasn't helped as i keep getting Error B102: component, , can not be found
any clues?
thanx
HV
@Echo off
rem This is how my build batch file looks.
rem *************************************
rem Turn off command echo to display.
rem Save the current search path
rem Set the search path to find InstallShield's command line tools
rem Execute the command line compiler
rem Test for success. Quit if there was a compiler error.
rem Build the media
rem Test for success. Quit if there was a build error.
rem Skip over the error handling and exit
rem Report the compiler error; then exit
rem Report the build error; then exit
set SavePath=%Path%
rem path C:\Program Files\InstallShield\InstallShield5 Professional Edition\Program;%PATH%
path C:\PROGRA~1\INSTAL~2\INSTAL~1\Program;%PATH%
del buildlog.txt
rem Compile -I"c:\Program Files\InstallShield\InstallShield5 Professional Edition\Include;c:\MyApp\Script Files" "c:\MyApp\Script Files\Setup.rul" > buildlog.txt
Compile -I"C:\PROGRA~1\INSTAL~2\INSTAL~1\Include;c:\MyApp\Script Files" "c:\MyApp\Script Files\Setup.rul" > buildlog.txt
If errorlevel 1 goto CompilerErrorOccurred
ISbuild -p"c:\MyApp" -m"Default" > buildlog.txt
If errorlevel 1 goto BuildErrorOccurred
del buildlog.txt
Goto Done
:CompilerErrorOccurred
Echo Error on compile; media not built.
Pause Press any key to view report.
Type buildlog.txt | More
Goto Done
:BuildErrorOccurred
Echo Error on build; media not built.
Pause Press any key to view report.
echo ********************************* PATH ****************************************
path
Type buildlog.txt | More
rem Restore the search path
: Done
Path=%SavePath%
Set SavePath=
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

isbuild issues..
Started by
harishv
, Aug 01 2003 00:30
2 replies to this topic
Posted 01 August 2003 - 11:20
Shouldn't that be
set path C:\PROGRA~1\INSTAL~2\INSTAL~1\Program;%PATH%
set path C:\PROGRA~1\INSTAL~2\INSTAL~1\Program;%PATH%
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 August 2003 - 16:22
well, the path is set correctly. i printed out the path to check it out. dont know what BLANK component it is looking for!! it is a real pain to manually add all of your exe & dll files & go thru' the IDE to get setup.exe. Command line automation is pretty much a standard requirement & dont understand why there isn't much help on this!!