Reply to Thread

Post a reply to the thread: /V works and doesnt work - perhaps

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-24-2020, 05:38 PM
    MarkRiffey

    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
  • 03-24-2020, 12:34 PM
    linder

    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
  • 03-23-2020, 12:36 PM
    MarkRiffey

    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

    Attachment 4977
  • 03-22-2020, 10:08 PM
    MarkRiffey

    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
  • 02-15-2020, 05:47 AM
    linder

    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
  • 02-14-2020, 02:35 PM
    MarkRiffey

    /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:

    Attachment 4964

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

    Not working script:

    Attachment 4965

    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

Posting Permissions

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