Menu

#8 command line option -compile

open
nobody
None
5
2008-03-13
2008-03-13
No

When opening the attached simple project in the ISTool IDE, and select compile everything works as it should.

When trying to use the command line option, it fails (it does not produce anything):
"c:\Program Files\ISTool\ISTool" -compile makesetup.iss

Discussion

  • Kåre Sloth Jensen

    Example script

     
  • Kåre Sloth Jensen

    Logged In: YES
    user_id=2035455
    Originator: YES

    Seems to work fine if complete absolute path to the script file is specified

     
  • BRM013

    BRM013 - 2008-04-24

    Logged In: YES
    user_id=2071294
    Originator: NO

    I confirm this problem.
    I am able to get the script to run the preconditions but won't continue on with the rest of the process.
    I would really appreciate this being fixed asap as I am in the process of creating an automated build process.

     
  • BRM013

    BRM013 - 2008-04-27

    Logged In: YES
    user_id=2071294
    Originator: NO

    Yes it does work with fully qualified path to the script. Should've tried that!!!

     
  • Nobody/Anonymous

    A work-around is to specify a relative path to the current directory, e.g.:
    instead of command:

    "..\..\..\Inno Setup 5\istool\istool.exe" -compile Setup.iss

    use:

    "..\..\..\Inno Setup 5\istool\istool.exe" -compile .\Setup.iss

    The .\ prefix does the trick. If not used, ISTool attempts to include the project file name to the output path as a directory, e.g.:

    C:\MyProject\Setup.iss\Output\

    and this - of course - must fail.

    Regards
    Tomas

     
  • Nobody/Anonymous

    instead
    "c:\Program Files\ISTool\ISTool" -compile makesetup.iss

    write
    "c:\Program Files\ISTool\ISTool" -compile "makesetup.iss" (double quote ISS file)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.