Registry plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Instructor
    Major Dude
    • Jul 2004
    • 672

    #31
    If anyone can test this version of the registry plugin for Pocket PC?
    Attached Files
    my functions

    Comment

    • XPero
      Junior Member
      • Aug 2005
      • 15

      #32
      Can you please add support for version 5 of Windows Registry?

      Comment

      • Instructor
        Major Dude
        • Jul 2004
        • 672

        #33
        For what you need Windows Registry 5?
        my functions

        Comment

        • XPero
          Junior Member
          • Aug 2005
          • 15

          #34
          For exporting reg keys data containing paths. For example, if the Data of a REG_SZ is "E:\My Things\My Thing.myext", the exported reg key won't work with your Registry Plugin. At least, it didnt for me. The hex conversion isn't right.
          Last edited by XPero; 8 January 2006, 14:00.

          Comment

          • Instructor
            Major Dude
            • Jul 2004
            • 672

            #35
            Registry plugin was successfully tested with all my registry in Windows 95/Me/XP. There few paths in it
            the exported reg key won't work with your Registry Plugin
            What the plugin call, what the errorlevel, what the output file, what your key contents when you exporting it with the regedit.exe?
            my functions

            Comment

            • XPero
              Junior Member
              • Aug 2005
              • 15

              #36
              I will post later next week (busy at the moment) the reg file created by your plugin and the one created using Regedit.exe so you can compare them.

              Comment

              • Instructor
                Major Dude
                • Jul 2004
                • 672

                #37
                OK. And I hope you use the latest version.
                my functions

                Comment

                • XPero
                  Junior Member
                  • Aug 2005
                  • 15

                  #38
                  Works now with latest version. Thanks

                  Comment

                  • Instructor
                    Major Dude
                    • Jul 2004
                    • 672

                    #39
                    New: "PPC-Registry" plugin - registry plugin for Pocket PC. All thanks to Thomas Bednarz (Smart Solutions AG)

                    Changed: registry::Read reduce number of parameters

                    Fixed: registry::SaveKey does not convert short roots to long (HKLM->HKEY_LOCAL_MACHINE)

                    Updated: "ConvFunc.h" to v1.5

                    Updated: "StrFunc.h" to v1.6

                    Changed: Now plugin used header "Registry.nsh" ("PPC-Registry.nsh") for custom user variables and
                                  better compile errors check.

                    Update from previous versions:
                             - Insert line in script:
                                !include "Registry.nsh"
                             - Replace:
                                registry::Open -> ${registry::Open} ...
                             - Replace:
                                .r0 -> $0, .r1 -> $1 ... .R0 -> $R0, .R1 -> $R1 ...


                    "Registry" plugin v2.0
                    Attached Files
                    my functions

                    Comment

                    • Brummelchen
                      Major Dude
                      • May 2003
                      • 681

                      #40
                      This reg_multi_sz is not working

                      HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager:PendingFileRenameOperations

                      variable only contains the first line - values are seperated by an empty line eg:

                      code:
                      \??\C:\DOKUME~1\user\LOKALE~1\Temp\~nsu.tmp\Au_.exe

                      \??\C:\DOKUME~1\user\LOKALE~1\Temp\~nsu.tmp\Au_.exe

                      \??\C:\DOKUME~1\user\LOKALE~1\Temp\nse274.tmp\registry.dll

                      Greets, Brummelchen

                      Comment

                      • Instructor
                        Major Dude
                        • Jul 2004
                        • 672

                        #41
                        "PendingFileRenameOperations" value has two NULL characters normally this means that value ended (one NULL character - end of line)
                        code:

                        "PendingFileRenameOperations"=hex(7):5c,3f,3f,5c,43,3a,5c,57,49,4e,4e,54,5c,73,\
                        79,73,74,65,6d,33,32,5c,73,70,6f,6f,6c,5c,44,52,49,56,45,52,53,5c,43,4f,4c,\
                        4f,52,5c,4e,65,77,00,00,5c,3f,3f,5c,43,3a,5c,44,4f,43,55,4d,45,7e,31,5c,73,\
                        61,61,5c,4c,4f,43,41,4c,53,7e,31,5c,54,65,6d,70,5c,6e,73,61,31,42,38,42,2e,\
                        74,6d,70,5c,52,65,67,69,73,74,72,79,2e,64,6c,6c,00,00,5c,3f,3f,5c,43,3a,5c ...

                        I'll see what I can do.
                        my functions

                        Comment

                        • Instructor
                          Major Dude
                          • Jul 2004
                          • 672

                          #42
                          Fixed: registry::Read interpret empty line of REG_MULTI_SZ value as end of value.
                          Updated: "ConvFunc.h" to v1.6


                          "Registry" plugin v2.1

                          [deleted]
                          Last edited by Instructor; 21 February 2006, 09:52.
                          my functions

                          Comment

                          • Brummelchen
                            Major Dude
                            • May 2003
                            • 681

                            #43
                            Thank you much top da man ^^

                            erks, sorry - nearly.

                            when i empty that key manually this remains

                            "PendingFileRenameOperations"=hex(7):00

                            registry::read shows me a blank value.

                            maybe you can fix this too ?


                            some nasty code to avoid it:
                            PHP Code:
                              ;pending operations ?
                              
                            ClearErrors
                                
                            ${registry::Read"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" "PendingFileRenameOperations" $R9 $R8
                              StrCmp $R9 
                            "" no_pending
                                StrLen $R8 $R9
                                StrCmp $R8 1 no_pending
                                
                            ${registry::Unload}
                                ;
                            your action here
                                  Quit
                              no_pending
                            :
                                ${
                            registry::Unload
                            Last edited by Brummelchen; 21 February 2006, 09:06.
                            Greets, Brummelchen

                            Comment

                            • Instructor
                              Major Dude
                              • Jul 2004
                              • 672

                              #44
                              Please download v2.1 again, I forgot one thing in fix.
                              my functions

                              Comment

                              • Brummelchen
                                Major Dude
                                • May 2003
                                • 681

                                #45
                                somethings really going bad now - the installer quits on starting the plugin and remains the temp folder
                                Greets, Brummelchen

                                Comment

                                Working...
                                X