cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jazaman
Level 3

Error 1904: registering dll, in win7/win2k8 64 bit

When we moved to Win7/Win2k8 from win xp we started seeing a problem where the dlls were not registered properly and we were missing typelib information.

To workaround the issue we make a number of dll self registering. It works for all of them except for one that uses mfc. Towards the end of the installation under ISSelfRegisterFinalize we receive this error message "Error 1904.Module failed to register. HRESULT -2147220473"

After searching with the error code it turns out to be a generic registration failure. A bit googling reveals a lot of other application sees this and the workaround is to run regsvr32 manually but why it happens is not explained properly anywhere.

If we manually run regsvr32 to register, it works and typelib information appears correctly in the registry but this inconvenient for our customer. It only fails when InstallShield tries to do it automatically.

In the log file I also noticed an error message "Error extracting ISBEW64.exe from ISRegSvr.dll" and was wondering what causes this and if it has something do with problem. Any information is appreciated.
Labels (1)
0 Kudos
(6) Replies
hidenori
Level 17

Are you having the problem with a 64-bit executable? If so, make sure that you set the 64-bit Component setting to True for the component that installs the file in question.
0 Kudos
rguggisberg
Level 13

Jazaman,
I had a similar problem when I moved to Win 7 to do my IS Builds. Had to turn on UAC (at least 1 level up from min) on my IS Build box to get TypeLibs to work.
See this post.
http://community.flexerasoftware.com/showthread.php?t=192471&highlight=typelib
0 Kudos
jazaman
Level 3

hidenori wrote:
Are you having the problem with a 64-bit executable? If so, make sure that you set the 64-bit Component setting to True for the component that installs the file in question.


This is not a 64 bit component. This is a 32 bit dll I am trying register automatically.


I followed the example form 'rguggisberg' and enabled the UAC. Now when I am trying to build I am receiving the following error:

Extracting COM data from 8 component(s)
ISDEV : fatal error -6017: Internal build error

Any clues anyone?
0 Kudos
jazaman
Level 3

rguggisberg wrote:
Jazaman,
I had a similar problem when I moved to Win 7 to do my IS Builds. Had to turn on UAC (at least 1 level up from min) on my IS Build box to get TypeLibs to work.
See this post.
http://community.flexerasoftware.com/showthread.php?t=192471&highlight=typelib


Changed the UAC level and now the packaging is failing with "ISDEV : fatal error -6017: Internal build error".

Any clue is appreciated.
0 Kudos
jazaman
Level 3

rguggisberg wrote:
Jazaman,
I had a similar problem when I moved to Win 7 to do my IS Builds. Had to turn on UAC (at least 1 level up from min) on my IS Build box to get TypeLibs to work.
See this post.
http://community.flexerasoftware.com/showthread.php?t=192471&highlight=typelib


Changed UAC level as suggested but now I cannot package at all. It is giving me the following error message:

Extracting COM data from 8 component(s)
ISDEV : fatal error -6017: Internal build error

Any information is appreciated.
0 Kudos
jazaman
Level 3

rguggisberg wrote:
Jazaman,
I had a similar problem when I moved to Win 7 to do my IS Builds. Had to turn on UAC (at least 1 level up from min) on my IS Build box to get TypeLibs to work.
See this post.
http://community.flexerasoftware.com/showthread.php?t=192471&highlight=typelib


I followed your suggestion but I could not package anymore. Whenever I try to start packaging it is giving me the following error:

"Extracting COM data from 8 component(s)
ISDEV : fatal error -6017: Internal build error"
0 Kudos