Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    18

    registration of DLL

    Hello all. I need to manually register a dll since it crashes my program when I set it to self-register. I want it to register it silently, so could you tell me if this format is correct? Is there a simple way to verify that it got registered other than running my program?


    I have provided two ways. Which would be better?

    Is it possible to pass arguments using the first method? i.e. /s (silent registration)

    Code:
    Shell.Execute(SessionVar.Expand("%SystemFolder%\\regsvr32.exe"), "open", SessionVar.Expand("%AppFolder%\\Dll\\Asputil.dll"), "", SW_SHOWNORMAL);
    In the following one, is the /s in the proper place?

    Code:
    File.Run("%SystemFolder%\\regsvr32.exe", SessionVar.Expand"/s %AppFolder%\\Dll\\Asputil.dll", "")
    Thanks in advance,

    Parallon

  2. #2
    Join Date
    Oct 2003
    Posts
    908
    Try this...

    File.Run("%SystemFolder%\\regsvr32.exe", "/s" .. SessionVar.Expand("%AppFolder%\\Dll\\Asputil.dll") , "")

Similar Threads

  1. Official Release Of SetMask DLL
    By Worm in forum AutoPlay Media Studio 5.0
    Replies: 23
    Last Post: 01-24-2005, 09:00 PM
  2. Problems with OCX & DLL Registration
    By AdamW in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-22-2004, 04:26 PM
  3. Can't register dll
    By diver in forum Setup Factory 6.0
    Replies: 0
    Last Post: 04-17-2002, 02:17 PM
  4. Calling a DLL
    By matrix in forum Setup Factory 6.0
    Replies: 1
    Last Post: 12-26-2001, 07:47 PM
  5. SUF6 - Call DLL action
    By Romahe in forum Setup Factory 5.0
    Replies: 1
    Last Post: 11-27-2001, 06:02 AM

Posting Permissions

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