PDA

View Full Version : registering a dll



NewsArchive
12-17-2001, 01:00 AM
I've got a dll that needs to be registered. I've placed it in it's own file
group with 'Self-registered' set to 'Yes'. When run, though, the install
appears to pause _before_ the point where I call
Do(SELFREGISTRATIONPROCESS), and pops an error message that states:

"One or more files did not properly self-register.

Following files did not self-register:
1. c:\filetohtml.dll
The specified module could not be found."

When I check, though, the file is there.

When I use regsvr32 to register this dll, it works.

Any suggestions?

Thanks,
Rebecca

NewsArchive
12-17-2001, 01:00 AM
Rebecca,
If you use InstallShield v.6.x (for example 6.31) you do not have to call
Do(SELFREGISTRATIONPROCESS).
The self-registration is processed automatically in the event-driven model
of InstallShield.
If you place this file into "self-registering" file group and set the
property "self-registered" to "yes" everything should work without calling
Do().

Victor.
jaalaM Technologies Inc.
Vancouver Canada.



"Rebecca Shen" <rshen@docscience.com> wrote in message
news:3c1e7987$1@news.installshield.com...
> I've got a dll that needs to be registered. I've placed it in it's own
file
> group with 'Self-registered' set to 'Yes'. When run, though, the install
> appears to pause _before_ the point where I call
> Do(SELFREGISTRATIONPROCESS), and pops an error message that states:
>
> "One or more files did not properly self-register.
>
> Following files did not self-register:
> 1. c:\filetohtml.dll
> The specified module could not be found."
>
> When I check, though, the file is there.
>
> When I use regsvr32 to register this dll, it works.
>
> Any suggestions?
>
> Thanks,
> Rebecca
>
>

NewsArchive
12-18-2001, 01:00 AM
Rebecca:

This is, alas, a poor error message. What it's telling you is almost
certainly that the file you are trying to register has an unsatisfied
dependency. That is, A.DLL (which you're trying to register) may need B.DLL
in order to run. If B.DLL isn't already installed when you try to register
A.DLL, you'll get this kind of error message.

If you have a decent dependency checker (Developer studio comes with
DEPENDS.EXE, or you can download this from Microsoft) you can get a good
idea of what other files you'll need to have present at registration time.

Andy

--
---------------------------------------------------------------
Andy Marchant-Shapiro andyms@firstlogic.com
Programmer/Analyst __o 608.782.5000.x2585
Firstlogic, Inc. _-\<,_ La Crosse, WI
______________________________(*)/_(+)_________________________



"Rebecca Shen" <rshen@docscience.com> wrote in message
news:3c1e7987$1@news.installshield.com...
> I've got a dll that needs to be registered. I've placed it in it's own
file
> group with 'Self-registered' set to 'Yes'. When run, though, the install
> appears to pause _before_ the point where I call
> Do(SELFREGISTRATIONPROCESS), and pops an error message that states:
>
> "One or more files did not properly self-register.
>
> Following files did not self-register:
> 1. c:\filetohtml.dll
> The specified module could not be found."
>
> When I check, though, the file is there.
>
> When I use regsvr32 to register this dll, it works.
>
> Any suggestions?
>
> Thanks,
> Rebecca
>
>