+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 40

Thread: Command Line Options

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Command Line Options

    the SKU Management Wizard are the dialogs.

    the select entry are from the commad line

    excample:

    /CV _AUSWAHLAW_ "|standard - update"

    picture is the SKU Wizard
    Attached Images Attached Images  

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Command Line Options

    Hmm, you pass a compiler variable via the command line and then use this value in the SKU? No, by design it is not supposed to work. So if you see a value in the SKU screen that you passed via the command line then it was only "luck".

    Friedrich

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

    Default Re: Command Line Options

    BTW, and the compiler variable value must not contain a vertical bar. Your command line value can't be corretly processed.

    "|Standard - Deutsch/English|Fränkische|REHAU" is not a valid compiler variable value.

    Friedrich

  4. #4

    Default Re: Command Line Options

    Quote Originally Posted by linder View Post
    Hmm, you pass a compiler variable via the command line and then use this value in the SKU? No, by design it is not supposed to work. So if you see a value in the SKU screen that you passed via the command line then it was only "luck".

    Friedrich
    "luck" ?

    in your help file can´t find the word "luck":

    Preprocessor: Set Compiler Variable Value

    Enter the following command line statement into a batch file or any other program that has the ability to run command line statements, such as Scheduled Tasks in the Control Panel to read the constant value from the compiler command line:

    SB7.EXE /C "C:\Development\Sample.sb7" /CV MYCOMPILERVAR "1"

    where:

    SB7.EXE is the path to the SetupBuilder 7 executable

    /C is the compiler switch

    "C:\Development\Sample.sb7" is the path to the project file you want to compile

    /CV is the switch to read the compiler variable value from the compiler command line

    MYCOMPILERVAR is the name of the compiler variable to define

    "1" is the new value of the compiler variable
    and about this:

    Quote Originally Posted by linder View Post
    BTW, and the compiler variable value must not contain a vertical bar. Your command line value can't be corretly processed.

    "|Standard - Deutsch/English|Fränkische|REHAU" is not a valid compiler variable value.

    Friedrich
    when i make a compiler variable - see picture 1 - and then display the value in a massage box - can i see a vertical bar. -

    Or can i only see this ?!

    For what is this function if it does not work as they should actually?
    Attached Images Attached Images   

  5. #5
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Command Line Options

    Hello,

    Yes, the problem is that the "Value List" does not check for the vertical bar ("|"). So we have fixed this in 7.7. In the "Variable Value" the check works as expected.

    And to be on the safe side, we have updated the documentation and added a note that "a compiler variable value must not contain a vertical bar ("|").

    Friedrich

  6. #6

    Default Re: Command Line Options

    thank you

    but for the future - what is correct - this:

    command line: /CV _AUSWAHLRN_ "|Standard - Deutsch/English|Fränkische|REHAU"

    or:

    ?

  7. #7

    Default Re: Command Line Options

    Quote Originally Posted by linder View Post
    Hello,

    Yes, the problem is that the "Value List" does not check for the vertical bar ("|"). So we have fixed this in 7.7. In the "Variable Value" the check works as expected.

    And to be on the safe side, we have updated the documentation and added a note that "a compiler variable value must not contain a vertical bar ("|").

    Friedrich
    Hey,

    can you tell me when the 7.7 ready?


    db

  8. #8
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Command Line Options

    No, we do not have a ETA yet (still performing Win8 tests).

    But I think there is some misunderstanding here. In V7.7, the '|' in a "Variable List" entry field is detected as invalid character now and then an error message is displayed (similar to what you see in the "Variable Value"). Please note that this does not make the '|' valid at all.

    Friedrich

  9. #9

    Default Re: Command Line Options

    Quote Originally Posted by linder View Post
    No, we do not have a ETA yet (still performing Win8 tests).

    But I think there is some misunderstanding here. In V7.7, the '|' in a "Variable List" entry field is detected as invalid character now and then an error message is displayed (similar to what you see in the "Variable Value"). Please note that this does not make the '|' valid at all.

    Friedrich
    ok - when this are misunderstanding is - what i must do that i can use the command line function ?

  10. #10
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Command Line Options

    Hello,

    I fear I do not understand.

    The command line switches are documented in the F1 help or PDF manual. But the command line can't be used to "control" the functionality of your SKU feature. The command line compiler is there to automate the compilation process (no user intervention).

    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
  •