Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Location
    Argentina
    Posts
    7

    Grin ActiveX EXE register

    Hi, I'd like to know if someone can tell me how could I register an ActiveX EXE during (or after) the installing process.
    I need to use the registerserver command, instead the classic regsvr32.

    Thanks in advance.
    Regards.
    Minsis

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    the easist way to to use the file properties/advance and make sure "register com interace" is checked off.

    HOWEVER, if that dll or ocx needs another file you installed you need to use the install-order property to control the order of install.

    another way to do it is via the
    System.RegisterActiveX()
    in your "post install" process.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Jun 2009
    Location
    Argentina
    Posts
    7
    Hi jassing, thank you for your reply.
    The problem is that the component is an ActiveX EXE (VB6), so I'm not sure if I can use RegisterActiveX() because I need my component to be registered by REGSERVER command instead regsvr32.
    Anyway, I will try and let you know about it.

    Thanks!

    Minsis

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    I'm soooo SorrY! I missed that it was an exe.

    After you install the files, just issue
    Code:
    File.Run(SessionVar.Expand("%AppFolder%\\MyCOMSERVER.EXE"),"/regserver", "",-1, false);


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    Join Date
    Jun 2009
    Location
    Argentina
    Posts
    7
    THANKS A LOT!!!
    I will try that, and let you know.

    Minsis

  6. #6
    Join Date
    Jun 2009
    Posts
    1

    How can I use the install-order property?

    Quote Originally Posted by jassing View Post
    the easist way to to use the file properties/advance and make sure "register com interace" is checked off.

    HOWEVER, if that dll or ocx needs another file you installed you need to use the install-order property to control the order of install.

    another way to do it is via the
    System.RegisterActiveX()
    in your "post install" process.
    How can I use the install-order property? Thanks.

  7. #7
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    set the attribute?
    Open file properties, click the advanced tab, install order is at the bottom.

    All files are set to 1000 by default; lower number installs earlier than higher #'s.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  8. #8
    Join Date
    Jun 2009
    Location
    Argentina
    Posts
    7

    Thumbs up Thanks!!!

    Jassing, the solution you proposed about the ActiveX EXE, worked perfectly fine!
    Thank you for all your help.

    Minsis.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts