Reply to Thread

Post a reply to the thread: Compiler variables in #include directive

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-21-2007, 11:44 AM
    linder

    Re: Compiler variables in #include directive

    Amar,

    Just place your include scripts into the "core" \Include subfolder under the main SB6 installation folder and you can auto-build on any machine ;-)

    BTW, SetupBuilder 6.1 comes with some very cool new features (new command line compiler switches, new Releases feature, and so much more). We are working on the updated documentation right now.

    Friedrich
  • 03-21-2007, 11:19 AM
    apai

    Re: Compiler variables in #include directive

    Thanks. Support for variables in #include paths is a desirable feature because the machine I would be developing our installer on has different source paths than our auto-build machine, and it would be best to configure the installer source path via a compiler variable and then specify #include paths with this variable as a base. That way the auto-build could just set the compiler variable. I'm not sure how we will automate our builds in the current situation in the case where source paths differ on dev machine & auto build machine.

    -Amar
  • 03-21-2007, 12:35 AM
    linder

    Re: Compiler variables in #include directive

    Amar,

    Unfortunately, the documentation is incorrect here :-( The #include directive cannot process compiler variables.

    We have changed this in the SetupBuilder 6.1 documenation now.

    Thank you for bringing this to our attention.!

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
  • 03-20-2007, 11:05 PM
    apai

    Compiler variables in #include directive

    Hi,

    According to the SetupBuilder documentation, compiler variables can be used in #include directives. e.g. if I have compiler variable SOME_DIR set to "C:\Foo", then

    #include script "UninstallScript.sbi" from "[SOME_DIR]"

    should work as long as C:\Foo\UninstallScript.sbi exists. Is this correct? I can't seem to get it to work, though it does when I hard code it:

    #include script "UninstallScript.sbi" from "C:\Foo"

    thanks,

    Amar

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •