Announcement

Collapse
No announcement yet.

Banner with CANCEL button

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

  • Banner with CANCEL button

    There is have one http://nsis.sourceforge.net/archive/...instances=0,32

    But this "NxS MSI LoaderDlg" plugin are crashes then it called from Custom Page "Function LeaveCustom" (and MSI Banner too).

    I trying contact with saivert (author) with no luck.

    Can anybody fix this problem (i'm have poor knowledge of C++)?
    my functions

  • #2
    May be attached version.. I had not script to test cross-dialog situation.
    Attached Files

    Comment


    • #3
      Those "crashes" are because you need to handle the banners after the page is gone... we can't do everything for you

      * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
      * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.

      Comment


      • #4
        Thanks, Takhir

        Those "crashes" are because you need to handle the banners after the page is gone... we can't do everything for you
        Before Takhir change the code setup crashes immediately after "NxSMSILoaderDlg::Show /NOUNLOAD ..."

        Another problem:
        "NxSMSILoaderDlg::update /NOUNLOAD ..." is clear the stack I use it in the callback function (of course setup quit from function after it)
        my functions

        Comment


        • #5
          New /end parameter - see attached script.
          I also increased height of the static control displaying cuurent path (3 lines max now).
          Attached Files

          Comment


          • #6
            WOW, Takhir one more thing. CANCEL button is allways disabled (trying: /can 0 and /can 1).

            EDIT:
            And /top parameter also use default value
            Last edited by Instructor; 31 March 2005, 16:17.
            my functions

            Comment


            • #7
              90% of new code
              Attached Files

              Comment


              • #8
                Takhir, my russian amazing friend, thank you.

                P.S.
                Necessarily publish it (you fix all problems and reduced the size of packed plugin by 85 %)
                my functions

                Comment


                • #9
                  Sources and binaries. Banner path text flicking and foreground window position improved, Task bar button issue fixed, dll and entry points renamed (NxSMSILoaderDlg.dll->nxs.dll, show->Show... - see Readme), file size 5.5 kB now (2.3 kB in zip), 2 samples included - original saivert' and sent by Instructor. "Change history" header added to C file.

                  Saivert, please don't kill me
                  Attached Files

                  Comment


                  • #10
                    Originally posted by Takhir
                    Saivert, please don't kill me
                    that'd be an interesting fight to watch

                    -daz
                    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                    Comment


                    • #11
                      Then I run example.nsi in WinMe (in WinXP all fine) it shows:
                      Attached Files
                      my functions

                      Comment


                      • #12
                        I see, 98/Me not updates frame size on window style changes (related to hidden or visible Task bar button /h option), so banner will have on 98/Me toolwindow style - decreased caption height, regular font in the /h 1 mode (no task bar button), bold otherwise (system defines this). I know about hidden parent window and appwindow style tricks, but I don't like this way. New version attached.
                        Attached Files

                        Comment


                        • #13
                          I made some changes in readme and examples. If something will seem to you interesting.
                          Attached Files
                          my functions

                          Comment


                          • #14
                            Thanks, Instructor!
                            I added your files to package, but I had to do some changes in example.nsi - like saivert wrote, first installer's page stays minimized without explicit ShowWindow in the .onGuiInit if banner was shown in .onInit function. The same happened on my XP with "100% done" message box after banner destroyed in .onInit, so I commented this line in your script.
                            Attached Files

                            Comment


                            • #15
                              I'm grateful to you (and to saivert too).
                              my functions

                              Comment

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