Reply to Thread

Post a reply to the thread: Read Edit control value in custom dialog

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)

  • 10-17-2014, 10:34 PM
    Unregistered

    Re: Read Edit control value in custom dialog

    Quote Originally Posted by linder View Post
    BTW, when I can find some time this busy weekend, I'll try to use your project as an example and add some more script logic.

    Friedrich
    Thanks for the extended support.
  • 10-17-2014, 07:32 AM
    linder

    Re: Read Edit control value in custom dialog

    BTW, when I can find some time this busy weekend, I'll try to use your project as an example and add some more script logic.

    Friedrich
  • 10-17-2014, 07:27 AM
    linder

    Re: Read Edit control value in custom dialog

    ZIP file with some custom example projects and direct links to the full Example Package / Tips and Tricks manual sent.

    Friedrich
  • 10-17-2014, 07:11 AM
    Unregistered

    Re: Read Edit control value in custom dialog

    Quote Originally Posted by linder View Post
    The problem is that your script logic (especially the event handling in your OPTIONS and READYTOINSTALL dialogs) is incorrect. The solution would be to handle the events. As I understand it, you do not have downloaded the required documentation. But you really need the examples / documentation to learn how to use this feature.

    Please send your email address to our Support [at] lindersoft [dot] com and we'll send the dialog examples. I am afraid that the help file is too large.

    Friedrich
    Email address is shared.
  • 10-17-2014, 06:35 AM
    linder

    Re: Read Edit control value in custom dialog

    The problem is that your script logic (especially the event handling in your OPTIONS and READYTOINSTALL dialogs) is incorrect. The solution would be to handle the events. As I understand it, you do not have downloaded the required documentation. But you really need the examples / documentation to learn how to use this feature.

    Please send your email address to our Support [at] lindersoft [dot] com and we'll send the dialog examples. I am afraid that the help file is too large.

    Friedrich
  • 10-17-2014, 05:59 AM
    Manish Jhalani

    Re: Read Edit control value in custom dialog

    Quote Originally Posted by linder View Post
    Do you mean another solution to get the access to the examples? Perhaps via email?

    Friedrich
    If you could suggest solution of my original posted problem in this post or mail. Also could you please mail me examples/help files for events and custom dialog.
  • 10-17-2014, 05:39 AM
    linder

    Re: Read Edit control value in custom dialog

    Do you mean another solution to get the access to the examples? Perhaps via email?

    Friedrich
  • 10-17-2014, 04:53 AM
    Unregistered

    Re: Read Edit control value in custom dialog

    Quote Originally Posted by linder View Post
    Yes, exactly. That what I meant in my previous comment. There are some more issues in your script logic Sometimes, you execute the same code twice and overwrite values.

    Did you already download the Example Package and Learning SetupBuilder Part I? There are some very interesting custom dialog demo projects available (including "event handling").

    Friedrich
    I dont have download rights at my system and could not access Example Package and Learning Setup Builder Part I. Could you please help with solution ?
  • 10-17-2014, 03:47 AM
    linder

    Re: Read Edit control value in custom dialog

    Yes, exactly. That what I meant in my previous comment. There are some more issues in your script logic Sometimes, you execute the same code twice and overwrite values.

    Did you already download the Example Package and Learning SetupBuilder Part I? There are some very interesting custom dialog demo projects available (including "event handling").

    Friedrich
  • 10-17-2014, 03:37 AM
    Unregistered

    Re: Read Edit control value in custom dialog

    Quote Originally Posted by linder View Post
    Hello,

    There are some problems in your script logic. You do not handle the events correctly or not at all ($EVENT:ONINIT$, $EVENT:ONREOPEN$, $EVENT:ONUPDATE$). Sometimes, you execute the functions twice and this results in an unexpected behavior.

    To fix the problem from the question asked, add the %DEST_DIR% runtime variable to the Static Text field. Then remove the Set Text "%_SB_INSTALLDIR%" to ControlID "DESTFOLDER" line from the script. But again, there are some more problems in your script logic. This will only fix one of them.

    Does this help?

    Friedrich

    P.S. NEVER create a folder from within the wizard that collects information from the user. All this should be executed after the wizard.

    Thanks.

    I am still facing some issues after I did both suggested changes - 1. Add the %DEST_DIR% runtime variable to the Static Text field, 2. remove the Set Text "%_SB_INSTALLDIR%" to ControlID "DESTFOLDER" line from the script.

    Issues:
    1. Change of installation folder done by keyboard on options dialog only get reflected once on ready to install dialog. If we do back and change installation folder it is not reflected on ready to install.
    2. Now change of installation folder using Change button also not get reflected on ready to install.
    3. When we do back the edit control shows the default install dir not the changed one.
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
  •