PDA

View Full Version : OnSelfRegistrationError() function



NewsArchive
07-05-2000, 12:00 AM
Hi All,

I am facing a similar problem. I have got a file group which needs to go
into windows system folder and register itself. The files are
msjet35.dll
msjint35.dll
msjter35.dll
msrd2x35.dll
msvcrt40.dll
msxbse35.dll
msexcl35.dll
msltus35.dll
vbajet32.dll
vbar332.dll
In the file groups pane, I have specified these files to be shared, not to be
uninstalled, self-registering and potentially locked. When I run my setup the
following files do not self-register
msjint35.dll
msjter35.dll
msvcrt40.dll
vbajet32.dll
vbar332.dll
The error I get is "The specified procedure could not be found".

When I use a Jet 3.51 object instead, the files get registered( atleast I think
they do b'cos I don't get any errors) but I am unable to use it because of
media restrictions( they don't fit onto a 1.44Mb floppy ).

Can somebody help me out ?

Thanks in advance,
Pramod.

Kent Foyer wrote:

> There is nothing you can do from your script to override the messages. The
> objects themselves would have to override the messages.
>
> However, I am wondering why you would be getting the error. Would you give
> me more information on how to reproduce this error, so I can try to figure
> out why this error is happening?
> Thanks,
>
> Kent
>
> Michael Jocher wrote in message <39453e99.0@208.30.171.38>...
> >When installing the RDO 2.0-Object an error message is displayed THREE
> TIMES
> >after one another:
> >
> >"Self registration error":
> >"One or more files di not properly self-register.
> >Following files did not self-register:
> >1. C:\WINNT\System32\COMCAT.DLL
> >Procedure wasn´t found..
> >To continue select OK, otherwise select Cancel."
> >
> >I activated a handler for the "OnSelfRegistrationError"-Event (IS6).
> >But this event was never fired!
> >What can I do to prevent from receiving these annoying messages???
> >
> >Thanks in advance!
> >
> >
> >
> >

NewsArchive
07-05-2000, 12:00 AM
Hi All,

I am facing a similar problem. I have got a file group which needs to go
into windows system folder and register itself. The files are
msjet35.dll
msjint35.dll
msjter35.dll
msrd2x35.dll
msvcrt40.dll
msxbse35.dll
msexcl35.dll
msltus35.dll
vbajet32.dll
vbar332.dll
In the file groups pane, I have specified these files to be shared, not to be
uninstalled, self-registering and potentially locked. When I run my setup the
following files do not self-register
msjint35.dll
msjter35.dll
msvcrt40.dll
vbajet32.dll
vbar332.dll
The error I get is "The specified procedure could not be found".

When I use a Jet 3.51 object instead, the files get registered( atleast I think
they do b'cos I don't get any errors) but I am unable to use it because of
media restrictions( they don't fit onto a 1.44Mb floppy ).

Can somebody help me out ?

Thanks in advance,
Pramod.

Kent Foyer wrote:

> There is nothing you can do from your script to override the messages. The
> objects themselves would have to override the messages.
>
> However, I am wondering why you would be getting the error. Would you give
> me more information on how to reproduce this error, so I can try to figure
> out why this error is happening?
> Thanks,
>
> Kent
>
> Michael Jocher wrote in message <39453e99.0@208.30.171.38>...
> >When installing the RDO 2.0-Object an error message is displayed THREE
> TIMES
> >after one another:
> >
> >"Self registration error":
> >"One or more files di not properly self-register.
> >Following files did not self-register:
> >1. C:\WINNT\System32\COMCAT.DLL
> >Procedure wasn´t found..
> >To continue select OK, otherwise select Cancel."
> >
> >I activated a handler for the "OnSelfRegistrationError"-Event (IS6).
> >But this event was never fired!
> >What can I do to prevent from receiving these annoying messages???
> >
> >Thanks in advance!
> >
> >
> >
> >

NewsArchive
07-05-2000, 12:00 AM
Hi All,

I am facing a similar problem. I have got a file group which needs to go
into windows system folder and register itself.
The files are
msjet35.dll
msjint35.dll
msjter35.dll
msrd2x35.dll
msvcrt40.dll
msxbse35.dll
msexcl35.dll
msltus35.dll
vbajet32.dll
vbar332.dll
In the file groups pane, I have specified these files to be shared, not to be
uninstalled, self-registering and potentially locked.
When I run my setup the following files do not self-register
msjint35.dll
msjter35.dll
msvcrt40.dll
vbajet32.dll
vbar332.dll
The error I get is "The specified procedure could not be found".

When I use a Jet 3.51 object instead, the files get registered( atleast I think
they do b'cos I don't get any errors) but I am
unable to use it because of media restrictions( they don't fit onto a 1.44Mb
floppy ).

Can somebody help me out ?

Thanks in advance,
Pramod.


Kent Foyer wrote:

> There is nothing you can do from your script to override the messages. The
> objects themselves would have to override the messages.
>
> However, I am wondering why you would be getting the error. Would you give
> me more information on how to reproduce this error, so I can try to figure
> out why this error is happening?
> Thanks,
>
> Kent
>
> Michael Jocher wrote in message <39453e99.0@208.30.171.38>...
> >When installing the RDO 2.0-Object an error message is displayed THREE
> TIMES
> >after one another:
> >
> >"Self registration error":
> >"One or more files di not properly self-register.
> >Following files did not self-register:
> >1. C:\WINNT\System32\COMCAT.DLL
> >Procedure wasn´t found..
> >To continue select OK, otherwise select Cancel."
> >
> >I activated a handler for the "OnSelfRegistrationError"-Event (IS6).
> >But this event was never fired!
> >What can I do to prevent from receiving these annoying messages???
> >
> >Thanks in advance!
> >
> >
> >
> >

NewsArchive
01-08-2002, 01:00 AM
InstallShield 6.3
Windows NT 4 SP5

I cannot seem to find any documentation or uses for this function on:

InstallShield newsgroups
http://support.installshield.com
http://www.installsite.org

I don't know how this function helps debug self-registration errors. It
seems to give the same errors as installs that do not use it.

Is anyone using this function to effectively debug self-registration errors?
(typically the self-reg errors I am debugging happen during uninstall, not
during the install)

Thanks,
David Stiff
Trango Software

NewsArchive
01-09-2002, 01:00 AM
David, I found this info (look below) in my IS 6.31 help file (I recently updated my help file
from IS web-site, though I am not sure if I had this info in the help file prior to this.)

Victor S.
jaalaM Technologies Inc., Vancouver, Canada
http://www.jaalam.com



---------------------
The OnSelfRegistrationError event handler responds to the SelfRegistrationError event that is
generated when Do(SELFREGISTRATIONPROCESS) fails to register files marked as self-registering.

The default OnSelfRegistrationError code uses the following properties of the global
FileRegistrar object:

PropertyDescription

FileRegistrar.Errors.Count The number of self-registering files that were
not registered.

FileRegistrar.Errors(i) An object whose properties provide
information about the i-th unregistered file. (i runs from 1 to the value of
FileRegistrar.Errors.Count.)

FileRegistrar.Errors(i).File The name of the i-th unregistered file.

FileRegistrar.Errors(i).Description A string describing the error that occurred when the
setup attempted to register the i-th unregistered file. This string may be null ("").

FileRegistrar.Errors(i).LastError The numeric code for the error that occurred when
the setup attempted to register the i-th unregistered file.



"David Stiff" <davids@trangosoft.com> wrote in message
news:3c3b0c4c$1@news.installshield.com...
> InstallShield 6.3
> Windows NT 4 SP5
>
> I cannot seem to find any documentation or uses for this function on:
>
> InstallShield newsgroups
> http://support.installshield.com
> http://www.installsite.org
>
> I don't know how this function helps debug self-registration errors. It
> seems to give the same errors as installs that do not use it.
>
> Is anyone using this function to effectively debug self-registration errors?
> (typically the self-reg errors I am debugging happen during uninstall, not
> during the install)
>
> Thanks,
> David Stiff
> Trango Software
>
>