Announcement

Collapse
No announcement yet.

NSIS Dialog Designer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    This seems a little OT.
    NSISDialogDesigner could only help you to draw and place buttons on the dialog.
    After that, the code behind these buttons is all about you...

    Take a look here on how to start an embedded EXE: http://forums.winamp.com/showthread.php?t=315997
    Author of NSIS Dialog Designer

    Comment


    • #77
      Version 0.9.16 released

      v.0.9.16 - 2012-04-20
      FIX: SelectedItem property of ListBox, ComboBox and DropList controls now accepts any value (like $abc).
      Author of NSIS Dialog Designer

      Comment


      • #78
        New version 1.1 released

        New version 1.1 released:
        • NEW: Improved support for DialogIDs other than the default one (1018). User can now select 1044 (Welcome & Finish pages) and designer will change dialog size accordingly.
        • NEW: Added RichText control support. It does not support RTF text loading, it must be customized by the user (see here: http://forums.winamp.com/showthread.php?t=288129).

        PS: sorry, I missed to announce the release of version 1.0.
        Detailed version history could be found here:


        NSISDialogDesigner can be downloaded here:
        Author of NSIS Dialog Designer

        Comment


        • #79
          New version 1.1.1 released

          v.1.1.1 - 2012-10-01
          • FIX: Fixed generated script for FileRequest control (wrong test on returned string).

          NSISDialogDesigner can be downloaded here:
          Author of NSIS Dialog Designer

          Comment


          • #80
            Missing tutorial

            Hello @all.
            I'm missing a tutorial from beginners to experts, or an integrated CHM help file.
            I'm using Eclispe with the nsis plugin to develop installer.
            Now I'm having the problem to marry the nsis dialog designer page varibles with my NSIS scripts.
            The target is simple. A simple dialog page with 3 text fields an one password field ('Computername', 'Servername', 'Loginname' and 'Password') shall be written into an ini file.
            For test reasons it is welcome to display the input in a message box. Ho do I using the dialog desinger pages in my main nsis scripts?

            Are there known nsis dialog desinger tutorials available, or mabye can anybody help me?

            Best regards
            Martin

            Comment


            • #81
              There's an excellent tutorial in the nsDialogs readme: http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html

              You can use the NSIS Dialog Designer for generating the layout-specific code, then use that in your nsDialogs page functions. (Note: When using nsDialogs, make sure you use MUI2, not MUI.)

              Comment


              • #82
                Version 1.1.2 released

                v.1.1.2 - 2013-01-11

                New version is available here:
                Author of NSIS Dialog Designer

                Comment


                • #83
                  Little problem with CoordinateSystem

                  Hi,

                  I noticed that when inserting a DirRequest control two controls are created, like the text below, so far so good.

                  PHP Code:
                    ; === DirRequest1_Txt (typeText) ===
                    ${
                  NSD_CreateText26u 69u 110u 11u ""
                    
                  Pop $hCtl_JANELA_DirRequest1_Txt
                    
                    
                  ; === DirRequest1_Btn (typeButton) ===
                    ${
                  NSD_CreateButton138u 68u 20u 14u "..."
                    
                  Pop $hCtl_JANELA_DirRequest1_Btn 
                  But, when changing CoordinateSystem, it changes at left panel (Attachment) but not on the script itself.

                  I solved with changing the dialog's CoordinateSystem to PPPP with inherit at the control, but think not the best choice, could you take a look on this behavior?

                  Many thanks!
                  Attached Files

                  Comment


                  • #84
                    New version released

                    Originally Posted by shadowpoa View Post
                    could you take a look on this behavior?
                    I just released an updated version that fixes the bug you reported, both on DirRequest and on FileRequest controls.
                    code:
                    v.1.1.3 - 2013-12-16
                    FIX: Fixed generated script for DirRequest and FileRequest controls, not respecting CoordinateSystem.

                    Latest version can be found here: http://coolsoft.altervista.org/nsisdialogdesigner

                    Thanks for your feedback.
                    Claudio
                    Author of NSIS Dialog Designer

                    Comment


                    • #85
                      Control Positioning problem

                      Hi, me again...

                      Just for start, I´d like to say that this is the best editor for NSDialogs available.

                      So lets to the problem.

                      I´ve playing with some dialogs, and have noticed that after set size to 1044 and placed some controls, hitting test compiling and then the compiled dialog pops, they're different!!

                      So, I done some testing, and saw that this behavior occurs when using DLU to size and place controls (default) .

                      I got some time reading... and found this link...


                      and this:


                      So, I adapted the sample code from here http://nsis.sourceforge.net/Get_text_dimensions to convert pixels units to dlu and voilá, the size and positions are equal.

                      Hope you can fix it, if more tests needed please ask.
                      Attached Files

                      Comment


                      • #86
                        Thanks for your feedback

                        Originally Posted by shadowpoa View Post
                        ...after set size to 1044 and placed some controls, hitting test compiling and then the compiled dialog pops, they're different
                        It turned out that the bug exists for all dialog sizes.
                        Since 1044 is bigger than the others, the bad behavior is much more evident here.

                        Thanks to your feedback (and the samples you provided) I found 2 bugs:
                        1. DialogUnits were calculated using bad coefficients, because I was using the wrong font as reference.
                        2. DialogUnits (and also Percentage) were emitted as integers (no decimals) to NSIS generated script; this adds another error to the one already present due to point 1)

                        Both the errors will be fixed into version 1.2.0, available in a few minutes (stay tuned ).

                        I also added a new feature: a new "All" subproperty into CoordinateSystem controls property, that allows user to change X,Y,Width,Height subproperties together in a shot.

                        Thanks again for your detailed feedback.

                        Cheers
                        Author of NSIS Dialog Designer

                        Comment


                        • #87
                          New version 1.2.0 released

                          Originally Posted by shadowpoa View Post
                          ...after set size to 1044 and placed some controls, hitting test compiling and then the compiled dialog pops, they're different
                          I just released an updated version that fixes the bug you reported and adds some new features:

                          v.1.2.0 - 2014-07-11
                          • NEW: CoordinateSystem conversions are now done with higher precision.
                            (thanks to shadowpoa for feedback: http://forums.winamp.com/showpost.php?p=3001224)
                          • NEW: Control sizes are now written with up to 2 decimals in NSIS generated script.
                          • NEW: Added a new "All" subproperty to controls CoordinateSystem property;
                            it can be used to change X,Y,Width,Height subproperties all together.
                          • FIX: Wrong vertical CoordinateSystem conversion "Pixel --> DialogUnits".

                          Latest version can be found here: http://coolsoft.altervista.org/nsisdialogdesigner

                          Thanks for your feedback.
                          Claudio
                          Author of NSIS Dialog Designer

                          Comment


                          • #88
                            Wow! this was fast... testing here...
                            billion thanks

                            Comment


                            • #89
                              Originally Posted by shadowpoa View Post
                              Wow! this was fast... testing here...
                              billion thanks
                              Your feedback was really detailed, making it easier to find and fix...
                              Author of NSIS Dialog Designer

                              Comment


                              • #90
                                Is the source available?

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎