+ Reply to Thread
Results 1 to 3 of 3

Thread: Not able to pass compiler variables via Command Line

  1. #1
    Join Date
    Aug 2020
    Location
    Pune, India
    Posts
    49

    Default 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!!

  2. #2
    Join Date
    Aug 2020
    Location
    Pune, India
    Posts
    49

    Default 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!!

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Not able to pass compiler variables via Command Line

    Thanks for the update!

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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