Reply to Thread

Post a reply to the thread: dll registry error

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-15-2012, 05:30 AM
    linder

    Re: dll registry error

    Hello,

    No, this is not the correct "Register File Operation" option. You have to use one of the COM Interop options (see attached screenshot).

    Friedrich
  • 09-15-2012, 05:16 AM
    Prashant

    Re: dll registry error

    Thanks for reply...

    I have tried with SB Built-In function "Register File Operation". Selected Operation as "Register OCXs/DLLs/EXEs/TLBs file immediately" & selected appropriate Dll, but it didn't work.

    The other solution you mentioned of adding quotes to %WINDIR% path succeeded.

    Will this dll will get registered using SB6 built-in function?
  • 09-15-2012, 02:57 AM
    linder

    Re: dll registry error

    Hello,

    And your question is <g>

    IMO, regasm.exe is not even executed here and so your dll can't be registered. You forgot the double-quotes. I would suggest to put double quotes around "%WINDIR%\Microsoft.NET\Framework\v2.0.50727\regas m.exe". Windows needs this for long file/path names.

    BTW, why don't you use the SB built-in function to register the DLL?

    Friedrich
  • 09-15-2012, 12:59 AM
    Prashant

    dll registry error

    %WINDIR%\Microsoft.NET\Framework\v2.0.50727\regasm .exe "C:\***\*** ********* ****\bin\**********.dll" /codebase /verbose

    This is the command line I am using to register a dll.
    When I run this command using a batch file, it successfully registers the dll.

    While same command line is not working through setup. In SB6 we used "Run Command Line" to run above command. But it failed to register the dll.

    This works on WinXP 32bit, but same failed on Win7 64Bit. We are invoking this setup as Administrator on both the machine.

Posting Permissions

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