Register Library sometimes fails

Got a problem you cannot solve? Try here.
dmostert2
Posts: 23
Joined: Fri May 11, 2007 6:09 am

Register Library sometimes fails

Postby dmostert2 » Wed May 16, 2007 7:48 am

Hi,

I've stumbled upon a funny problem.

Some of my Register Library Commands fail. But the same file works with regsvr32?

Any help / ideas?

Thanks,
D.

swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Re: Register Library sometimes fails

Postby swarovski » Wed May 16, 2007 11:37 am

dmostert2 wrote:Hi,

I've stumbled upon a funny problem.

Some of my Register Library Commands fail. But the same file works with regsvr32?

Any help / ideas?

Thanks,
D.


Me 2. I have to use regsvr32 for some of my components. too,

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed May 16, 2007 12:27 pm

Do you think maybe your libraries need their current folder set correctly? You may want to change the current directory to the library folder before calling Register Library.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

dmostert2
Posts: 23
Joined: Fri May 11, 2007 6:09 am

Postby dmostert2 » Wed May 16, 2007 3:19 pm

I used SetCurrentDirectoryA in kernel32.dll, but to no avail :(

Anything else I can try??

Thanks,
D

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu May 17, 2007 7:08 am

Not really...you do have two other options available - check the self registering option, or simply capture the registration data into your own setup in the registry view (use the import option).
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

SteveX
Posts: 22
Joined: Fri Apr 13, 2007 2:17 pm

Registration Fails

Postby SteveX » Thu May 17, 2007 2:28 pm

@dmostert2

I've had very bad luck using the self registration option. This also happens with other installers I have tried so I believe it has something to do with the specific OCX/DLL and it's use with the Windows Installer - not Installaware. I have since given up on using it all together and am using the Import Option with solid results.

...that was one of the reasons I migrated from Wise to Installaware, because with Wise there is no easy work around to this problem.
Just wish I could nail down the exact cause, but the problem is more predominent on Vista and seems to be related to COM objects that contain no UI elements, at least in my case that has been the common factors.


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 169 guests