Menu

#456 Library support for ActiveX exe /regserver

2.0 Series
closed
Scripting (152)
5
2008-11-21
2008-11-19
No

There is currently support for DLL (DllRegisterServer) and typelib registration in RegTool.v2

There should be one more mode for ActiveX exe. These have to be registered by running them using /regserver command line option. Due to dependencies it could be this has to be done after reboot (by RegTool.v2).

Discussion

  • Stefan Bertels

    Stefan Bertels - 2008-11-19
    • summary: RegTool.v2 support für ActiveX exe /regserver (library.nsh) --> RegTool.v2 support for ActiveX exe /regserver (library.nsh)
     
  • Stefan Bertels

    Stefan Bertels - 2008-11-20

    I have a patch for library.nsh (will upload it later).
    @kichik: Can you change librarylocal so that TYPE "X" (for activeX eXe) is supported and treated like "D"?

     
  • Stefan Bertels

    Stefan Bertels - 2008-11-20

    untested, please note XXX part, RegTool change pending

     
  • Amir Szekely

    Amir Szekely - 2008-11-20

    LibraryLocal is easy, but what about RegTool?

     
  • Stefan Bertels

    Stefan Bertels - 2008-11-20

    I haven't upgraded RegTool until now. You did a rewrite in C some time ago and I currently cannot dive into this. I had a quick look on RegTool.c and it should be not too difficult to implement it there. You even have something like ExecWait implemented there and instead of calling regsvr32 or RegTool (self) one would call '"target file" /regserver'.

    It would be better to call this RegTool.v3 (especially HKEY_LOCAL_MACHINE\Software\NSIS.Library.RegTool.v3) to avoid incompatibilities with RegTool.v2 due to the new TYPE.

     
  • Amir Szekely

    Amir Szekely - 2008-11-20

    I've uploaded a version with support for REGEXE. Please let me know if it works well.

     
  • Amir Szekely

    Amir Szekely - 2008-11-20
    • status: open --> pending
     
  • Amir Szekely

    Amir Szekely - 2008-11-20
    • summary: RegTool.v2 support for ActiveX exe /regserver (library.nsh) --> Library support for ActiveX exe /regserver
     
  • Stefan Bertels

    Stefan Bertels - 2008-11-20

    Thanks. I will test it.

     
  • Stefan Bertels

    Stefan Bertels - 2008-11-21

    Seems to work very well! Thanks for this quick solution.

    Just for the record: Internal TYPE used for this is "E".

     
  • Amir Szekely

    Amir Szekely - 2008-11-21

    X was taken by x64.

     
  • Amir Szekely

    Amir Szekely - 2008-11-21
    • status: pending --> closed
     

Log in to post a comment.