Reply to Thread

Post a reply to the thread: Evaluation Questions

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)

  • 02-10-2022, 01:59 AM
    was

    Re: Evaluation Questions

    Thanks for your help. As I said, the following issue doesn't seem right:

    'I've noticed that, in my partially completed app, the 'Ready to Install' dialog displays the [INSTALLDIR] compiler variable value in the 'Current Settings>Destination Folder' value, and not the actual folder selected in the 'Select Install Folder' dialog.'

    Do you see the same thing? If so, how do you get the 'Current Settings>Destination Folder' value in the 'Ready to Install' dialog to show the actual selected Destination folder?

    Later: Never mind, setting variable %_SB_INSTALLDIR% to %MAINDIR% (the selected Destination folder) in the previous dialog fixes the prolem.

    BTW, have completed my evaluation and have now purchased SB Developer. It's a great tool with a lot of power under the hood.

    Andrew
  • 02-09-2022, 05:13 PM
    lmodern1878

    Re: Evaluation Questions

    Just wanted to take a minute and say that you’re welcome for any help that I was able to provide as well as if I was able to point you at least in the right direction if not answer your question out right. Should you have any further questions, comments, or concerns please feel free to respond to this message
  • 02-09-2022, 05:57 AM
    was

    Re: Evaluation Questions

    'I've noticed that, in my partially completed app, the 'Ready to Install' dialog displays the [INSTALLDIR] compiler variable value in the 'Current Settings>Destination Folder' value, and not the actual folder selected in the 'Select Install Folder' dialog.'

    Just repeating the above question in case it gets lost. Also, I need to extract sub-folder names using a string parse function. No doubt it probably exists, but I can't find it?
    Later: script function 'Handle String Operation' will do the job. The range of operations there are amazing!

    Thanks for your help.

    Andrew
  • 02-09-2022, 02:17 AM
    was

    Re: Evaluation Questions

    Ah, ok I see them in the If control statement's 'Option' dropdown - didn't look hard enough. And, of course, OR was used in Friedrich's screenshot - my bad! Many thanks.
  • 02-08-2022, 05:38 PM
    lmodern1878

    Re: Evaluation Questions

    How to get “and” as well as “or” conditions is

    variableName comparison
    test value next step (then, and, or) as a drop down list

    The above table is a rough estimation of where the controls are in the “if…” statement box so take the following:

    Loop
    If %myvar% = “1” and %myvar2% = “2” then
    Take some action
    End
    Break loop
    End

    Hope this helps
  • 02-08-2022, 03:52 AM
    was

    Re: Evaluation Questions

    Thanks Friedrich. Hadn't thought of that! I am missing the OR operator though (and AND but that isn't a problem) as I use them a lot. Do you have a similar whizo solution to that?

    Also, I've noticed that, in my partially completed app, the 'Ready to Install' dialog displays the [INSTALLDIR] compiler variable value in the 'Current Settings>Destination Folder' value, and not the actual folder selected in the 'Select Install Folder' dialog.

    Andrew
  • 02-08-2022, 02:52 AM
    linder

    Re: Evaluation Questions

    Andrew,

    SetupBuilder gives you more power. A typical While Statement creates a loop that executes a specific statement as long as a test condition evaluates to true.

    See attached screenshot. You can use the Loop Statement in SetupBuilder to handle a While.

    Friedrich
  • 02-08-2022, 01:58 AM
    was

    Re: Evaluation Questions

    Thanks for the reply. Although I'm still not sure what the consequences of doing that might be. Also, will a WHILE control statement be available in the next version?

    Andrew
  • 02-07-2022, 01:32 PM
    linder

    Re: Evaluation Questions

    Hello,

    it is just a warning. You can run external files from within the Wizard Loop (we are also doing it from time to time), but it is not recommended :-)

    Friedrich
  • 02-05-2022, 10:32 AM
    was

    Re: Evaluation Questions

    Hello again,

    1. I'm getting the following message when attempting to verify a serial number using a run command from within a wizard loop:

    Performing pre-checks...
    Install700_P.sbp(107): warning GEN1128: It is advised not to use a Run program command inside a Wizard Loop structure. The Loop code:

    If %_SB_DIALOGID% Equals "$REGISTRATION$" Then
    /* If %_SB_EVENTID% Equals "$EVENT:ONUPDATE$" Then */
    Put INI Value ("INSTALLATION", "username = %_SB_USERNAME%") to "%TMPDIR%\Install.ini"
    Put INI Value ("INSTALLATION", "regncode = %_SB_USERSERIAL%") to "%TMPDIR%\Install.ini"
    Set Variable %REGNRESULT% to FUNCTION:Get INI Value ("Installation", "RegnResult") from "%TMPDIR%\install.ini"
    Run Program ("%TMPDIR%\Skypconv32.exe", "14 %TMPDIR%") [Feature:Always Install] [Wait]
    Set Variable %REGNRESULT% to FUNCTION:Get INI Value ("Installation", "RegnResult") from "%TMPDIR%\install.ini"
    If %REGNRESULT% Equals "T" Then
    Display Message Box ("Your registration details have been recorded successfully. Thank you for re...", "Registration")
    Else
    Display Message Box ("The registration details you have entered are incorrect. Please check and r...", "Registration")
    End

    I use this exe extensively for various non-UI purposes (eg, checking serial numbers as above), and it is essential that I be able to run it within the wizard loop. The exe seems to run correctly within the wizard loop, so what problems will I encounter in going against this advise?

    2. In Competitive Advantages>Flexibility I see: SetupBuilder supports IF and WHILE control structures to provide looping and conditional execution of installation components. I can't see the WHILE command in the available Control Statements?

    Thanks for your help.
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

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