Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Location
    Netherlands
    Posts
    16

    Registration off DLL and Services

    hi,

    I would like to do a AfterInstall where a .dll has to be registrated using
    regsvr32 followed by the \AppFolder\this.dll

    Also i have a .exe files which has to be installed as a services, this can
    be done by a batch file, but that's not the most elegant way.
    This batch file contains the following code :

    mmq /i+
    pause

    How can i create a after install action for registration of the .dll and
    install and run the services

    Regards Peter

  2. #2
    Join Date
    Jun 2005
    Posts
    470
    you can use File.Run instead of a batch file, like
    Code:
    myFile = "\"" .. SessionVar.Expand("%AppFolder%") .. "\\this.dll\"" ;
    File.Run("regsvr32 /s " .. myFile, "", "", SW_MINIMIZE, false);
    The same for the other case, only not sure what's PAUSE for.

  3. #3
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    If you are deploying this file, wouldn't it be much easier if you just use the option "Register COM interfaces"? (See File Properties > Advanced > OLE/ActiveX.)

    Ulrich

Posting Permissions

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