+ Reply to Thread
Results 1 to 6 of 6

Thread: /V works and doesnt work - perhaps

Hybrid View

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

    Default /V works and doesnt work - perhaps

    I have 2 scripts using the /V feature. One is a test script, which works. The other is a production script, which doesnt.

    The command line looks like this:

    SetupFileName.EXE /S /Q /V _PAC_ "A long string of gibberish with no embedded spaces"

    Working script:

    Name:  SBImage1.jpg
Views: 897
Size:  76.4 KB

    "Working" means the message displays the value included on the command line after the /V _PAC_ "ie, this value"

    Not working script:

    Name:  SBImage2.jpg
Views: 824
Size:  148.1 KB

    Is there something about the DLL call that requires we do something differently?

    When the not-working script is run, the DLL displays a window, even when /V _PAC_ "stuff" is used.

    Mark

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

    Default Re: /V works and doesnt work - perhaps

    Hi Mark,

    it's working fine here. I have created a GETPCC.DLL demo DLL and a SetupBuilder project.

    Source code (Clarion .PRJ and SetupBuilder 10 .SBP) can be found here:
    https://www.setupbuilder.com/projects/PACDLL.zip

    See attached screenshots. The Clarion DLL displays the "A long string of gibberish with no embedded spaces" value from the command line.

    Does this help?

    Friedrich
    Attached Images Attached Images     

  3. #3

    Default Re: /V works and doesnt work - perhaps

    Friedrich,

    I found a bug in the script, so that helped somewhat re: the PAC string.

    We also had a feature selection not being set when /S was used... kind of important if all of the files are associated with the feature

    Mark

  4. #4

    Default Re: /V works and doesnt work - perhaps

    Friedrich,

    In a related matter, should /X require this IF ELSE END code in order to avoid having the dialog override the /X value I provided on the command line?

    Mark

    Name:  Image 2020-03-23 at 12.32.33 PM.png
Views: 394
Size:  30.2 KB

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

    Default Re: /V works and doesnt work - perhaps

    Mark,

    Yes, you can do this to avoid the Select Install Folder dialog. But what I do is I handle this from within the LOOP WIZARD and then fire a Hide Wizard Dialog "#3" action.

    Friedrich

  6. #6

    Default Re: /V works and doesnt work - perhaps

    Quote Originally Posted by linder View Post
    Mark,

    Yes, you can do this to avoid the Select Install Folder dialog. But what I do is I handle this from within the LOOP WIZARD and then fire a Hide Wizard Dialog "#3" action.

    Friedrich
    The "Check for /X" strategy didnt seem to work, so I will try the solution you provided

    Thanks!

    Mark

+ 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
  •