Reply to Thread

Post a reply to the thread: Not able to pass compiler variables via Command Line

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)

  • 09-10-2020, 06:54 AM
    linder

    Re: Not able to pass compiler variables via Command Line

    Thanks for the update!

    Friedrich
  • 09-10-2020, 03:59 AM
    testuser

    Re: Not able to pass compiler variables via Command Line

    Ouuchh!! My bad.

    I was using '=' in /CV switch thats why it wasnt working properly. And /LX switch before /CV created compiler.txt

    Thanks!!
  • 09-09-2020, 01:50 AM
    testuser

    Not able to pass compiler variables via Command Line

    Hello,

    I am trying to create exe from my sbp file by using command line approach. All files that I need for installation are at [FILE_SOURCE_PATH] compiler variable which could be dynamic, thats why I am passing this variable from command line and creating compiler.txt logs as well.

    D:\Projects\buildtools\SetupBuilder>SB10.EXE /CS "D:\Projects\SetupBuilderProjects\TestClient\T est-Client.sbp" /CV FILES_SOURCE_PATH="D:\Projects" /LX "D:\Projects\SetupBuilderProjects\TestClient"

    Initially I have set [FILE_SOURCE_PATH] compiler variable to empty so that when this command gets run it will set path to variable and then it will create the exe files. however this is not happening, I got no error on command prompt and no exe files are generated. I have overridden(/LX) the default folder location of compiler.txt file but this file is not getting generated at given path.
    I am using UAC execution level as asInvoker.


    one more question. what will happen if we set the release from command line?

    Thanks in Advance!!

Posting Permissions

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